Methods Summary |
---|
public int | compareTo(java.lang.Object o)
return ( (CompositeElement) o ).foo.compareTo(foo);
|
public boolean | equals(java.lang.Object that)
CompositeElement ce = (CompositeElement) that;
return ce.bar.equals(bar) && ce.foo.equals(foo);
|
public java.lang.String | getBar()Returns the bar.
return bar;
|
public java.lang.String | getFoo()Returns the foo.
return foo;
|
public int | hashCode()
return foo.hashCode() + bar.hashCode();
|
public void | setBar(java.lang.String bar)Sets the bar.
this.bar = bar;
|
public void | setFoo(java.lang.String foo)Sets the foo.
this.foo = foo;
|