T - type of elementspublic static interface Sorted.AssociatedWithInteger<T> extends Sorted<T>
Sorted.AssociatedWithInteger<T>, Sorted.AssociatedWithLong<T>| Modifier and Type | Method and Description |
|---|---|
void |
add(int value,
T element)
Add an element.
|
boolean |
contains(int value,
T element)
Return true if the list contains the element.
|
boolean |
containsInstance(int value,
T element)
Return true if the list contains the given instance.
|
void |
remove(int value,
T element)
Remove the first occurrence of the element.
|
void |
removeInstance(int value,
T element)
Remove the first occurrence of the given instance.
|
clear, isEmpty, orderedIterator, reverseOrderIterator, sizeforEach, iterator, spliteratorvoid add(int value,
T element)
boolean contains(int value,
T element)
boolean containsInstance(int value,
T element)
void remove(int value,
T element)
void removeInstance(int value,
T element)
Copyright © 2019. All rights reserved.