@Test public void testPagedSetHashcode() { message = "paged set should satisfy requirements on hashcode()"; ArrayList<String> results = new ArrayList<String>(); results.add("object"); int start = 0; int end = 1; int total = 3; PagedSet<String> set = new PagedSet<String>(start, end, total, results); PagedSet<String> other = new PagedSet<String>(start, end, total, results); assertEquals(message, set.hashCode(), set.hashCode()); assertEquals(message, set.hashCode(), other.hashCode()); }
@Override public int hashCode() { return pagedSet.hashCode(); }
PagedSet implements Serializable { @Override public int hashCode() { return pagedSet.hashCode(); } }
PagedSet implements Serializable { @Override public int hashCode() { return pagedSet.hashCode(); } PagedSet();  PagedSet(final int from, final int to, final int inTotal, final List<T> set); }
PagedSet implements Serializable { @Override public int hashCode() { return pagedSet.hashCode(); } PagedSet();  PagedSet(final int from, final int to, final int inTotal, final List<T> set); boolean isRangeValid(final int from, final int to); int getFromIndex(); void setFromIndex(final int inFromIndex); int getToIndex(); void setToIndex(final int inToIndex); int getTotal(); void setTotal(final int inTotal); List<T> getPagedSet(); void setPagedSet(final List<T> inPagedSet); @SuppressWarnings("unchecked") @Override boolean equals(final Object set); @Override int hashCode(); String getElapsedTime(); void setElapsedTime(final String inElapsedTime); }
PagedSet implements Serializable { @Override public int hashCode() { return pagedSet.hashCode(); } PagedSet();  PagedSet(final int from, final int to, final int inTotal, final List<T> set); boolean isRangeValid(final int from, final int to); int getFromIndex(); void setFromIndex(final int inFromIndex); int getToIndex(); void setToIndex(final int inToIndex); int getTotal(); void setTotal(final int inTotal); List<T> getPagedSet(); void setPagedSet(final List<T> inPagedSet); @SuppressWarnings("unchecked") @Override boolean equals(final Object set); @Override int hashCode(); String getElapsedTime(); void setElapsedTime(final String inElapsedTime);  }