Class EmptyIntSet
java.lang.Object
com.ibm.wala.util.intset.EmptyIntSet
- All Implemented Interfaces:
IntSet, Serializable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(int i) booleancontainsAny(IntSet set) voidforeach(IntSetAction action) Invoke an action on each element of the SetvoidforeachExcluding(IntSet X, IntSetAction action) Invoke an action on each element of the Set, excluding elements of Set Xintersection(IntSet that) This implementation must not despoil the original value of "this"booleanisEmpty()booleanintmax()booleanintsize()This implementation must not despoil the original value of "this"
-
Field Details
-
instance
-
-
Constructor Details
-
EmptyIntSet
public EmptyIntSet()
-
-
Method Details
-
contains
-
containsAny
- Specified by:
containsAnyin interfaceIntSet- Returns:
- true iff this set contains integer i
-
intersection
Description copied from interface:IntSetThis implementation must not despoil the original value of "this"- Specified by:
intersectionin interfaceIntSet- Returns:
- a new IntSet which is the intersection of this and that
-
union
-
isEmpty
-
size
-
intIterator
- Specified by:
intIteratorin interfaceIntSet- Returns:
- a perhaps more efficient iterator
-
foreach
Description copied from interface:IntSetInvoke an action on each element of the Set -
foreachExcluding
Description copied from interface:IntSetInvoke an action on each element of the Set, excluding elements of Set X- Specified by:
foreachExcludingin interfaceIntSet
-
max
-
sameValue
-
isSubset
-