| 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 |
|---|---|
IList<E> |
IList.extractWhere(IPredicate<E> predicate)
Removes and returns all elements in the list which match the predicate.
|
void |
IList.filter(IPredicate<? super E> predicate)
Filter the list using the specified predicate.
|
IList<E> |
IList.getWhere(IPredicate<E> predicate)
Returns all elements in the list which match the predicate.
|
void |
IList.removeWhere(IPredicate<E> predicate)
Removes all elements in the list which match the predicate.
|
void |
IList.retainWhere(IPredicate<E> predicate)
Retains all elements in the list which match the predicate.
|
KeyList.Builder<E> |
KeyList.Builder.withConstraint(IPredicate<E> constraint) |
KeyCollection.Builder<E> |
KeyCollection.Builder.withConstraint(IPredicate<E> constraint) |
Key2List.Builder<E,K1,K2> |
Key2List.Builder.withConstraint(IPredicate<E> constraint) |
Key2Collection.Builder<E,K1,K2> |
Key2Collection.Builder.withConstraint(IPredicate<E> constraint) |
Key1List.Builder<E,K> |
Key1List.Builder.withConstraint(IPredicate<E> constraint) |
Key1Collection.Builder<E,K> |
Key1Collection.Builder.withConstraint(IPredicate<E> constraint) |
| Modifier and Type | Method and Description |
|---|---|
IShortList |
IShortList.extractWhere(IPredicate predicate)
Removes and returns all elements in the list which match the predicate.
|
ILongList |
ILongList.extractWhere(IPredicate predicate)
Removes and returns all elements in the list which match the predicate.
|
IIntList |
IIntList.extractWhere(IPredicate predicate)
Removes and returns all elements in the list which match the predicate.
|
IFloatList |
IFloatList.extractWhere(IPredicate predicate)
Removes and returns all elements in the list which match the predicate.
|
IDoubleList |
IDoubleList.extractWhere(IPredicate predicate)
Removes and returns all elements in the list which match the predicate.
|
ICharList |
ICharList.extractWhere(IPredicate predicate)
Removes and returns all elements in the list which match the predicate.
|
IByteList |
IByteList.extractWhere(IPredicate predicate)
Removes and returns all elements in the list which match the predicate.
|
IBooleanList |
IBooleanList.extractWhere(IPredicate predicate)
Removes and returns all elements in the list which match the predicate.
|
void |
IBooleanList.filter(IPredicate<java.lang.Boolean> predicate)
Filter the list using the specified predicate.
|
void |
IByteList.filter(IPredicate<java.lang.Byte> predicate)
Filter the list using the specified predicate.
|
void |
ICharList.filter(IPredicate<java.lang.Character> predicate)
Filter the list using the specified predicate.
|
void |
IDoubleList.filter(IPredicate<java.lang.Double> predicate)
Filter the list using the specified predicate.
|
void |
IFloatList.filter(IPredicate<java.lang.Float> predicate)
Filter the list using the specified predicate.
|
void |
IIntList.filter(IPredicate<java.lang.Integer> predicate)
Filter the list using the specified predicate.
|
void |
ILongList.filter(IPredicate<java.lang.Long> predicate)
Filter the list using the specified predicate.
|
void |
IShortList.filter(IPredicate<java.lang.Short> predicate)
Filter the list using the specified predicate.
|
IShortList |
IShortList.getWhere(IPredicate predicate)
Returns all elements in the list which match the predicate.
|
ILongList |
ILongList.getWhere(IPredicate predicate)
Returns all elements in the list which match the predicate.
|
IIntList |
IIntList.getWhere(IPredicate predicate)
Returns all elements in the list which match the predicate.
|
IFloatList |
IFloatList.getWhere(IPredicate predicate)
Returns all elements in the list which match the predicate.
|
IDoubleList |
IDoubleList.getWhere(IPredicate predicate)
Returns all elements in the list which match the predicate.
|
ICharList |
ICharList.getWhere(IPredicate predicate)
Returns all elements in the list which match the predicate.
|
IByteList |
IByteList.getWhere(IPredicate predicate)
Returns all elements in the list which match the predicate.
|
IBooleanList |
IBooleanList.getWhere(IPredicate predicate)
Returns all elements in the list which match the predicate.
|
void |
IShortList.removeWhere(IPredicate predicate)
Removes all elements in the list which match the predicate.
|
void |
ILongList.removeWhere(IPredicate predicate)
Removes all elements in the list which match the predicate.
|
void |
IIntList.removeWhere(IPredicate predicate)
Removes all elements in the list which match the predicate.
|
void |
IFloatList.removeWhere(IPredicate predicate)
Removes all elements in the list which match the predicate.
|
void |
IDoubleList.removeWhere(IPredicate predicate)
Removes all elements in the list which match the predicate.
|
void |
ICharList.removeWhere(IPredicate predicate)
Removes all elements in the list which match the predicate.
|
void |
IByteList.removeWhere(IPredicate predicate)
Removes all elements in the list which match the predicate.
|
void |
IBooleanList.removeWhere(IPredicate predicate)
Removes all elements in the list which match the predicate.
|
void |
IShortList.retainWhere(IPredicate predicate)
Retains all elements in the list which match the predicate.
|
void |
ILongList.retainWhere(IPredicate predicate)
Retains all elements in the list which match the predicate.
|
void |
IIntList.retainWhere(IPredicate predicate)
Retains all elements in the list which match the predicate.
|
void |
IFloatList.retainWhere(IPredicate predicate)
Retains all elements in the list which match the predicate.
|
void |
IDoubleList.retainWhere(IPredicate predicate)
Retains all elements in the list which match the predicate.
|
void |
ICharList.retainWhere(IPredicate predicate)
Retains all elements in the list which match the predicate.
|
void |
IByteList.retainWhere(IPredicate predicate)
Retains all elements in the list which match the predicate.
|
void |
IBooleanList.retainWhere(IPredicate predicate)
Retains all elements in the list which match the predicate.
|