topN.offer(new NameValuePair(userName, windowSum));
topN.offer(new NameValuePair(userName, windowSum));
@Override public boolean equals(Object other) { if (other instanceof NameValuePair) { return compareTo((NameValuePair)other) == 0; } return false; }
@Override public boolean equals(Object other) { if (other instanceof NameValuePair) { return compareTo((NameValuePair)other) == 0; } return false; }