| Package | Description |
|---|---|
| org.magicwerk.brownies.collections |
This packages contains collections extending the Java Collections Framework.
|
| org.magicwerk.brownies.collections.primitive |
This packages contains implementations of GapList for primitive data types.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Key1List<E,K>
Key2List implements a key list with 1 key.
|
class |
Key2List<E,K1,K2>
Key2List implements a key list with 2 keys.
|
class |
KeyList<E>
KeyList implements a list.
|
class |
KeyListImpl<E>
A KeyList add key handling features to GapList.
|
| Modifier and Type | Method and Description |
|---|---|
GapList<E> |
GapList.copy() |
static <E> GapList<E> |
KeyListImpl.create()
Do not use.
|
static <E> GapList<E> |
GapList.create()
Create new list.
|
static <E> GapList<E> |
KeyListImpl.create(java.util.Collection<? extends E> coll)
Do not use.
|
static <E> GapList<E> |
GapList.create(java.util.Collection<? extends E> coll)
Create new list with specified elements.
|
static <E> GapList<E> |
KeyListImpl.create(E... elems)
Do not use.
|
static <E> GapList<E> |
GapList.create(E... elems)
Create new list with specified elements.
|
static <E> GapList<E> |
KeyListImpl.create(int capacity)
Do not use.
|
static <E> GapList<E> |
GapList.create(int capacity)
Create new list with specified capacity.
|
static <EE> GapList<EE> |
GapList.EMPTY() |
GapList<E> |
KeyListImpl.getAll(E elem) |
GapList<E> |
KeyList.getAll(E elem) |
GapList<E> |
KeyCollection.getAll(E elem) |
GapList<E> |
Key2List.getAll(E elem) |
GapList<E> |
Key2Collection.getAll(E elem) |
GapList<E> |
Key1List.getAll(E elem) |
GapList<E> |
Key1Collection.getAll(E elem) |
GapList<E> |
GapList.getAll(E elem) |
GapList<E> |
GapList.getAll(int index,
int len) |
GapList<E> |
KeyListImpl.getAllByKey(int keyIndex,
java.lang.Object key)
Returns a list with all elements with the specified key.
|
GapList<E> |
Key1List.getAllByKey1(K key)
Returns all elements with specified key.
|
GapList<E> |
Key1Collection.getAllByKey1(K key)
Returns all elements with specified key.
|
GapList<E> |
Key2List.getAllByKey1(K1 key)
Returns all elements with specified key.
|
GapList<E> |
Key2Collection.getAllByKey1(K1 key)
Returns all elements with specified key.
|
GapList<E> |
Key2List.getAllByKey2(K2 key)
Returns all elements with specified key.
|
GapList<E> |
Key2Collection.getAllByKey2(K2 key)
Returns all elements with specified key.
|
GapList<java.lang.Object> |
KeyCollectionImpl.getKeyValues(int keyIndex) |
<R> GapList<R> |
GapList.mappedList(Mapper<E,R> mapper) |
GapList<E> |
KeyListImpl.removeAll(E elem) |
GapList<E> |
KeyList.removeAll(E elem) |
GapList<E> |
KeyCollection.removeAll(E elem) |
GapList<E> |
Key2List.removeAll(E elem) |
GapList<E> |
Key2Collection.removeAll(E elem) |
GapList<E> |
Key1List.removeAll(E elem) |
GapList<E> |
Key1Collection.removeAll(E elem) |
GapList<E> |
Key1List.removeAllByKey1(K key)
Removes all elements with specified key.
|
GapList<E> |
Key1Collection.removeAllByKey1(K key)
Removes all elements with specified key.
|
GapList<E> |
Key2List.removeAllByKey1(K1 key)
Removes all elements with specified key.
|
GapList<E> |
Key2Collection.removeAllByKey1(K1 key)
Removes all elements with specified key.
|
GapList<E> |
Key2List.removeAllByKey2(K2 key)
Removes all elements with specified key.
|
GapList<E> |
Key2Collection.removeAllByKey2(K2 key)
Removes all elements with specified key.
|
GapList<E> |
KeyCollectionImpl.toList()
Returns all elements contained in this collection as list.
|
GapList<E> |
GapList.unmodifiableList() |
| Modifier and Type | Method and Description |
|---|---|
GapList<java.lang.Short> |
ShortObjGapList.getAll(int index,
int len) |
GapList<java.lang.Long> |
LongObjGapList.getAll(int index,
int len) |
GapList<java.lang.Integer> |
IntObjGapList.getAll(int index,
int len) |
GapList<java.lang.Float> |
FloatObjGapList.getAll(int index,
int len) |
GapList<java.lang.Double> |
DoubleObjGapList.getAll(int index,
int len) |
GapList<java.lang.Character> |
CharObjGapList.getAll(int index,
int len) |
GapList<java.lang.Byte> |
ByteObjGapList.getAll(int index,
int len) |
GapList<java.lang.Boolean> |
BooleanObjGapList.getAll(int index,
int len) |
<R> GapList<R> |
BooleanGapList.mappedList(Mapper<java.lang.Boolean,R> mapper) |
<R> GapList<R> |
ByteGapList.mappedList(Mapper<java.lang.Byte,R> mapper) |
<R> GapList<R> |
CharGapList.mappedList(Mapper<java.lang.Character,R> mapper) |
<R> GapList<R> |
DoubleGapList.mappedList(Mapper<java.lang.Double,R> mapper) |
<R> GapList<R> |
FloatGapList.mappedList(Mapper<java.lang.Float,R> mapper) |
<R> GapList<R> |
IntGapList.mappedList(Mapper<java.lang.Integer,R> mapper) |
<R> GapList<R> |
LongGapList.mappedList(Mapper<java.lang.Long,R> mapper) |
<R> GapList<R> |
ShortGapList.mappedList(Mapper<java.lang.Short,R> mapper) |