add BitVector.getImmutable()
authoradam <adam@megacz.com>
Mon, 3 Nov 2008 09:27:43 +0000 (10:27 +0100)
committeradam <adam@megacz.com>
Mon, 3 Nov 2008 09:27:43 +0000 (10:27 +0100)
src/edu/berkeley/fleet/api/BitVector.java

index df4eb71..b43ec72 100644 (file)
@@ -69,6 +69,11 @@ public class BitVector {
         immutable = true;
     }
 
+    /** indicates if this BitVector has been marked as immutable */
+    public boolean getImmutable() {
+        return immutable;
+    }
+
     public int hashCode() {
         int ret = 0;
         for(int i=0; i<length(); i++)