public static class ConnectionLog.Entry extends java.lang.Object implements java.lang.Comparable<ConnectionLog.Entry>, DateHolder
Constructor and Description |
---|
Entry(int responseCode,
long date) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ConnectionLog.Entry o)
Most recent first.
|
boolean |
equals(java.lang.Object o) |
long |
getDate()
Get the date the object holds.
|
int |
getResponseCode() |
int |
hashCode() |
public int getResponseCode()
public long getDate()
DateHolder
getDate
in interface DateHolder
public int compareTo(ConnectionLog.Entry o)
compareTo
in interface java.lang.Comparable<ConnectionLog.Entry>
o
- objectpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object