public class Connection<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
List<T> |
getData()
Data for this connection.
|
String |
getNextPageUrl()
This connection's "next page of data" URL.
|
String |
getPreviousPageUrl()
This connection's "previous page of data" URL.
|
int |
hashCode() |
boolean |
hasNext()
Does this connection have a next page of data?
|
boolean |
hasPrevious()
Does this connection have a previous page of data?
|
String |
toString() |
public String toString()
toString in class ObjectObject.toString()public boolean equals(Object object)
equals in class ObjectObject.equals(Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String getPreviousPageUrl()
null if
there is no previous page.public String getNextPageUrl()
null if there
is no next page.public boolean hasPrevious()
true if there is a previous page of data for this
connection, false otherwise.public boolean hasNext()
true if there is a next page of data for this connection,
false otherwise.Copyright © 2014. All rights reserved.