类 SetToList<T>
- java.lang.Object
-
- cn.mcres.gyhhy.MXLib.ext.java.util.SetToList<T>
-
- 所有已实现的接口:
ListAndSet<T>
,Iterable<T>
,Collection<T>
,List<T>
,Set<T>
- 直接已知子类:
ComparatorSetToList
public class SetToList<T> extends Object implements ListAndSet<T>
-
-
方法概要
修饰符和类型 方法 说明 void
add(int index, T element)
boolean
add(T e)
boolean
addAll(int index, Collection<? extends T> c)
boolean
addAll(Collection<? extends T> c)
void
clear()
boolean
contains(Object o)
boolean
containsAll(Collection<?> c)
boolean
equals(Object obj)
void
forEach(Consumer<? super T> action)
T
get(int index)
Set<T>
getParent()
int
hashCode()
int
indexOf(Object o)
boolean
isEmpty()
Iterator<T>
iterator()
int
lastIndexOf(Object o)
ListIterator<T>
listIterator()
ListIterator<T>
listIterator(int index)
Stream<T>
parallelStream()
T
remove(int index)
boolean
remove(Object o)
boolean
removeAll(Collection<?> c)
boolean
removeIf(Predicate<? super T> filter)
void
replaceAll(UnaryOperator<T> operator)
boolean
retainAll(Collection<?> c)
T
set(int index, T element)
int
size()
void
sort(Comparator<? super T> c)
Spliterator<T>
spliterator()
Stream<T>
stream()
List<T>
subList(int fromIndex, int toIndex)
Object[]
toArray()
<T> T[]
toArray(T[] a)
String
toString()
-
从接口继承的方法 java.util.Collection
toArray
-
-
-
-
方法详细资料
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object obj)
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(Object o)
-
toArray
public Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
remove
public boolean remove(Object o)
-
containsAll
public boolean containsAll(Collection<?> c)
- 指定者:
containsAll
在接口中Collection<T>
- 指定者:
containsAll
在接口中List<T>
- 指定者:
containsAll
在接口中Set<T>
-
addAll
public boolean addAll(Collection<? extends T> c)
-
addAll
public boolean addAll(int index, Collection<? extends T> c)
-
removeAll
public boolean removeAll(Collection<?> c)
-
retainAll
public boolean retainAll(Collection<?> c)
-
replaceAll
public void replaceAll(UnaryOperator<T> operator)
- 指定者:
replaceAll
在接口中List<T>
-
sort
public void sort(Comparator<? super T> c)
-
clear
public void clear()
-
lastIndexOf
public int lastIndexOf(Object o)
- 指定者:
lastIndexOf
在接口中List<T>
-
listIterator
public ListIterator<T> listIterator()
- 指定者:
listIterator
在接口中List<T>
-
listIterator
public ListIterator<T> listIterator(int index)
- 指定者:
listIterator
在接口中List<T>
-
spliterator
public Spliterator<T> spliterator()
- 指定者:
spliterator
在接口中Collection<T>
- 指定者:
spliterator
在接口中Iterable<T>
- 指定者:
spliterator
在接口中List<T>
- 指定者:
spliterator
在接口中ListAndSet<T>
- 指定者:
spliterator
在接口中Set<T>
-
removeIf
public boolean removeIf(Predicate<? super T> filter)
- 指定者:
removeIf
在接口中Collection<T>
-
stream
public Stream<T> stream()
- 指定者:
stream
在接口中Collection<T>
-
parallelStream
public Stream<T> parallelStream()
- 指定者:
parallelStream
在接口中Collection<T>
-
-