@Test public void toStringContainsTTName() { final String expected = "Integer"; final String toString = Samples.Integer.of(1).toString(); Assert.assertTrue(toString.contains(expected)); }
@Override public String toString() { return String.format("%s#%s", this.getClass().getSimpleName(), value); }
IntTinyType { @Override public String toString() { return String.format("%s#%s", this.getClass().getSimpleName(), value); } }
IntTinyType { @Override public String toString() { return String.format("%s#%s", this.getClass().getSimpleName(), value); } IntTinyType(int value); }
IntTinyType { @Override public String toString() { return String.format("%s#%s", this.getClass().getSimpleName(), value); } IntTinyType(int value); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
IntTinyType { @Override public String toString() { return String.format("%s#%s", this.getClass().getSimpleName(), value); } IntTinyType(int value); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); final int value; }