@Test public void testFormatToWhenStringContainsPercent() { final StringSymbol s = syms.createString("%y"); assertEquals("%y", s.toString()); assertEquals("|%y|", String.format("%s", s)); assertEquals("%y", String.format("%#s", s)); }
@Override public String toString() { return getValue(); }
StringSymbolImpl extends SymbolImpl implements StringSymbol { @Override public String toString() { return getValue(); } }
StringSymbolImpl extends SymbolImpl implements StringSymbol { @Override public String toString() { return getValue(); } StringSymbolImpl(SymbolFactory factory, int hash_id, String value); }
StringSymbolImpl extends SymbolImpl implements StringSymbol { @Override public String toString() { return getValue(); } StringSymbolImpl(SymbolFactory factory, int hash_id, String value); String getValue(); @Override StringSymbolImpl asString(); @Override boolean isSameTypeAs(SymbolImpl other); @Override char getFirstLetter(); @Override boolean numericLess(SymbolImpl other); @Override boolean numericLessOrEqual(SymbolImpl other); @Override boolean numericGreater(SymbolImpl other); @Override boolean numericGreaterOrEqual(SymbolImpl other); @Override String toString(); @Override void formatTo(Formatter formatter, int flags, int width, int precision); }
StringSymbolImpl extends SymbolImpl implements StringSymbol { @Override public String toString() { return getValue(); } StringSymbolImpl(SymbolFactory factory, int hash_id, String value); String getValue(); @Override StringSymbolImpl asString(); @Override boolean isSameTypeAs(SymbolImpl other); @Override char getFirstLetter(); @Override boolean numericLess(SymbolImpl other); @Override boolean numericLessOrEqual(SymbolImpl other); @Override boolean numericGreater(SymbolImpl other); @Override boolean numericGreaterOrEqual(SymbolImpl other); @Override String toString(); @Override void formatTo(Formatter formatter, int flags, int width, int precision);  }