|
|||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
MathSet
interface to minimize the effort required to implement this
interface.Multiset
interface to minimize the effort required to implement this interface.SetOfSets
interface to minimize the effort required to implement this interface.quantity
of times to this
multiset.
quantity
of times to this
multiset.
BitMathIntSet
to
this mathematical set.
BitSet
. BitSet
's initial size is large enough to explicitly
store integers in the range 0
through 63
.
BitSet
's initial size is large enough to explicitly
store ints in the range 0
through nBits - 1
.
int
element of this set
as an Integer
object.BitMathIntSet
instance.
HashMathSet
instance: the
elements themselves are not cloned.
HashMultiset
instance: the
elements themselves are not cloned.
HashSetOfSets
instance: the
elements themselves are not cloned.
true
if this set contains the specified integer.
true
if this set contains the specified element.
true
if this set contains the specified element.
true
if this set of sets contains the specified
element (Set).
true
if this set contains the specified element.
true
if this set of sets contains a set in which the
specified element is present.
true
if this set of sets contains a set in which the
specified element is present.
true
if this set of sets contains a set in which the
specified element is present.
HashSetOfSets
instance.
SetOfSets
instance.
MathSet
interface, backed by a hash
table (specifically, a HashSet
instance). HashSet
instance has default initial capacity (16) and
load factor (0.75).
HashSet
instance has the specified initial capacity and
default load factor, which is 0.75.
HashSet
instance has the specified initial capacity and
the specified load factor.
HashSet.iterator()
while accounting for the additional storedHashCode
attribute.Multiset
interface, backed by a hash
map (specifically, a HashMap
instance).HashMap
instance has default initial capacity (16) and load factor (0.75).
HashMap
instance has specified initial capacity and default load factor
(0.75).
HashMap
instance has specified initial capacity and load factor.
Multiset
(equal elements get 'counted' instead of
each being stored separately), iterates over individual
Multiset
elements.SetOfSets
interface, backed by a
hash table (specifically, a HashSet
instance). HashSet
instance as well as the HashMap flatVersion
have default
initial capacity (16) and load factor (0.75).
HashSet
instance has the specified initial capacity and default load factor,
which is 0.75.
HashSet
instance has the specified initial capacity and the specified load
factor.
HashSet.iterator()
while accounting for the additional storedHashCode attribute.true
if this mathematical set has no common
elements with the specified set.
true
if this multiset has no common element with the
specified set.
true
if this mathematical set has no common
elements with the specified set.
true
if the specified set has no common elements
with this mathematical set.
true
if the specified collection has no common
elements with this multiset.
true
if this set contains no integers.
true
if this set contains no elements.
true
if this multiset contains no elements.
true
if this set of sets contains no elements.
true
if this mathematical set is a subset of the
specified set.
true
if this multiset is a subset of the
specified collection.
true
if this mathematical set is a subset of the
specified set.
true
if this mathematical set is a subset of the
specified set.
true
if this mathematical set is a subset of the
specified set.
true
if this multiset is a subset of the
specified collection.
true
if this mathematical set is a superset of the
specified set.
true
if this multiset is a superset of the
specified collection.
true
if this mathematical set is a superset of the
specified set.
true
if this multiset is a superset of the
specified collection.
true
if this mathematical set is a superset of the
specified set.
true
if this multiset is a superset of the
specified collection.
java.util.Set
for representing mathematical
sets.BitSet
where the elements of this
set are stored.
HashMap
where the elements of this
set are stored.
HashSet where the elements of this
set are stored.
myHashSet -
Variable in class mathCollection.HashSetOfSets
The backing instance of HashSet where the elements of this
set are stored.
myIterator -
Variable in class mathCollection.HashMathSet.HashMathSetIterator
myIterator -
Variable in class mathCollection.HashSetOfSets.HashSetOfSetsIterator
myKeySetIterator -
Variable in class mathCollection.HashMultiset.HashMultisetIterator
myMathSet -
Variable in class mathCollection.MathCollections.SynchronizedMathSet
myMultiset -
Variable in class mathCollection.MathCollections.SynchronizedMultiset
myMutex -
Variable in class mathCollection.MathCollections.SynchronizedMathSet
myMutex -
Variable in class mathCollection.MathCollections.SynchronizedMultiset
myMutex -
Variable in class mathCollection.MathCollections.SynchronizedSetOfSets
mySetOfSets -
Variable in class mathCollection.MathCollections.SynchronizedSetOfSets
N
- next() -
Method in class mathCollection.BitMathIntSet.BitMathIntSetIterator
-
- next() -
Method in class mathCollection.HashMathSet.HashMathSetIterator
-
- next() -
Method in class mathCollection.HashMultiset.HashMultisetIterator
-
- next() -
Method in class mathCollection.HashSetOfSets.HashSetOfSetsIterator
-
- nextInt -
Variable in class mathCollection.BitMathIntSet.BitMathIntSetIterator
-
O
- oldCurrentElement -
Variable in class mathCollection.HashMultiset.HashMultisetIterator
-
P
- powerSet() -
Method in class mathCollection.HashMathSet
- Returns the power set of this mathematical set.
- powerSet() -
Method in class mathCollection.MathCollections.SynchronizedMathSet
-
- powerSet() -
Method in interface mathCollection.MathSet
- Returns the power set of this mathematical set.
Q
- quantity -
Variable in class mathCollection.HashSetOfSets.Element
-
R
- recursiveFixedSizeSubsets(int, Object[], int, HashMathSet, HashSetOfSets) -
Method in class mathCollection.HashMathSet
- Internal subroutine for recursively determining all fixed size subsets
of a set.
- remove() -
Method in class mathCollection.BitMathIntSet.BitMathIntSetIterator
-
- remove(int) -
Method in class mathCollection.BitMathIntSet
- Removes the specified integer from this set if present.
- remove() -
Method in class mathCollection.HashMathSet.HashMathSetIterator
-
- remove(Object) -
Method in class mathCollection.HashMathSet
- Removes the specified element from this set if it is present.
- remove() -
Method in class mathCollection.HashMultiset.HashMultisetIterator
-
- remove(Object) -
Method in class mathCollection.HashMultiset
- Removes the specified element from this multiset if it is present.
- remove(Object, int) -
Method in class mathCollection.HashMultiset
- Removes the specified element
quantity
of times from this
multiset if possible.
- remove() -
Method in class mathCollection.HashSetOfSets.HashSetOfSetsIterator
-
- remove(Object) -
Method in class mathCollection.HashSetOfSets
- Removes the specified element (Set) from this set of sets if it is
present.
- remove(Object) -
Method in class mathCollection.MathCollections.SynchronizedMathSet
-
- remove(Object) -
Method in class mathCollection.MathCollections.SynchronizedMultiset
-
- remove(Object, int) -
Method in class mathCollection.MathCollections.SynchronizedMultiset
-
- remove(Object) -
Method in class mathCollection.MathCollections.SynchronizedSetOfSets
-
- remove(Object, int) -
Method in interface mathCollection.Multiset
- Removes the specified element
quantity
of times from this
multiset if possible.
- remove(Object) -
Method in interface mathCollection.SetOfSets
- Removes the specified element from this set if it is present.
- removeAll(BitMathIntSet) -
Method in class mathCollection.BitMathIntSet
- Removes from this mathematical set all of its integers that are
contained in the specified
BitMathIntSet
.
- removeAll(Collection) -
Method in class mathCollection.MathCollections.SynchronizedMathSet
-
- removeAll(Collection) -
Method in class mathCollection.MathCollections.SynchronizedMultiset
-
- removeAll(Collection) -
Method in class mathCollection.MathCollections.SynchronizedSetOfSets
-
- removeEnabled -
Variable in class mathCollection.BitMathIntSet.BitMathIntSetIterator
-
- removeEnabled -
Variable in class mathCollection.HashMultiset.HashMultisetIterator
-
- retainAll(BitMathIntSet) -
Method in class mathCollection.BitMathIntSet
- Retains only the integers in this mathematical set that are contained in
the specified
BitMathIntSet
.
- retainAll(Collection) -
Method in class mathCollection.MathCollections.SynchronizedMathSet
-
- retainAll(Collection) -
Method in class mathCollection.MathCollections.SynchronizedMultiset
-
- retainAll(Collection) -
Method in class mathCollection.MathCollections.SynchronizedSetOfSets
-
S
- SetOfSets - interface mathCollection.SetOfSets.
- An extension of java.util.Set for representing sets of sets.
- setQuantity(Object, int) -
Method in class mathCollection.HashMultiset
- Adjusts the number of times the specified element is present in this
multiset to be the specified value (zero if the value is negative).
- setQuantity(Object, int) -
Method in class mathCollection.MathCollections.SynchronizedMultiset
-
- setQuantity(Object, int) -
Method in interface mathCollection.Multiset
- Adjusts the number of times the specified element is present in this
multiset to be the specified value.
- setSize() -
Method in class mathCollection.HashMultiset
- Returns the size of a 'flattened' version of this multiset in which
every element of this multiset is present exactly once.
- setSize() -
Method in class mathCollection.MathCollections.SynchronizedMultiset
-
- setSize() -
Method in interface mathCollection.Multiset
- Returns the size of a 'flattened' version of this multiset in which
every element of this multiset is present exactly once.
- size() -
Method in class mathCollection.BitMathIntSet
- Returns the number of integers in this set (its cardinality).
- size() -
Method in class mathCollection.HashMathSet
- Returns the number of elements in this set (its cardinality).
- size() -
Method in class mathCollection.HashMultiset
- Returns the number of elements in this multiset (its cardinality).
- size() -
Method in class mathCollection.HashSetOfSets
- Returns the number of elements (contained sets) in this set of sets
(its cardinality).
- size() -
Method in class mathCollection.MathCollections.SynchronizedMathSet
-
- size() -
Method in class mathCollection.MathCollections.SynchronizedMultiset
-
- size() -
Method in class mathCollection.MathCollections.SynchronizedSetOfSets
-
- sortedArraySupersets(Set) -
Method in class mathCollection.HashSetOfSets
- Returns a new set containing the supersets of the specified set.
- storedHashCode -
Variable in class mathCollection.BitMathIntSet
- Acts as a cache for the hash code value of this set out of performance
considerations.
- storedHashCode -
Variable in class mathCollection.HashMathSet
- Acts as a cache for the hash code value of this set out of performance
considerations.
- storedHashCode -
Variable in class mathCollection.HashMultiset
- Acts as a cache for the hash code value of this set out of performance
considerations.
- storedHashCode -
Variable in class mathCollection.HashSetOfSets
- Acts as a cache for the hash code value of this set out of performance
considerations.
- storedMinimum -
Variable in class mathCollection.BitMathIntSet
- Acts as a cache for the smallest element of this set out of performance
considerations.
- storedSize -
Variable in class mathCollection.BitMathIntSet
- Acts as a cache for the cardinality value of this set out of performance
considerations.
- storedSize -
Variable in class mathCollection.HashMultiset
- Acts as a cache for the size value of this set out of performance
considerations.
- subsets(Set) -
Method in class mathCollection.HashSetOfSets
- Returns a new set containing the subsets of the specified set.
- subsets(Set) -
Method in class mathCollection.MathCollections.SynchronizedSetOfSets
-
- subsets(Set) -
Method in interface mathCollection.SetOfSets
- Returns a new set containing the subsets of the specified set.
- sum(Collection) -
Method in class mathCollection.HashMultiset
- Returns the sum with the specified collection.
- sum(Collection) -
Method in class mathCollection.MathCollections.SynchronizedMultiset
-
- sum(Collection) -
Method in interface mathCollection.Multiset
- Returns the sum with the specified collection.
- supersets(Set) -
Method in class mathCollection.HashSetOfSets
- Returns a new set containing the supersets of the specified set.
- supersets(Set) -
Method in class mathCollection.MathCollections.SynchronizedSetOfSets
-
- supersets(Set) -
Method in interface mathCollection.SetOfSets
- Returns a new set containing the supersets of the specified set.
- symmetricDifference(BitMathIntSet) -
Method in class mathCollection.BitMathIntSet
- Returns the symmetric difference between this mathematical set and the
specified set.
- symmetricDifference(Set) -
Method in class mathCollection.HashMathSet
- Returns the symmetric difference between this mathematical set and the
specified set.
- symmetricDifference(Collection) -
Method in class mathCollection.HashMultiset
- Returns the symmetric difference between this multiset and the
specified collection.
- symmetricDifference(Set) -
Method in class mathCollection.MathCollections.SynchronizedMathSet
-
- symmetricDifference(Collection) -
Method in class mathCollection.MathCollections.SynchronizedMultiset
-
- symmetricDifference(Set) -
Method in interface mathCollection.MathSet
- Returns the symmetric difference between this mathematical set and the
specified set.
- symmetricDifference(Collection) -
Method in interface mathCollection.Multiset
- Returns the symmetric difference between this multiset and the
specified collection.
- synchronizedMathSet(MathSet) -
Static method in class mathCollection.MathCollections
- Returns a synchronized (thread-safe) mathematical set backed by the
specified mathematical set.
- synchronizedMathSet(MathSet, Object) -
Static method in class mathCollection.MathCollections
- Same behavior as
synchronizedMathSet(MathSet)
, but the
mutex that is blocked by method calls can be specified.
- synchronizedMultiset(Multiset) -
Static method in class mathCollection.MathCollections
- Returns a synchronized (thread-safe) multiset backed by the
specified multiset.
- synchronizedMultiset(Multiset, Object) -
Static method in class mathCollection.MathCollections
- Same behavior as
synchronizedMultiset(Multiset)
, but the
mutex that is blocked by method calls can be specified.
- synchronizedSetOfSets(SetOfSets) -
Static method in class mathCollection.MathCollections
- Returns a synchronized (thread-safe) set of sets backed by the
specified set of sets.
- synchronizedSetOfSets(SetOfSets, Object) -
Static method in class mathCollection.MathCollections
- Same behavior as
synchronizedSetOfSets(SetOfSets)
, but
the mutex that is blocked by method calls can be specified.
T
- toArray() -
Method in class mathCollection.BitMathIntSet
- Returns an array with the elements of this set, sorted in ascending
order.
- toArray() -
Method in class mathCollection.MathCollections.SynchronizedMathSet
-
- toArray(Object[]) -
Method in class mathCollection.MathCollections.SynchronizedMathSet
-
- toArray() -
Method in class mathCollection.MathCollections.SynchronizedMultiset
-
- toArray(Object[]) -
Method in class mathCollection.MathCollections.SynchronizedMultiset
-
- toArray() -
Method in class mathCollection.MathCollections.SynchronizedSetOfSets
-
- toArray(Object[]) -
Method in class mathCollection.MathCollections.SynchronizedSetOfSets
-
- toMultiset() -
Method in class mathCollection.HashSetOfSets
- Returns the 'flattened' multiset version of this set of sets,
containing the same elements as in all sets of this set of sets.
- toMultiset() -
Method in class mathCollection.MathCollections.SynchronizedSetOfSets
-
- toMultiset() -
Method in interface mathCollection.SetOfSets
- Returns the 'flattened' multiset version of this set of sets,
containing the same elements as in all sets of this set of sets.
- toSet() -
Method in class mathCollection.HashMultiset
- Returns a new
Set
containing the 'flattened' version of
this multiset in which every element of this multiset is present exactly
once.
- toSet() -
Method in class mathCollection.HashSetOfSets
- Returns the 'flattened' version of this set of sets, in which every
element from the elementary sets is present once.
- toSet() -
Method in class mathCollection.MathCollections.SynchronizedMultiset
-
- toSet() -
Method in class mathCollection.MathCollections.SynchronizedSetOfSets
-
- toSet() -
Method in interface mathCollection.Multiset
- Returns a 'flattened' version of this multiset in which every element
of this multiset is present exactly once.
- toSet() -
Method in interface mathCollection.SetOfSets
- Returns the 'flattened' version of this set of sets, in which each
basic element of this set of sets is present exactly once.
- toString() -
Method in class mathCollection.AbstractMathSet
- Returns a string representation of this mathematical set.
- toString() -
Method in class mathCollection.AbstractMultiset
- Returns a string representation of this multiset.
- toString() -
Method in class mathCollection.AbstractSetOfSets
- Returns a string representation of this set of sets.
- toString() -
Method in class mathCollection.BitMathIntSet
- Returns a string representation of this mathematical set.
- toString() -
Method in class mathCollection.MathCollections.SynchronizedMathSet
-
- toString() -
Method in class mathCollection.MathCollections.SynchronizedMultiset
-
- toString() -
Method in class mathCollection.MathCollections.SynchronizedSetOfSets
-
U
- union(BitMathIntSet) -
Method in class mathCollection.BitMathIntSet
- Returns the union with the specified set.
- union(Set) -
Method in class mathCollection.HashMathSet
- Returns the union with the specified set.
- union(Collection) -
Method in class mathCollection.HashMultiset
- Returns the union with the specified collection.
- union(Set) -
Method in class mathCollection.MathCollections.SynchronizedMathSet
-
- union(Collection) -
Method in class mathCollection.MathCollections.SynchronizedMultiset
-
- union(Set) -
Method in interface mathCollection.MathSet
- Returns the union with the specified set.
- union(Collection) -
Method in interface mathCollection.Multiset
- Returns the union with the specified collection.
A B C D E F G H I M N O P Q R S T U
Package
Class
Tree
Deprecated
Index
Help
PREV
NEXT
FRAMES
NO FRAMES
All Classes