public boolean equals(Object obj) { if (!(obj instanceof DistributedPOJOState)) return false; DistributedPOJOState pojo = (DistributedPOJOState)obj; return guid.equals(pojo.guid); }
/** * Returns wether we are local to the originating container or not. * * @return true when we have the same GUID */ public boolean isLocal() { return invokerID.equals(Invoker.ID); }
private boolean isLocal() { return key.getGuid().equals(GUID); }
if(!guid.equals(other.guid))