| Modifier and Type | Field and Description |
|---|---|
| private final T[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <T> CompositionTaskArrayAdapter | |
| public T[] | Returns: a new array withnullCount null-elements removedsince we know this number in advance, we use it to speed up this method nullCount)
|
| public void | visitSequentialPairs(BiConsumer<T, T> visitor)
For the underlying array visits all sequential pairs of elements. |
| public int | Returns: the number of simplifications that could be found and were appliedmust either return null (meaning no simplification found) or a simplification visitor)
|
| array | back to summary |
|---|---|
| private final T[] array | |
| CompositionTaskArrayAdapter | back to summary |
|---|---|
| private CompositionTaskArrayAdapter(T[] array) | |
| of | back to summary |
|---|---|
| public static <T> CompositionTaskArrayAdapter | |
| removeNulls | back to summary |
|---|---|
public T[] removeNulls(int nullCount)
| |
| visitSequentialPairs | back to summary |
|---|---|
| public void visitSequentialPairs(BiConsumer<T, T> visitor) For the underlying array visits all sequential pairs of elements. | |
| visitSequentialPairsAndSimplify | back to summary |
|---|---|
public int visitSequentialPairsAndSimplify(BinaryOperator<T> visitor)
| |