Skip navigation links
A B C E I M S T U W 

A

allHoldNoType(Object...) - Method in class com.aol.cyclops.matcher.builders.IterableCase
Each supplied value will be checked against an element from the iterable Each supplied value could be a comparison value, JDK 8 Predicate, or Hamcrest Matcher Note if there is more elements in the iterable than predicates (or matchers / prototype values etc), and all predicates hold this case will trigger
allMatch(Matcher<V>...) - Method in class com.aol.cyclops.matcher.builders.IterableCase
Each supplied Hamcrest Matcher will be matched against elements in the matching iterable Note if there is more elements in the iterable than matchers, and all predicates hold this case will trigger
allMatchNoType(Matcher...) - Method in class com.aol.cyclops.matcher.builders.IterableCase
Each supplied Hamcrest Matcher will be matched against elements in the matching iterable Note if there is more elements in the iterable than matchers, and all predicates hold this case will trigger
allTrue(Predicate<V>...) - Method in class com.aol.cyclops.matcher.builders.IterableCase
All of the predicates hold Each predicate will be matched in turn against a member of the iterable Note if there is more elements in the iterable than predicates, and all predicates hold this case will trigger
allTrueNoType(Predicate<? extends Object>...) - Method in class com.aol.cyclops.matcher.builders.IterableCase
Each predicate will be matched in turn against a member of the iterable Note if there is more elements in the iterable than predicates, and all predicates hold this case will trigger
allValues(V...) - Method in class com.aol.cyclops.matcher.builders.IterableCase
Check all supplied values against elements in the iterable in turn Note if there is more elements in the iterable than values to match against and all values match this case will trigger
apply(Object) - Method in class com.aol.cyclops.matcher.builders.CollectionMatchingInstance
 
asStreamFunction() - Method in class com.aol.cyclops.matcher.builders.CollectionMatchingInstance
 
asUnwrappedFunction() - Method in class com.aol.cyclops.matcher.builders.CollectionMatchingInstance
 

B

bothMatch(Matcher<V>, Matcher<V1>) - Method in class com.aol.cyclops.matcher.builders.IterableCase
Check that two Matchers accepting potential different types hold Will check against the first two elements of an iterable only.
bothTrue(Predicate<V>, Predicate<V1>) - Method in class com.aol.cyclops.matcher.builders.IterableCase
Check that two predicates accepting potential different types hold Will check against the first two elements of an iterable only.

C

cases() - Method in class com.aol.cyclops.matcher.builders.CollectionMatchingInstance
 
CollectionMatcher - Class in com.aol.cyclops.matcher
 
CollectionMatcher() - Constructor for class com.aol.cyclops.matcher.CollectionMatcher
 
CollectionMatchingInstance<T,X> - Class in com.aol.cyclops.matcher.builders
 
CollectionMatchingInstance() - Constructor for class com.aol.cyclops.matcher.builders.CollectionMatchingInstance
 
CollectionStep<T,X> - Interface in com.aol.cyclops.matcher.builders
 
com.aol.cyclops.matcher - package com.aol.cyclops.matcher
 
com.aol.cyclops.matcher.builders - package com.aol.cyclops.matcher.builders
 

E

ExtractionStep<T,R,X> - Interface in com.aol.cyclops.matcher.builders
 

I

InCaseOfManyStep2<V> - Class in com.aol.cyclops.matcher.builders
 
InCaseOfManyStep2() - Constructor for class com.aol.cyclops.matcher.builders.InCaseOfManyStep2
 
InMatchOfManyStep2<R,V,T,X> - Class in com.aol.cyclops.matcher.builders
 
InMatchOfManyStep2() - Constructor for class com.aol.cyclops.matcher.builders.InMatchOfManyStep2
 
IterableCase<X> - Class in com.aol.cyclops.matcher.builders
Case builder for handling iterables Predicates match against each element in the Iterable Extractor can be used to select iterable elements Use Extractors.same to pass the iterable itself
IterableCase() - Constructor for class com.aol.cyclops.matcher.builders.IterableCase
 

M

match(Object...) - Method in class com.aol.cyclops.matcher.builders.CollectionMatchingInstance
Aggregates supplied objects into a List for matching against
match(Object) - Method in class com.aol.cyclops.matcher.builders.CollectionMatchingInstance
 
matchFromStream(Stream) - Method in class com.aol.cyclops.matcher.builders.CollectionMatchingInstance
Each input element can generated a single matched value
matchMany(Object) - Method in class com.aol.cyclops.matcher.builders.CollectionMatchingInstance
 
matchManyFromStream(Stream) - Method in class com.aol.cyclops.matcher.builders.CollectionMatchingInstance
Each input element can generated multiple matched values

S

StreamCase - Class in com.aol.cyclops.matcher.builders
Case Builder for building Cases from Stream data
StreamCase() - Constructor for class com.aol.cyclops.matcher.builders.StreamCase
 
streamOfResponsibility(Stream<? extends ChainOfResponsibility<V, X>>) - Method in class com.aol.cyclops.matcher.builders.StreamCase
Build a 'Stream of responsibility' pattern Stream of responsibility equivalent to ChainOfResponsibility pattern ChainOfResponsibility interface includes a Predicate and an Action - each will be used to build a case
streamOfResponsibilityFromTuple(Stream<Two<Predicate<V>, Function<V, X>>>) - Method in class com.aol.cyclops.matcher.builders.StreamCase
Build a 'Stream of responsibility' pattern Stream of responsibility equivalent to ChainOfResponsibility pattern Tuple includes a Predicate and an Action (Function) - each will be used to build a case

T

thenApply(TypedFunction<T, X>) - Method in interface com.aol.cyclops.matcher.builders.CollectionStep
Create a new Case with the supplied ActionWithReturn as the action
thenApply(TypedFunction<List<V>, X>) - Method in class com.aol.cyclops.matcher.builders.InCaseOfManyStep2
Create a new Case with the supplied ActionWithReturn as the action
thenApply(TypedFunction<List<V>, X>) - Method in class com.aol.cyclops.matcher.builders.InMatchOfManyStep2
Create a new Case with the supplied ActionWithReturn as the action
thenConsume(Action<T>) - Method in interface com.aol.cyclops.matcher.builders.CollectionStep
Create a new Case with the supplied ActionWithReturn as the action
thenConsume(Action<List<V>>) - Method in class com.aol.cyclops.matcher.builders.InCaseOfManyStep2
Create a new Case with the supplied ActionWithReturn as the action
thenConsume(Action<List<V>>) - Method in class com.aol.cyclops.matcher.builders.InMatchOfManyStep2
Create a new Case with the supplied ActionWithReturn as the action
thenExtract(Extractor<T, R>) - Method in interface com.aol.cyclops.matcher.builders.ExtractionStep
Select the elements from a Collection to be extracted and passed to an Action
threeTrue(Predicate<V>, Predicate<V1>, Predicate<V2>) - Method in class com.aol.cyclops.matcher.builders.IterableCase
Check that three predicates accepting potential different types hold Will check against the first three elements of an iterable only.

U

unapply(Decomposable) - Method in class com.aol.cyclops.matcher.builders.CollectionMatchingInstance
Immediately decompose the supplied parameter and pass it to the PatternMatcher for matching

W

whenFromStream() - Method in class com.aol.cyclops.matcher.builders.CollectionMatchingInstance
Create a builder that builds Pattern Matching Cases from Streams of data.
whenFromStream() - Static method in class com.aol.cyclops.matcher.CollectionMatcher
Create a builder that builds Pattern Matching Cases from Streams of data.
whenIterable() - Method in class com.aol.cyclops.matcher.builders.CollectionMatchingInstance
Create a builder for matching on the disaggregated elements of a collection.
whenIterable() - Static method in class com.aol.cyclops.matcher.CollectionMatcher
Create a builder for matching on the disaggregated elements of a collection.
A B C E I M S T U W 
Skip navigation links