Class MappingWorksheet.ExecutorChunk

All Implemented Interfaces:
Iterable<MappingWorksheet.ExecutorSlot>, Collection<MappingWorksheet.ExecutorSlot>, List<MappingWorksheet.ExecutorSlot>, Named
Enclosing class:
MappingWorksheet

public final class MappingWorksheet.ExecutorChunk extends AbstractList<MappingWorksheet.ExecutorSlot> implements Named
  • Field Details

  • Method Details

    • canAccept

      public boolean canAccept(MappingWorksheet.WorkChunk c)
      Is this executor chunk and the given work chunk compatible? Can the latter be run on the former?
    • getName

      @NonNull public String getName()
      Node name.
      Specified by:
      getName in interface Named
      Returns:
      the name of this object, never null.
    • capacity

      public int capacity()
      Number of executors in this chunk. Alias for size but more readable.
    • get

      public MappingWorksheet.ExecutorSlot get(int index)
      Specified by:
      get in interface List<E>
      Specified by:
      get in class AbstractList<E>
    • size

      public int size()
      Specified by:
      size in interface Collection<E>
      Specified by:
      size in interface List<E>
      Specified by:
      size in class AbstractCollection<E>