Class JavaModelCollection
java.lang.Object
io.serverlessworkflow.impl.expressions.func.JavaModelCollection
- All Implemented Interfaces:
WorkflowModel,WorkflowModelCollection,Iterable<WorkflowModel>,Collection<WorkflowModel>
public class JavaModelCollection
extends Object
implements Collection<WorkflowModel>, WorkflowModelCollection
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(WorkflowModel e) booleanaddAll(Collection<? extends WorkflowModel> c) <T> Optional<T>voidclear()booleanbooleancontainsAll(Collection<?> c) booleanisEmpty()iterator()protected WorkflowModelClass<?>booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArrayMethods inherited from interface io.serverlessworkflow.impl.WorkflowModelCollection
asBoolean, asCloudEventData, asCollection, asDate, asMap, asNumber, asText, forEach
-
Field Details
-
object
-
-
Constructor Details
-
JavaModelCollection
protected JavaModelCollection() -
JavaModelCollection
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<WorkflowModel>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<WorkflowModel>
-
contains
- Specified by:
containsin interfaceCollection<WorkflowModel>
-
nextItem
-
iterator
- Specified by:
iteratorin interfaceCollection<WorkflowModel>- Specified by:
iteratorin interfaceIterable<WorkflowModel>
-
toArray
- Specified by:
toArrayin interfaceCollection<WorkflowModel>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<WorkflowModel>
-
add
- Specified by:
addin interfaceCollection<WorkflowModel>
-
remove
- Specified by:
removein interfaceCollection<WorkflowModel>
-
containsAll
- Specified by:
containsAllin interfaceCollection<WorkflowModel>
-
addAll
- Specified by:
addAllin interfaceCollection<WorkflowModel>
-
removeAll
- Specified by:
removeAllin interfaceCollection<WorkflowModel>
-
retainAll
- Specified by:
retainAllin interfaceCollection<WorkflowModel>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<WorkflowModel>
-
asJavaObject
- Specified by:
asJavaObjectin interfaceWorkflowModel
-
objectClass
- Specified by:
objectClassin interfaceWorkflowModel
-
as
- Specified by:
asin interfaceWorkflowModel
-