Class Collector.Registry

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,​Variable>
    Enclosing class:
    Collector

    private static class Collector.Registry
    extends java.util.LinkedHashMap<java.lang.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.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Registry()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<java.lang.Object> iterator()
      This is used to iterate over the names of the variables in the registry.
      • Methods inherited from class java.util.LinkedHashMap

        clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
      • Methods inherited from class java.util.HashMap

        clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
    • Constructor Detail

      • Registry

        private Registry()
    • Method Detail

      • iterator

        public java.util.Iterator<java.lang.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