public class Entry extends Object implements Comparable
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object thatObj)
Compare this entry to another for relative ordering.
|
boolean |
equals(Object thatObj)
Test this entry for equality to another.
|
int |
hashCode()
Consistent with
equals(java.lang.Object) , this method creates a hashCode
based on the packagename. |
String |
toString() |
public int compareTo(Object thatObj)
compareTo
in interface Comparable
thatObj
- The object to compare.public boolean equals(Object thatObj)
compareTo(java.lang.Object)
, this method tests
for equality purely on the package name.
public int hashCode()
equals(java.lang.Object)
, this method creates a hashCode
based on the packagename.
Copyright © 2002–2019. All rights reserved.