类 ComparatorSet<T>
- java.lang.Object
-
- cn.mcres.gyhhy.MXLib.ext.java.util.ComparatorSet<T>
-
- 所有已实现的接口:
Iterable<T>
,Collection<T>
,Set<T>
public class ComparatorSet<T> extends Object implements Set<T>
-
-
字段概要
字段 修饰符和类型 字段 说明 static Comparator<Object>
DEFAULT
-
构造器概要
构造器 构造器 说明 ComparatorSet()
ComparatorSet(Comparator<T> ct)
-
方法概要
修饰符和类型 方法 说明 boolean
add(T e)
boolean
addAll(Collection<? extends T> c)
ListAndSet<T>
asList()
<TT> ListAndSet<TT>
asListCustom()
void
clear()
boolean
contains(Object o)
boolean
containsAll(Collection<?> c)
boolean
equals(Object obj)
void
forEach(Consumer<? super T> action)
T
get(int index)
Comparator<T>
getComparator()
int
hashCode()
boolean
isEmpty()
Iterator<T>
iterator()
static void
main(String[] test)
Stream<T>
parallelStream()
void
remove(int id)
boolean
remove(Object o)
boolean
removeAll(Collection<?> c)
boolean
removeIf(Predicate<? super T> filter)
boolean
retainAll(Collection<?> c)
T
search(Object k)
int
size()
void
sort()
Spliterator<T>
spliterator()
Stream<T>
stream()
Object[]
toArray()
<T> T[]
toArray(T[] a)
String
toString()
-
从接口继承的方法 java.util.Collection
toArray
-
-
-
-
字段详细资料
-
DEFAULT
public static final Comparator<Object> DEFAULT
-
-
构造器详细资料
-
ComparatorSet
public ComparatorSet(Comparator<T> ct)
-
ComparatorSet
public ComparatorSet()
-
-
方法详细资料
-
equals
public boolean equals(Object obj)
-
hashCode
public int hashCode()
-
getComparator
public Comparator<T> getComparator()
-
asListCustom
public <TT> ListAndSet<TT> asListCustom()
-
asList
public ListAndSet<T> asList()
-
contains
public boolean contains(Object o)
-
spliterator
public Spliterator<T> spliterator()
- 指定者:
spliterator
在接口中Collection<T>
- 指定者:
spliterator
在接口中Iterable<T>
- 指定者:
spliterator
在接口中Set<T>
-
get
public T get(int index)
-
main
public static void main(String[] test) throws InterruptedException
-
containsAll
public boolean containsAll(Collection<?> c)
- 指定者:
containsAll
在接口中Collection<T>
- 指定者:
containsAll
在接口中Set<T>
-
addAll
public boolean addAll(Collection<? extends T> c)
-
retainAll
public boolean retainAll(Collection<?> c)
-
removeAll
public boolean removeAll(Collection<?> c)
-
remove
public void remove(int id)
-
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>
-
sort
public void sort()
-
-