|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shapelogic.streams.StreamFactory
public class StreamFactory
StreamFactory is a factory for Streams.
Constructor Summary | |
---|---|
StreamFactory(RecursiveContext recursiveContext)
|
Method Summary | ||
---|---|---|
|
addAndListStream0(java.lang.String andName,
java.lang.String partName,
java.lang.String inputName,
java.lang.String expression,
java.lang.String binaryPredicateString,
In2 compareObject,
java.lang.String language)
|
|
|
addToAndListStream0(java.lang.String andName,
java.lang.String partName,
java.lang.String inputName,
BinaryPredicate<In1,In2> binaryPredicate,
In2 compareObject)
|
|
|
addToAndListStream0(java.lang.String andName,
java.lang.String inputName,
java.lang.String binaryPredicateString,
In2 compareObject)
|
|
|
addToAndListStream0(java.lang.String andName,
java.lang.String partName,
java.lang.String inputName,
java.lang.String expression,
BinaryPredicate<In1,In2> binaryPredicate,
In2 compareObject,
java.lang.String language)
|
|
|
addToAndListStream0(java.lang.String andName,
java.lang.String partName,
java.lang.String inputName,
java.lang.String binaryPredicateString,
In2 compareObject)
|
|
static
|
createCalcIndex1(java.util.Iterator<E> iterator)
|
|
static
|
createListStream(CalcIndex1<In,E> transformer)
|
|
static
|
createListStream(java.util.Iterator<E> iterator)
|
|
static
|
createListStream(java.util.Iterator<E> iterator,
int maxLast)
|
|
static
|
createListStream(java.lang.String name,
java.lang.String expression,
java.lang.String language,
java.lang.Integer stopNumber,
E... startList)
Create stream based on a function. |
|
|
createListStream0(java.lang.String name,
java.lang.String inputName,
BinaryPredicate<In0,In2> binaryPredicate,
In2 compareObject)
|
|
|
createListStream0(java.lang.String name,
java.lang.String inputName,
java.lang.String expression,
BinaryPredicate<In1,In2> binaryPredicate,
In2 compareObject,
java.lang.String language)
Create stream based on a function. |
|
|
createListStream0(java.lang.String name,
java.lang.String inputName,
java.lang.String expression,
java.lang.String binaryPredicateString,
In2 compareObject,
java.lang.String language)
Create stream based on a function. |
|
|
findNumberedStream(java.lang.String name)
|
|
static
|
findNumberedStream(java.lang.String name,
RecursiveContext recursiveContext)
Factory for finding NumberedStream in RootMap. |
|
static
|
makeBooleanCalc1(BinaryPredicate<In1,In2> binaryPredicate,
In2 compareObject)
|
|
static
|
makeFunctionBooleanCalc1(java.lang.String expression,
BinaryPredicate<In1,In2> binaryPredicate,
In2 compareObject,
java.lang.String language,
java.lang.String functionName)
|
|
static
|
makeFunctionBooleanCalc1(java.lang.String expression,
java.lang.String binaryPredicateString,
In2 compareObject,
java.lang.String language,
java.lang.String functionName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamFactory(RecursiveContext recursiveContext)
Method Detail |
---|
public static <In,E> ListStream<E> createListStream(CalcIndex1<In,E> transformer)
public static <E> ListStream<E> createListStream(java.util.Iterator<E> iterator, int maxLast)
public static <E> ListStream<E> createListStream(java.util.Iterator<E> iterator)
public static <E> CalcIndex1<java.lang.Object,E> createCalcIndex1(java.util.Iterator<E> iterator)
public static <In,E> ListStream<E> createListStream(java.lang.String name, java.lang.String expression, java.lang.String language, java.lang.Integer stopNumber, E... startList)
In
- is not used now maybe I should change the typeE
- Element typename
- of the streamexpression
- in Scripting language of values streamlanguage
- Scripting language by name, Groovy is the defaultstopNumber
- length of this streamstartList
- elements to add to stream at the beginning
public <In0,In1,In2> ListStream<java.lang.Boolean> createListStream0(java.lang.String name, java.lang.String inputName, java.lang.String expression, BinaryPredicate<In1,In2> binaryPredicate, In2 compareObject, java.lang.String language)
In
- is not used now maybe I should change the typeE
- Element typename
- of the created streaminput
- name of the input streamexpression
- in Scripting language of values streambinaryPredicate
- by namecompareObject
- language
- Scripting language by name, Groovy is the default
public <In0,In1,In2> ListStream<java.lang.Boolean> createListStream0(java.lang.String name, java.lang.String inputName, java.lang.String expression, java.lang.String binaryPredicateString, In2 compareObject, java.lang.String language)
In
- is not used now maybe I should change the typeE
- Element typename
- of the created streaminput
- name of the input streamexpression
- in Scripting language of values streambinaryPredicate
- by namecompareObject
- language
- Scripting language by name, Groovy is the default
public static <In0,In1,In2> Calc1<In0,java.lang.Boolean> makeFunctionBooleanCalc1(java.lang.String expression, BinaryPredicate<In1,In2> binaryPredicate, In2 compareObject, java.lang.String language, java.lang.String functionName)
public static <In1,In2> Calc1<In1,java.lang.Boolean> makeBooleanCalc1(BinaryPredicate<In1,In2> binaryPredicate, In2 compareObject)
public static <In0,In1,In2> Calc1<In0,java.lang.Boolean> makeFunctionBooleanCalc1(java.lang.String expression, java.lang.String binaryPredicateString, In2 compareObject, java.lang.String language, java.lang.String functionName)
public static <E> NumberedStream<E> findNumberedStream(java.lang.String name, RecursiveContext recursiveContext)
E
- name
- of the stream
public <E> NumberedStream<E> findNumberedStream(java.lang.String name)
public <In0,In2> ListStream<java.lang.Boolean> createListStream0(java.lang.String name, java.lang.String inputName, BinaryPredicate<In0,In2> binaryPredicate, In2 compareObject)
public <In0,In1,In2> ListStream<java.lang.Boolean> addToAndListStream0(java.lang.String andName, java.lang.String partName, java.lang.String inputName, java.lang.String expression, BinaryPredicate<In1,In2> binaryPredicate, In2 compareObject, java.lang.String language)
public <In0,In1,In2> ListStream<java.lang.Boolean> addAndListStream0(java.lang.String andName, java.lang.String partName, java.lang.String inputName, java.lang.String expression, java.lang.String binaryPredicateString, In2 compareObject, java.lang.String language)
public <In0,In1,In2> ListStream<java.lang.Boolean> addToAndListStream0(java.lang.String andName, java.lang.String partName, java.lang.String inputName, BinaryPredicate<In1,In2> binaryPredicate, In2 compareObject)
public <In0,In1,In2> ListStream<java.lang.Boolean> addToAndListStream0(java.lang.String andName, java.lang.String partName, java.lang.String inputName, java.lang.String binaryPredicateString, In2 compareObject)
public <In0,In1,In2> ListStream<java.lang.Boolean> addToAndListStream0(java.lang.String andName, java.lang.String inputName, java.lang.String binaryPredicateString, In2 compareObject)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |