Class PingSpaceMapper.Result

  • Enclosing class:
    PingSpaceMapper

    static class PingSpaceMapper.Result
    extends java.lang.Object
    Class to return a result.
    • Constructor Summary

      Constructors 
      Constructor Description
      Result()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkAndUpdate​(int uploadIndex, int downloadIndex)
      If the input index is higher then stored, update it with the new value.
      int getDownloadIndex()  
      int getUploadIndex()  
      • Methods inherited from class java.lang.Object

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

      • highestUploadIndex

        int highestUploadIndex
      • highestDownloadIndex

        int highestDownloadIndex
    • Constructor Detail

      • Result

        Result()
    • Method Detail

      • checkAndUpdate

        public void checkAndUpdate​(int uploadIndex,
                                   int downloadIndex)
        If the input index is higher then stored, update it with the new value.
        Parameters:
        uploadIndex - -
        downloadIndex - -
      • getUploadIndex

        public int getUploadIndex()
      • getDownloadIndex

        public int getDownloadIndex()