|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PositionalCollectionLocator | |
---|---|
goldman.collection.positional | A positional collection is a manually positioned collection in which elements are accessed via their position in a line (with 0 being the position of the first element in the line) or via their location relative to other elements in the line. |
goldman.collection.priority | A priority queue is an untagged algorithmically positioned collection of comparable elements in which there can be equivalent elements. |
Uses of PositionalCollectionLocator in goldman.collection.positional |
---|
Classes in goldman.collection.positional that implement PositionalCollectionLocator | |
---|---|
class |
Array.Marker
|
protected class |
SinglyLinkedList.Tracker
|
protected class |
TrackedArray.Tracker
|
Methods in goldman.collection.positional that return PositionalCollectionLocator | |
---|---|
PositionalCollectionLocator<E> |
TrackedArray.Tracker.addAfter(E e)
Adds to the collection after the tracker location If the tracker is between positions p-1 , and p then
the new element is inserted at position p . |
PositionalCollectionLocator<E> |
SinglyLinkedList.Tracker.addAfter(E value)
Adds the new element after the tracked element |
PositionalCollectionLocator<E> |
Array.Marker.addAfter(E value)
Adds value to the collection after the marker location |
PositionalCollectionLocator<E> |
TrackedArray.addImpl(int p,
Object element)
Inserts element at position p ,
incrementing the position for the elements that were at
positions p to size-1 |
protected PositionalCollectionLocator<E> |
DynamicCircularArray.addImpl(int p,
Object value)
|
protected PositionalCollectionLocator<E> |
DynamicArray.addImpl(int p,
Object value)
Inserts object value at position p
and increments the position number for the elements that were at
positions p , ..., size -1. |
PositionalCollectionLocator<E> |
TrackedArray.addTracked(E value)
Inserts value it at the end of the collection. |
PositionalCollectionLocator<E> |
TrackedArray.addTracked(int p,
E value)
Inserts the new element at position p
and increments the position number for the elements that were at
positions p , ..., size -1. |
PositionalCollectionLocator<E> |
TrackedArray.getLocator(E value)
|
PositionalCollectionLocator<E> |
SinglyLinkedList.getLocator(E element)
|
PositionalCollectionLocator<E> |
Array.getLocator(E value)
|
protected PositionalCollectionLocator<E> |
SinglyLinkedList.insertAfter(SinglyLinkedList.ListItem<E> ptr,
E value)
Inserts a list item holding the new element after the list item referenced by ptr |
PositionalCollectionLocator<E> |
TrackedArray.iterator()
|
PositionalCollectionLocator<E> |
SinglyLinkedList.iterator()
Creates a new marker that is at FORE. |
PositionalCollectionLocator<E> |
PositionalCollection.iterator()
Returns a positional collection locator that has been initialized to FORE. |
PositionalCollectionLocator<E> |
Buffer.iterator()
Creates a new locator that starts just before the first item in the buffer. |
PositionalCollectionLocator<E> |
Array.iterator()
Creates a new marker that starts at FORE. |
abstract PositionalCollectionLocator<E> |
AbstractPositionalCollection.iterator()
Creates a new positional collection locator that starts at FORE. |
PositionalCollectionLocator<E> |
TrackedArray.iteratorAt(int pos)
Returns a new tracker that is at the given position. |
PositionalCollectionLocator<E> |
SinglyLinkedList.iteratorAt(int pos)
Returns a new marker that is at the given position. |
PositionalCollectionLocator<E> |
Array.iteratorAt(int pos)
Returns a new marker that is at the given position. |
abstract PositionalCollectionLocator<E> |
AbstractPositionalCollection.iteratorAt(int pos)
Returns a positional collection locator that is at the given position. |
PositionalCollectionLocator<E> |
TrackedArray.iteratorAtEnd()
|
PositionalCollectionLocator<E> |
SinglyLinkedList.iteratorAtEnd()
Creates a new marker that is at AFT. |
PositionalCollectionLocator<E> |
PositionalCollection.iteratorAtEnd()
Returns a locator that has been initialized to AFT. |
PositionalCollectionLocator<E> |
Array.iteratorAtEnd()
Creates a new marker that starts at AFT. |
abstract PositionalCollectionLocator<E> |
AbstractPositionalCollection.iteratorAtEnd()
Creates a new positional collection locator that starts at AFT. |
Uses of PositionalCollectionLocator in goldman.collection.priority |
---|
Constructors in goldman.collection.priority with parameters of type PositionalCollectionLocator | |
---|---|
BinaryHeap.BinaryHeapLocator(PositionalCollectionLocator<E> loc)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |