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