Class ComplexDataParser.KeyedCellCollectionReader<T extends Comparable<T>>

java.lang.Object
com.terracottatech.store.definition.ComplexDataParser.KeyedCellCollectionReader<T>
Type Parameters:
T - Key Type param
All Implemented Interfaces:
Closeable, AutoCloseable, Iterable<KeyedCellCollection<T>>
Enclosing class:
ComplexDataParser

public static class ComplexDataParser.KeyedCellCollectionReader<T extends Comparable<T>> extends Object implements Closeable, Iterable<KeyedCellCollection<T>>
Class for reading a sequence of KeyedCellCollections from an input reader. Reader must be UTF capable to handle UTF characters.
  • Constructor Details

    • KeyedCellCollectionReader

      public KeyedCellCollectionReader(Reader in)
      Constructor for unknown key types.
      Parameters:
      in - Reader to use
    • KeyedCellCollectionReader

      public KeyedCellCollectionReader(Reader in, Type<T> keyType)
      Constructor where all the keyed cell collections will have the same known key type.
      Parameters:
      in - Reader
      keyType - key type
  • Method Details