Print

Print


Commit in GeomConverter/src/org/lcsim/detector/identifier on MAIN
IExpandedIdentifier.java+7-11.11 -> 1.12
added equals() to the interface: it absence was causing test failures.

GeomConverter/src/org/lcsim/detector/identifier
IExpandedIdentifier.java 1.11 -> 1.12
diff -u -r1.11 -r1.12
--- IExpandedIdentifier.java	20 Nov 2007 20:47:00 -0000	1.11
+++ IExpandedIdentifier.java	22 Nov 2007 20:45:11 -0000	1.12
@@ -10,7 +10,7 @@
  * see which indices correspond to which field labels. 
  * 
  * @author  jeremym
- * @version $Id: IExpandedIdentifier.java,v 1.11 2007/11/20 20:47:00 jeremy Exp $
+ * @version $Id: IExpandedIdentifier.java,v 1.12 2007/11/22 20:45:11 tknelson Exp $
  */
 
 public interface IExpandedIdentifier
@@ -67,6 +67,12 @@
     public boolean isValid();
         
     /**
+     * Compares identifiers on all fields.
+     * Returns true if all fields match.
+     */
+    public boolean equals(IExpandedIdentifier id);
+    
+    /**
      * Compares identifiers on prefix fields.
      * The smaller of the two maximum indices is
      * used for the field range.
CVSspam 0.2.8