public class CarteObjectEntry extends Object implements Comparator<CarteObjectEntry>, Comparable<CarteObjectEntry>
Constructor and Description |
---|
CarteObjectEntry() |
CarteObjectEntry(String name,
String id) |
Modifier and Type | Method and Description |
---|---|
int |
compare(CarteObjectEntry o1,
CarteObjectEntry o2) |
int |
compareTo(CarteObjectEntry o) |
boolean |
equals(Object obj) |
String |
getId() |
String |
getName() |
int |
hashCode() |
void |
setId(String id) |
void |
setName(String name) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public boolean equals(Object obj)
equals
in interface Comparator<CarteObjectEntry>
equals
in class Object
public int compare(CarteObjectEntry o1, CarteObjectEntry o2)
compare
in interface Comparator<CarteObjectEntry>
public int compareTo(CarteObjectEntry o)
compareTo
in interface Comparable<CarteObjectEntry>
public String getName()
public void setName(String name)
name
- the name to setpublic String getId()
public void setId(String id)
id
- the id to setCopyright © 2018 Hitachi Vantara. All rights reserved.