public void TransferSet(MutableSet <T> s) { this.setImpl = s.setImpl; s.setImpl = new HashSet <T>(); }
public static void EmptySet(out MutableSet <T> s) { s = new MutableSet <T>(); }
public void AddSet(MutableSet <T> s) { this.setImpl.UnionWith(s.setImpl); }
public static Dafny.Set <T> SetOf(MutableSet <T> s) { return(Dafny.Set <T> .FromCollection(s.setImpl)); }