| Package | Description |
|---|---|
| org.magicwerk.brownies.collections |
Brownies Collections complements the Java Collections Framework.
|
| org.magicwerk.brownies.collections.primitive |
This packages contains implementations of GapList and BigList for primitive data types.
|
| Modifier and Type | Method and Description |
|---|---|
GapList<E> |
GapList.copy()
Returns a shallow copy of this GapList instance.
|
static <E> GapList<E> |
GapList.create()
Create new list.
|
static <E> GapList<E> |
GapList.create(java.util.Collection<? extends E> coll)
Create new list with specified elements.
|
static <E> GapList<E> |
GapList.create(E... elems)
Create new list with specified elements.
|
static <EE> GapList<EE> |
GapList.EMPTY() |
GapList<E> |
KeyCollection.getAll(E elem) |
GapList<E> |
Key2Collection.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<K1> |
Key2List.getAllKeys1()
Returns list containing all keys in element order.
|
GapList<K1> |
Key2Collection.getAllKeys1()
Returns list containing all keys in element order.
|
GapList<K> |
Key1List.getAllKeys1()
Returns list containing all keys in element order.
|
GapList<K> |
Key1Collection.getAllKeys1()
Returns list containing all keys in element order.
|
GapList<K2> |
Key2List.getAllKeys2()
Returns list containing all keys in element order.
|
GapList<K2> |
Key2Collection.getAllKeys2()
Returns list containing all keys in element order.
|
<R> GapList<R> |
GapList.mappedList(IFunction<E,R> mapper) |
GapList<E> |
KeyCollection.removeAll(E elem) |
GapList<E> |
Key2Collection.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(IFunction<java.lang.Boolean,R> mapper) |
<R> GapList<R> |
ByteGapList.mappedList(IFunction<java.lang.Byte,R> mapper) |
<R> GapList<R> |
CharGapList.mappedList(IFunction<java.lang.Character,R> mapper) |
<R> GapList<R> |
DoubleGapList.mappedList(IFunction<java.lang.Double,R> mapper) |
<R> GapList<R> |
FloatGapList.mappedList(IFunction<java.lang.Float,R> mapper) |
<R> GapList<R> |
IntGapList.mappedList(IFunction<java.lang.Integer,R> mapper) |
<R> GapList<R> |
LongGapList.mappedList(IFunction<java.lang.Long,R> mapper) |
<R> GapList<R> |
ShortGapList.mappedList(IFunction<java.lang.Short,R> mapper) |