Package | Description |
---|---|
java.lang | |
java.math | |
java.net | |
java.util |
Modifier and Type | Method and Description |
---|---|
int |
Character.compareTo(Object something)
Will throw a ClassCastException if object of comparison is not a Character.
|
int |
Comparable.compareTo(Object o) |
int |
Double.compareTo(Object obj) |
int |
Float.compareTo(Object obj) |
int |
Integer.compareTo(Object obj) |
int |
Long.compareTo(Object obj) |
int |
Short.compareTo(Object obj) |
int |
String.compareTo(Object obj) |
Modifier and Type | Method and Description |
---|---|
int |
BigDecimal.compareTo(Object o) |
int |
BigInteger.compareTo(Object o) |
Modifier and Type | Method and Description |
---|---|
int |
URI.compareTo(Object o) |
Modifier and Type | Method and Description |
---|---|
void |
List.add(int index,
Object element) |
boolean |
List.add(Object o) |
void |
ListIterator.add(Object o) |
boolean |
Set.add(Object o) |
boolean |
List.addAll(Collection c) |
boolean |
Set.addAll(Collection c) |
boolean |
List.addAll(int index,
Collection c) |
int |
Comparator.compare(Object o1,
Object o2) |
boolean |
Set.contains(Object o) |
boolean |
Map.containsKey(Object key) |
Object |
Map.get(Object key) |
SortedMap |
SortedMap.headMap(Object toKey) |
SortedSet |
SortedSet.headSet(Object toElement) |
Object |
Map.put(Object key,
Object value) |
void |
Map.putAll(Map t) |
Object |
List.set(int index,
Object element) |
void |
ListIterator.set(Object o) |
Object |
Collections.UnmodEntry.setValue(Object value) |
Object |
Map.Entry.setValue(Object value) |
SortedMap |
SortedMap.subMap(Object fromKey,
Object toKey) |
SortedSet |
SortedSet.subSet(Object fromElement,
Object toElement) |
SortedMap |
SortedMap.tailMap(Object fromKey) |
SortedSet |
SortedSet.tailSet(Object fromElement) |