public boolean equals(final Object obj) { if (!(obj instanceof RuleKey)) { return false; } final RuleKey other = (RuleKey) obj; return EqualsUtility.equals(getName(), other.getName()) && EqualsUtility.equals(getVersion(), other.getVersion()); }
public boolean equals(final Object obj) { if (!(obj instanceof ImportListVo)) { return false; } final ImportListVo otherList = (ImportListVo) obj; if (size() != otherList.size()) { return false; } for (int i = 0; i < size(); i++) { if (!EqualsUtility.equals(get(i), otherList.get(i))) { return false; } } return true; }
public void testGetReferences() { assertTrue(EqualsUtility.equals(new String[] {}, universal0.getReferences())); assertTrue(EqualsUtility.equals(new String[] {"first"}, universal1.getReferences())); }
public boolean isNodeLocalReference() { return EqualsUtility.equals(nodeGoal, nodeCurrent); }