public class SortedSetSequence<E> extends Object implements Sequence<E>
| 构造器和说明 |
|---|
SortedSetSequence(SortedSet<E> set) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(E e) |
void |
add(int index,
E element) |
boolean |
addAll(Collection<? extends E> c) |
boolean |
addAll(int index,
Collection<? extends E> c) |
List<E> |
asList() |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
E |
first() |
E |
get(int index) |
int |
indexOf(Object o) |
boolean |
isEmpty() |
boolean |
isNull() |
Iterator<E> |
iterator() |
E |
last() |
int |
lastIndexOf(Object o) |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int index) |
E |
remove(int index) |
boolean |
remove(Object o)
移除第一个
|
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
E |
set(int index,
E element) |
int |
size() |
List<E> |
subList(int fromIndex,
int toIndex) |
SortedSetSequence<E> |
subSequence(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreplaceAll, sort, spliteratorparallelStream, removeIf, streampublic boolean isNull()
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(E e)
public boolean containsAll(Collection<?> c)
containsAll 在接口中 Sequence<E>containsAll 在接口中 Collection<E>containsAll 在接口中 List<E>public boolean addAll(Collection<? extends E> c)
public boolean addAll(int index,
Collection<? extends E> c)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public void clear()
public int lastIndexOf(Object o)
lastIndexOf 在接口中 Sequence<E>lastIndexOf 在接口中 List<E>public ListIterator<E> listIterator()
listIterator 在接口中 Sequence<E>listIterator 在接口中 List<E>public ListIterator<E> listIterator(int index)
listIterator 在接口中 Sequence<E>listIterator 在接口中 List<E>public SortedSetSequence<E> subSequence(int fromIndex, int toIndex)
subSequence 在接口中 Sequence<E>Copyright © 2022. All rights reserved.