Class DataChunk

  • All Implemented Interfaces:

    public class DataChunk
    extends java.lang.Object
    A chunk of data.

    Simply is a collection with a mark with is the last. Util for obtain a big amount of data little by little from server.

    Javier Paniza
    See Also:
    Serialized Form
    • Constructor Summary

      Constructor Description
      DataChunk​(java.util.List data, boolean last, int indexNext)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List getData()  
      int getIndexNext()  
      boolean isLast()  
      • Methods inherited from class java.lang.Object

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

      • DataChunk

        public DataChunk​(java.util.List data,
                         boolean last,
                         int indexNext)
    • Method Detail

      • getData

        public java.util.List getData()
      • isLast

        public boolean isLast()
      • getIndexNext

        public int getIndexNext()