- Type Parameters:
L- The type of linkable object.
- All Superinterfaces:
Iterable<L>
- All Known Subinterfaces:
BatchUpdate<E>,PaginatedBatch<L>
- All Known Implementing Classes:
ArtifactBatchFetchResult,ArtifactGroups,Artifacts,Automations,ClarityFileBatchFetchResult,ClarityFiles,ClarityProcesses,ContainerBatchFetchResult,Containers,ContainerTypes,ControlTypes,GlobalTokens,Index,Instruments,InstrumentTypes,Labs,Links,Permissions,ProcessTemplates,ProcessTypes,Projects,Properties,Protocols,Queue,ReagentKits,ReagentLots,ReagentTypes,Researchers,Roles,SampleBatchFetchResult,Samples,SavedQueries,Type,Udfs,Udts,Versions,Workflows
Interface for objects that hold batches of linkable items (links or entities).
-
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getList
Gets the list of items in this batch.- Returns:
- The list of items.
-
getSize
default int getSize()Gets the number of items in this batch.- Returns:
- The size of the batch.
-
isEmpty
default boolean isEmpty()Checks if this batch is empty.- Returns:
trueif the batch contains no items,falseotherwise.
-
iterator
Returns an iterator over the items in this batch.
-