@Test public void testEqual () { assertEquals ("true", mEmptyString.equal (new StringValue ("")).toString ()); assertEquals ("true", mShortString.equal (new StringValue ("a")).toString ()); assertEquals ("false", mShortString.equal (mLongString).toString ()); }
@Override Value equal (Value v) { return new BooleanValue (mText.equals (v.toStringValue ().mText)); }
StringValue extends Value { @Override Value equal (Value v) { return new BooleanValue (mText.equals (v.toStringValue ().mText)); } }
StringValue extends Value { @Override Value equal (Value v) { return new BooleanValue (mText.equals (v.toStringValue ().mText)); } StringValue(String text); }
StringValue extends Value { @Override Value equal (Value v) { return new BooleanValue (mText.equals (v.toStringValue ().mText)); } StringValue(String text); @Override String toString(); }
StringValue extends Value { @Override Value equal (Value v) { return new BooleanValue (mText.equals (v.toStringValue ().mText)); } StringValue(String text); @Override String toString();  }