public boolean equals(Membership m) { if (!(m instanceof Membership) || ((Membership)m).components.length != components.length) throw new IllegalArgumentException ("argument must be a VectorComponent of size " + components.length); for (int i = 0; i < components.length; i++) if (components[i] != ((Membership)m).components[i]) return false; return true; }
public boolean equals(Membership m);
	public boolean equals(Membership m) {		if (!(m instanceof Membership) || 				((Membership)m).components.length != components.length)			throw new IllegalArgumentException				("argument must be a VectorComponent of size " + components.length);		for (int i = 0; i < components.length; i++)			if (components[i] != ((Membership)m).components[i])				return false;		return true;	}