| Package | Description |
|---|---|
| com.adobe.acs.commons.fam.actions | |
| com.adobe.acs.commons.functions | |
| com.adobe.acs.commons.mcp.impl.processes.asset | |
| com.adobe.acs.commons.util.visitors |
Miscellaneous Utilities.
|
| Modifier and Type | Field and Description |
|---|---|
static CheckedFunction<Boolean,Boolean> |
Filters.NOT
Returns opposite of its input, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> CheckedFunction<T,V> |
CheckedFunction.andThen(CheckedFunction<? super R,? extends V> after)
Returns a composed function that first applies this function to
its input, and then applies the
after function to the result. |
default <V> CheckedFunction<V,R> |
CheckedFunction.compose(CheckedFunction<? super V,? extends T> before)
Returns a composed function that first applies the
before
function to its input, and then applies this function to the result. |
static <T,R> CheckedFunction<T,R> |
CheckedFunction.from(Function<T,R> function) |
static <T> CheckedFunction<T,T> |
CheckedFunction.identity()
Returns a function that always returns its input argument.
|
static <T> CheckedFunction<T,Boolean> |
CheckedFunction.or(CheckedFunction<T,Boolean>... functions) |
| Modifier and Type | Method and Description |
|---|---|
default <V> CheckedBiFunction<T,U,V> |
CheckedBiFunction.andThen(CheckedFunction<? super R,? extends V> after)
Returns a composed function that first applies this function to
its input, and then applies the
after function to the result. |
default <V> CheckedFunction<T,V> |
CheckedFunction.andThen(CheckedFunction<? super R,? extends V> after)
Returns a composed function that first applies this function to
its input, and then applies the
after function to the result. |
default <V> CheckedFunction<V,R> |
CheckedFunction.compose(CheckedFunction<? super V,? extends T> before)
Returns a composed function that first applies the
before
function to its input, and then applies this function to the result. |
static <T> CheckedFunction<T,Boolean> |
CheckedFunction.or(CheckedFunction<T,Boolean>... functions) |
| Modifier and Type | Method and Description |
|---|---|
default void |
HierarchicalElement.visitAllFiles(CheckedConsumer<HierarchicalElement> visitor,
CheckedFunction<HierarchicalElement,Stream<HierarchicalElement>> childFolderFunction,
CheckedFunction<HierarchicalElement,Stream<HierarchicalElement>> childFileFunction) |
default void |
HierarchicalElement.visitAllFiles(CheckedConsumer<HierarchicalElement> visitor,
CheckedFunction<HierarchicalElement,Stream<HierarchicalElement>> childFolderFunction,
CheckedFunction<HierarchicalElement,Stream<HierarchicalElement>> childFileFunction) |
default void |
HierarchicalElement.visitAllFolders(CheckedConsumer<HierarchicalElement> visitor,
CheckedFunction<HierarchicalElement,Stream<HierarchicalElement>> childFunction) |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleFilteringResourceVisitor.setPropertyFilterChecked(CheckedFunction<String,Boolean> filter) |
void |
SimpleFilteringResourceVisitor.setTraversalFilterChecked(CheckedFunction<org.apache.sling.api.resource.Resource,Boolean> filter) |
Copyright © 2013–2020 Adobe. All rights reserved.