Package dafny
Class DafnySet<T>
java.lang.Object
dafny.DafnySet<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TypeDescriptor<DafnySet<? extends T>>_typeDescriptor(TypeDescriptor<T> elementType) booleanbooleanintbooleanbooleancontainsAll(DafnySet other) static <T> DafnySet<T>difference(DafnySet<? extends T> th, DafnySet<? extends T> other) <U> booleanElements()static <T> DafnySet<T>empty()booleaninthashCode()static <T> DafnySet<T>intersection(DafnySet<? extends T> th, DafnySet<? extends T> other) booleanisEmpty()booleanisProperSubsetOf(DafnySet other) booleanisSubsetOf(DafnySet other) static <T> DafnySet<T>of(T... elements) booleanbooleanintsize()toString()static <T> DafnySet<T>
-
Constructor Details
-
DafnySet
public DafnySet() -
DafnySet
-
DafnySet
-
DafnySet
-
DafnySet
-
-
Method Details
-
of
-
empty
-
_typeDescriptor
public static <T> TypeDescriptor<DafnySet<? extends T>> _typeDescriptor(TypeDescriptor<T> elementType) -
isSubsetOf
-
isProperSubsetOf
-
contains
-
disjoint
-
union
-
difference
-
intersection
-
containsAll
-
size
public int size() -
cardinalityInt
public int cardinalityInt() -
isEmpty
public boolean isEmpty() -
add
-
remove
-
removeAll
-
addAll
-
AllSubsets
-
equals
-
hashCode
public int hashCode() -
toString
-
asDafnyMultiset
-
Elements
-