checkpoint
authoradam <adam@megacz.com>
Sun, 15 Jan 2006 21:40:07 +0000 (16:40 -0500)
committeradam <adam@megacz.com>
Sun, 15 Jan 2006 21:40:07 +0000 (16:40 -0500)
darcs-hash:20060115214007-5007d-a40c10b980734ecddacac16628692faac4a780c4.gz

src/edu/berkeley/sbp/Sequence.java

index f21bb80..4caf800 100644 (file)
@@ -63,7 +63,7 @@ public abstract class Sequence extends Element implements Iterable<Element> {
 
     public Iterator<Element> iterator()    { return new ArrayIterator<Element>(elements); }
     protected Sequence(Element[] elements) { this(elements, null, null); }
-    protected Sequence(Element[] elements, HashSet<Sequence> and, HashSet<Sequence> not) {
+    private Sequence(Element[] elements, HashSet<Sequence> and, HashSet<Sequence> not) {
         if (and!=null) for(Sequence s : and) { needs.add(s); s.needed.add(this); }
         if (not!=null) for(Sequence s : not) { hates.add(s); s.hated.add(this); }
         this.elements = elements;