|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
Entry with the given id from the
Group with which it was previously a member (if any), and adds
it into this iterator's Group immediately after the
position pointed to by this iterator.
Entry objects from this Group's
Domain to this Group's list (simultaneously
removing them from the Groups with which they were
previously a member).
Entry with the given id from the
Group's associated Domain to the back of this
Group's list.
Entry objects from g to the back of
this Group's Entry list.
Entry with the given id from the
Group with which it was previously a member (if any), and adds
it into this iterator's Group immediately before the
position pointed to by this iterator.
addEntry(id, null).
setMember(id, member) but will resize
this Domain as neccessary to accomodate the given
id.
Entry with the given id from the
Group's associated Domain to the front of this
Group's list.
Entry objects from Group
g to the front of this Group's list.
GroupIterator pointing to the position after the
last Entry in this Group's list.
GroupIterator pointing to the last Entry
of this Group's list.
GroupIterator pointing to the position before the
first Entry in this Group's list.
high() - low().
Domain.size(), then
compact reallocates internal storage reducing capacity to match the
current size of the Domain.
true if this Group contains the
Entry with the given id and false
otherwise.
Entry<M> objects having
sequentially numbered IDs which may be partitioned across an arbitrary
number of associated Groups.Domain.
Domain with size Entry objects having IDs ranging from 0 to
size-1.
Domain with size
Entry objects having IDs ranging from min to
min+size-1.
Domain that is a copy of d.
GroupIterator pointing to the Entry from
this list with the given id, or pointing to the Group.afterBack() position if this Group does not contain the
Entry with the given id.
GroupIterator pointing to the first
Entry of this Group's list.
Group associated with this iterator.
Domain associated with this Group (or
null if this Group has no
Domain association).
Entry object with the given id.
Entry object pointed to by this iterator.
Group to which the Entry with given
id belongs or null if that member belongs to
no Group.
id.
Group to which the
Entry with the given id belongs.
Group with no Domain
association and a null value.
Group associated with Domain
d and sets the Group's value to
null.
Group associated with Domain
d and sets the Group's value to
v.
Group that is a copy of g with the exception that
its associated with Domain d.
Entry objects of a
Group.Domain without memory reallocation.
true if this iterator is pointing one logical
position after the last Entry in the list, and
false if it is pointing to any list Entry.
true if this iterator points to the last Entry of a non-empty list, or to the beforeFront position of an empty
list; and false otherwise.
true if this iterator points to the first
Entry of a non-empty list, or to the afterBack position
of an empty list; and false otherwise.
true if this iterator is pointing one logical
position before the first Entry in the list, and
false if it is pointing to any list Entry.
Domain without memory reallocation.
Domain.
PartitionException with
null as its detail message.
PartitionException with the
specified detail message.
Entry object at the back of the Group
list while leaving the list unmodified.
Entry object at the front of the
Group list while leaving the list unmodified.
Entry with the given id from this
Group's list and returns it.
Entry objects from this
Group's list.
Entry pointed to by this iterator
from its Group's list, and updates this iterator to point to
the previous Entry in the list.
Entry pointed to by this iterator
from its Group's list, and updates this iterator to point to
the next Entry in the list.
Entry at the back of this Group's list and
returns it.
Entry at the front of this Group's
list and returns it.
reserve(newHigh, low()).
Domain.high() < newHigh or Domain.low()
> newLow, then the internal array is reallocated so
that high is increased to at least newHigh
and low is reduced to at most newLow.
resize(newSize, min())
Domain to contain newSize
Entry objects with IDs ranging from newMin to
newMin+newSize-1.
Group with d.
Entry in this Domain with the given
ID and sets its member field to m.
v as this Group's value.
Entry objects in this
Domain
- size() -
Method in class org.mattbusche.util.partition.Group
- Returns the number of
Entry objects in this
Group's list.
|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||