public interface Opener<A,B,C,D> extends TriFunction<A,B,C,D>
| Modifier and Type | Method and Description |
|---|---|
static <A,B,C> FlatCacheOpener<A,B,C> |
flatCacheOpener(java.util.function.BiFunction<A,B,C> opener)
Ignores any context object and caches an intermediate object.
|
static <A,B> FlatOpener<A,B> |
flatOpener(java.util.function.BiConsumer<A,B> opener)
Ignores any context object and doesn't cache an intermediate object.
|
default D |
open(A context,
B item,
C event) |
static <A,B,C> StepOpener<A,B,C> |
stepOpener(java.util.function.BiConsumer<B,C> opener)
Ignores any context object and doesn't cache an intermediate object.
|
static <A,B,C> StepOpener<A,B,C> |
stepOpener(TriConsumer<A,B,C> opener)
Doesn't cache an intermediate object.
|
applystatic <A,B,C> FlatCacheOpener<A,B,C> flatCacheOpener(java.util.function.BiFunction<A,B,C> opener)
A - a Type of itemB - a Type of OpenEventC - a Type of object to cacheopener - a BiFunction< A, B, C >static <A,B> FlatOpener<A,B> flatOpener(java.util.function.BiConsumer<A,B> opener)
A - a Type of itemB - a Type of attributesopener - a BiConsumer< A, B >static <A,B,C> StepOpener<A,B,C> stepOpener(TriConsumer<A,B,C> opener)
A - a Type of context objectB - a Type of itemC - a Type of attributesopener - a TriConsumer< A, B, C >static <A,B,C> StepOpener<A,B,C> stepOpener(java.util.function.BiConsumer<B,C> opener)
A - a Type of context objectB - a Type of itemC - a Type of attributesopener - a BiConsumer< B,C>Copyright © 2021. All rights reserved.