public class InstructionExecutorInventory extends Object
CollectionBasedInstructionExecutor
s. A simple container-like
object. Among other possible use-cases, it provides the possibility to transport a collection of
executors through a Context
—something that would not be possible using a plain
Collection
.Constructor and Description |
---|
InstructionExecutorInventory(Collection<? extends CollectionBasedInstructionExecutor> executors) |
Modifier and Type | Method and Description |
---|---|
Collection<? extends CollectionBasedInstructionExecutor> |
getExecutors() |
public InstructionExecutorInventory(Collection<? extends CollectionBasedInstructionExecutor> executors)
executors
- the InstructionExecutor
s to be transported. Must not be
null
.public Collection<? extends CollectionBasedInstructionExecutor> getExecutors()
InstructionExecutor
s transported by this instance. Never returns
null
.Copyright © 2024 levigo holding gmbh. All rights reserved.