Class Specification.TypeReader<T extends FreeColSpecObjectType>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int index
      Internal index to impose an ordering.
      private java.util.List<T> result
      The list to append new objects to.
      private java.lang.Class<T> type
      The class of objects to read.
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeReader​(java.lang.Class<T> type, java.util.List<T> listToFill)
      Build a type read.
    • Field Detail

      • result

        private final java.util.List<T extends FreeColSpecObjectType> result
        The list to append new objects to.
      • index

        private int index
        Internal index to impose an ordering.
    • Constructor Detail

      • TypeReader

        public TypeReader​(java.lang.Class<T> type,
                          java.util.List<T> listToFill)
        Build a type read.
        Parameters:
        type - The class to read.
        listToFill - A list of read types.