Class Gid2DataResizable

    • Constructor Detail

      • Gid2DataResizable

        public Gid2DataResizable​(int capacity)
        Not resizable.
        Parameters:
        capacity -
    • Method Detail

      • getData

        public ArrayList<org.apache.hadoop.io.Writable> getData()
      • add

        public boolean add​(long gid,
                           org.apache.hadoop.io.Writable writable)
        Specified by:
        add in interface Gid2Data
      • clear

        public void clear()
        Specified by:
        clear in interface Gid2Data
      • size

        public int size()
        Specified by:
        size in interface Gid2Data
      • serializedSize

        public int serializedSize()
        Number of bytes need for serialization.
        Specified by:
        serializedSize in interface Gid2Data
        Returns:
        number of bytes