| Package | Description |
|---|---|
| craterdog.collections | |
| craterdog.collections.abstractions |
| Modifier and Type | Class and Description |
|---|---|
class |
Bag<E>
This collection class implements an ordered collection that allows duplicate elements.
|
class |
Dictionary<V>
This collection class is a convenience class that implements a
Map whose keys
are always of type String. |
class |
List<E>
This collection class implements a sortable list which performs very well for both inserts and
indexed lookups of its values.
|
class |
Map<K,V>
This collection class implements a sortable collection containing key-value associations.
|
class |
Queue<E>
This collection class implements a queue (FIFO) data structure.
|
class |
Set<E>
This collection class implements an ordered collection that does not allow duplicate elements.
|
class |
Stack<E>
This collection class implements a stack (LIFO) data structure.
|
| Constructor and Description |
|---|
Dictionary(Collection<java.lang.String> keys,
Collection<V> values)
This constructor creates a new dictionary using the specified keys and values.
|
Dictionary(Collection<java.lang.String> keys,
Collection<V> values)
This constructor creates a new dictionary using the specified keys and values.
|
List(Collection<? extends E> elements)
This constructor creates a new list using the elements provided in a collection.
|
Map(Collection<K> keys,
Collection<V> values)
This constructor creates a new map using the specified keys and values.
|
Map(Collection<K> keys,
Collection<V> values)
This constructor creates a new map using the specified keys and values.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ClosedCollection<E>
This abstract class implements a collection that does not allow its internal structure to be
directly manipulated.
|
class |
OpenCollection<E>
This abstract class implements a collection that allows its internal structure to be
directly manipulated.
|
class |
OrderedCollection<E>
This abstract class defines the invariant methods that all ordered collections must inherit.
|
class |
SortableCollection<E>
This abstract class defines the invariant methods that all sortable collections must inherit.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<E> |
ClosedCollection.getElementsInRange(int firstIndex,
int lastIndex) |
| Modifier and Type | Method and Description |
|---|---|
int |
Collection.compareTo(Collection<E> that) |
Copyright © 2015 Crater Dog Technologies(TM). All rights reserved.