Code example for Collection

Methods: equals

0
	} 
	 
	public boolean equals( Object other ) {
		if ( other != null && getClass().equals( other.getClass() ) ) {
			Rule rule = ( Rule ) other;
			return getHead().equals( rule.getHead() ) && getBody().equals( rule.getBody() ) ; 
				 
		} 
		return false; 
	} 
 
	public Collection<? extends RuleAtom> getBody() {
		return body;
	} 
 
	public Collection<? extends RuleAtom> getHead() {
		return head;
	} 
	 
	public ATermAppl getName() {