Class Collector.Registry

All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Variable>, SequencedMap<Object,Variable>
Enclosing class:
Collector

private static class Collector.Registry extends LinkedHashMap<Object,Variable>
The Registry object is used to store variables for the collector. All variables are stored under its name so that they can be later retrieved and used to populate the object when deserialization of all variables has finished.
  • Constructor Details

    • Registry

      private Registry()
  • Method Details

    • iterator

      public Iterator<Object> iterator()
      This is used to iterate over the names of the variables in the registry. This is primarily used for convenience so that the variables can be acquired in a for each loop.
      Returns:
      an iterator containing the names of the variables