E - 元素类型public class SetFromMap<E> extends AbstractSet<E> implements Serializable
| 构造器和说明 |
|---|
SetFromMap(Map<E,Boolean> map)
构造
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(E e) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
void |
forEach(Consumer<? super E> action) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
Stream<E> |
parallelStream() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
removeIf(Predicate<? super E> filter) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Spliterator<E> |
spliterator() |
Stream<E> |
stream() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
addAllpublic void clear()
clear 在接口中 Collection<E>clear 在接口中 Set<E>clear 在类中 AbstractCollection<E>public int size()
size 在接口中 Collection<E>size 在接口中 Set<E>size 在类中 AbstractCollection<E>public boolean isEmpty()
isEmpty 在接口中 Collection<E>isEmpty 在接口中 Set<E>isEmpty 在类中 AbstractCollection<E>public boolean contains(Object o)
contains 在接口中 Collection<E>contains 在接口中 Set<E>contains 在类中 AbstractCollection<E>public boolean remove(Object o)
remove 在接口中 Collection<E>remove 在接口中 Set<E>remove 在类中 AbstractCollection<E>public boolean add(E e)
add 在接口中 Collection<E>add 在接口中 Set<E>add 在类中 AbstractCollection<E>public Object[] toArray()
toArray 在接口中 Collection<E>toArray 在接口中 Set<E>toArray 在类中 AbstractCollection<E>public <T> T[] toArray(T[] a)
toArray 在接口中 Collection<E>toArray 在接口中 Set<E>toArray 在类中 AbstractCollection<E>public String toString()
toString 在类中 AbstractCollection<E>public int hashCode()
hashCode 在接口中 Collection<E>hashCode 在接口中 Set<E>hashCode 在类中 AbstractSet<E>public boolean equals(Object o)
equals 在接口中 Collection<E>equals 在接口中 Set<E>equals 在类中 AbstractSet<E>public boolean containsAll(Collection<?> c)
containsAll 在接口中 Collection<E>containsAll 在接口中 Set<E>containsAll 在类中 AbstractCollection<E>public boolean removeAll(Collection<?> c)
removeAll 在接口中 Collection<E>removeAll 在接口中 Set<E>removeAll 在类中 AbstractSet<E>public boolean retainAll(Collection<?> c)
retainAll 在接口中 Collection<E>retainAll 在接口中 Set<E>retainAll 在类中 AbstractCollection<E>public boolean removeIf(Predicate<? super E> filter)
removeIf 在接口中 Collection<E>public Spliterator<E> spliterator()
spliterator 在接口中 Iterable<E>spliterator 在接口中 Collection<E>spliterator 在接口中 Set<E>public Stream<E> stream()
stream 在接口中 Collection<E>public Stream<E> parallelStream()
parallelStream 在接口中 Collection<E>Copyright © 2024. All rights reserved.