예제 #1
0
파일: RuleKey.java 프로젝트: nwap/qedeq
 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());
 }
예제 #2
0
 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;
 }
예제 #3
0
 public void testGetReferences() {
   assertTrue(EqualsUtility.equals(new String[] {}, universal0.getReferences()));
   assertTrue(EqualsUtility.equals(new String[] {"first"}, universal1.getReferences()));
 }
예제 #4
0
 public boolean isNodeLocalReference() {
   return EqualsUtility.equals(nodeGoal, nodeCurrent);
 }