removed illegal use of double-star
[sbp.git] / src / edu / berkeley / sbp / Atom.java
index 1b9c254..037dfaa 100644 (file)
@@ -16,6 +16,8 @@ public abstract class Atom<T extends Token> extends Element implements Topology<
 
     void reachable(HashSet<Sequence.Position> h) { /* do-nothing */ }
 
+    public Topology toAtom() { return dup(); }
+
     /** equality is based on the underlying <tt>Topology</tt> */
     public int hashCode() { return rt.hashCode(); }