/** implementation of <tt>Topology</tt> for any class for which there is a mapping to the <tt>int</tt>s */
public class IntegerTopology<V extends IntegerTopology.IntegerMappable> implements Topology<V> {
private final Range.Set rs;
-
- public Range.Set getRanges() { return rs; /*FIXME: copy?*/ }
+
+ public Range.Set getRanges() { return new Range.Set(rs); }
public IntegerTopology() { this(new Range.Set()); }
public IntegerTopology(V v) { this(v.toInt()); }