@Test public void testSimmetryMatch() { Format f1 = new Format(new EncodingName("name1")); Format f2 = new Format(new EncodingName("Name1")); assertTrue("Formats must match", f2.matches(f1)); }
public boolean matches(Format fmt) { return this.name.equals(fmt.name); }
Format implements Cloneable { public boolean matches(Format fmt) { return this.name.equals(fmt.name); } }
Format implements Cloneable { public boolean matches(Format fmt) { return this.name.equals(fmt.name); } Format(EncodingName name); }
Format implements Cloneable { public boolean matches(Format fmt) { return this.name.equals(fmt.name); } Format(EncodingName name); EncodingName getName(); void setName(EncodingName name); Text getOptions(); void setOptions(Text options); @Override String toString(); boolean matches(Format fmt); boolean shouldSendPTime(); void setSendPTime(Boolean newValue); @Override Format clone(); }
Format implements Cloneable { public boolean matches(Format fmt) { return this.name.equals(fmt.name); } Format(EncodingName name); EncodingName getName(); void setName(EncodingName name); Text getOptions(); void setOptions(Text options); @Override String toString(); boolean matches(Format fmt); boolean shouldSendPTime(); void setSendPTime(Boolean newValue); @Override Format clone();  }