@Test public void toString_rowNumberIsReturned() { int i = 1; ReadOnlyRowId rowId = new ReadOnlyRowId(i); Assert.assertEquals("Unexpected toString value", String.valueOf(i), rowId.toString()); }
@Override public String toString() { return String.valueOf(getRowNum()); }
ReadOnlyRowId extends RowId { @Override public String toString() { return String.valueOf(getRowNum()); } }
ReadOnlyRowId extends RowId { @Override public String toString() { return String.valueOf(getRowNum()); } ReadOnlyRowId(int rowNum); }
ReadOnlyRowId extends RowId { @Override public String toString() { return String.valueOf(getRowNum()); } ReadOnlyRowId(int rowNum); @Override int hashCode(); @Override boolean equals(Object obj); int getRowNum(); @Override String toString(); }
ReadOnlyRowId extends RowId { @Override public String toString() { return String.valueOf(getRowNum()); } ReadOnlyRowId(int rowNum); @Override int hashCode(); @Override boolean equals(Object obj); int getRowNum(); @Override String toString();  }