Class ResultSet<T>

java.lang.Object
com.cloudimpl.outstack.runtime.ResultSet<T>

public class ResultSet<T>
extends java.lang.Object
Author:
nuwan
  • Constructor Summary

    Constructors
    Constructor Description
    ResultSet​(long totalItems, int totalPages, int currentPage, java.util.Collection<T> items)  
  • Method Summary

    Modifier and Type Method Description
    int getCurrentPage()  
    java.util.Collection<T> getItems()
    Deprecated.
    java.util.Collection<T> getItems​(java.lang.Class<T> cls)  
    long getTotalItems()  
    int getTotalPages()  

    Methods inherited from class java.lang.Object

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

    • ResultSet

      public ResultSet​(long totalItems, int totalPages, int currentPage, java.util.Collection<T> items)
  • Method Details

    • getTotalItems

      public long getTotalItems()
    • getTotalPages

      public int getTotalPages()
    • getCurrentPage

      public int getCurrentPage()
    • getItems

      @Deprecated public java.util.Collection<T> getItems()
      Deprecated.
    • getItems

      public java.util.Collection<T> getItems​(java.lang.Class<T> cls)