Class HashBasedTable.Factory<C,​V>

  • All Implemented Interfaces:
    Supplier<java.util.Map<C,​V>>, java.io.Serializable
    Enclosing class:
    HashBasedTable<R,​C,​V>

    private static class HashBasedTable.Factory<C,​V>
    extends java.lang.Object
    implements Supplier<java.util.Map<C,​V>>, java.io.Serializable
    • Constructor Summary

      Constructors 
      Constructor Description
      Factory​(int expectedSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<C,​V> get()
      Retrieves an instance of the appropriate type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • expectedSize

        final int expectedSize
    • Constructor Detail

      • Factory

        Factory​(int expectedSize)
    • Method Detail

      • get

        public java.util.Map<C,​V> get()
        Description copied from interface: Supplier
        Retrieves an instance of the appropriate type. The returned object may or may not be a new instance, depending on the implementation.
        Specified by:
        get in interface Supplier<C>
        Returns:
        an instance of the appropriate type