コード例 #1
0
 public CPListElementAttribute copy() {
   CPListElementAttribute result = new CPListElementAttribute(fBuiltIn);
   result.fParent = fParent;
   result.fKey = fKey;
   result.fValue = fValue;
   result.fStatus = fStatus;
   return result;
 }
コード例 #2
0
 public boolean equals(Object obj) {
   if (!(obj instanceof CPListElementAttribute)) return false;
   CPListElementAttribute attrib = (CPListElementAttribute) obj;
   return attrib.fKey == this.fKey && attrib.getParent().getPath().equals(fParent.getPath());
 }