Class IterableOperationContributor
java.lang.Object
org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
org.eclipse.epsilon.eol.execute.operations.contributors.IterableOperationContributor
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Fields inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
cachedMethodNames
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasBag()
asSet()
at
(int index) Collection<?>
clone()
concat()
boolean
contributesTo
(Object target) protected <T> void
copy
(Iterable<T> source, Collection<T> target) int
boolean
boolean
excludesAll
(Collection<?> col) excludingAll
(Collection<?> col) first()
first
(int number) flatten()
TODO : See thisfourth()
protected Collection<Object>
protected List<?>
getList()
protected Set<?>
getSet()
protected Iterable<?>
boolean
boolean
includesAll
(Collection<?> col) includingAll
(Collection<?> col) int
invert()
protected boolean
boolean
isEmpty()
protected boolean
isList()
protected boolean
isSet()
last()
max()
min()
boolean
notEmpty()
Stream<?>
powerset()
product()
random()
removeAt
(int index) second()
selectByKind
(EolType type) selectByType
(EolType type) int
size()
Stream<?>
stream()
protected Stream<?>
stream
(boolean parallel) sum()
third()
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
close, findContributedMethodForEvaluatedParameters, findContributedMethodForEvaluatedParameters, findContributedMethodForUnevaluatedParameters, getContext, getReflectionTarget, includeInheritedMethods, setContext, setTarget
-
Constructor Details
-
IterableOperationContributor
public IterableOperationContributor() -
IterableOperationContributor
-
-
Method Details
-
getTarget
- Overrides:
getTarget
in classOperationContributor
- Returns:
- The
OperationContributor.target
field.
-
getIterable
-
isCollection
protected boolean isCollection() -
getCollection
-
isList
protected boolean isList() -
getList
-
isSet
protected boolean isSet() -
getSet
-
contributesTo
- Specified by:
contributesTo
in classOperationContributor
-
random
-
size
public int size() -
at
-
removeAt
-
asConcurrentBag
- Returns:
- Since:
- 2.1
-
asConcurrentSet
- Returns:
- Since:
- 2.1
-
asSequence
-
asSet
-
asBag
-
asOrderedSet
-
sum
-
product
-
isEmpty
public boolean isEmpty() -
notEmpty
public boolean notEmpty() -
copy
-
stream
- Returns:
- Since:
- 2.1
-
parallelStream
- Returns:
- Since:
- 2.1
-
stream
- Parameters:
parallel
-- Returns:
- Since:
- 2.1
-
clone
-
includes
-
excludes
-
includesAll
-
excludesAll
-
count
-
selectByKind
- Parameters:
type
-- Returns:
- Since:
- 2.1
-
selectByType
- Parameters:
type
-- Returns:
- Since:
- 2.1
-
includingAll
-
including
-
flatten
TODO : See this- Returns:
-
excluding
-
excludingAll
-
first
-
first
-
second
-
third
-
fourth
-
last
-
indexOf
-
concat
-
concat
-
max
-
max
-
min
-
min
-
invert
-
createCollection
-
powerset
-