Constructor and Description |
---|
ReportedHidServStats(java.lang.String fingerprint,
long statsEndMillis) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object otherObject) |
java.lang.String[] |
format()
Returns an array of two strings with a string representation of this
document.
|
long |
getDirOnionsSeen() |
java.lang.String |
getFingerprint() |
long |
getRendRelayedCells() |
long |
getStatsEndMillis() |
long |
getStatsIntervalSeconds() |
int |
hashCode() |
boolean |
parse(java.lang.String[] formattedStrings)
Initializes an object using the given array of two strings.
|
void |
setDirOnionsSeen(long dirOnionsSeen) |
void |
setRendRelayedCells(long rendRelayedCells) |
void |
setStatsIntervalSeconds(long statsIntervalSeconds) |
public ReportedHidServStats(java.lang.String fingerprint, long statsEndMillis)
public java.lang.String getFingerprint()
public long getStatsEndMillis()
public void setStatsIntervalSeconds(long statsIntervalSeconds)
public long getStatsIntervalSeconds()
public void setRendRelayedCells(long rendRelayedCells)
public long getRendRelayedCells()
public void setDirOnionsSeen(long dirOnionsSeen)
public long getDirOnionsSeen()
public boolean equals(java.lang.Object otherObject)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String[] format()
Document
The first string will be used to start a group of documents, the second string will be used to represent a single document in that group. Ideally, the first string is equivalent for many documents stored in the same file, and the second string is different for those documents.