- java.lang.Object
 - 
- java.util.AbstractCollection<E>
 - 
- java.util.AbstractSet<V>
 - 
- cn.mcres.karlatemp.mxlib.util.MapKeySet<V>
 
 
 
 
- 
- 类型参数:
 V- The type of this set
- 所有已实现的接口:
 Iterable<V>,Collection<V>,Set<V>
public class MapKeySet<V> extends AbstractSet<V>
Make a map to set- 从以下版本开始:
 - 2.6
 
 
- 
- 
方法概要
修饰符和类型 方法 说明 booleanadd(V v)booleanaddAll(Collection<? extends V> c)voidclear()booleancontains(Object o)booleancontainsAll(Collection<?> c)voidforEach(Consumer<? super V> action)inthashCode()booleanisEmpty()@NotNull Iterator<V>iterator()Stream<V>parallelStream()booleanremove(Object o)booleanremoveAll(Collection<?> c)booleanremoveIf(Predicate<? super V> filter)booleanretainAll(Collection<?> c)intsize()Spliterator<V>spliterator()Stream<V>stream()@NotNull Object[]toArray()<T> @NotNull T[]toArray(@NotNull T[] a)StringtoString()- 
从类继承的方法 java.util.AbstractSet
equals 
- 
从接口继承的方法 java.util.Collection
toArray 
 - 
 
 - 
 
- 
- 
方法详细资料
- 
hashCode
public int hashCode()
- 指定者:
 hashCode在接口中Collection<V>- 指定者:
 hashCode在接口中Set<V>- 覆盖:
 hashCode在类中AbstractSet<V>
 
- 
removeAll
public boolean removeAll(Collection<?> c)
- 指定者:
 removeAll在接口中Collection<V>- 指定者:
 removeAll在接口中Set<V>- 覆盖:
 removeAll在类中AbstractSet<V>
 
- 
isEmpty
public boolean isEmpty()
- 指定者:
 isEmpty在接口中Collection<V>- 指定者:
 isEmpty在接口中Set<V>- 覆盖:
 isEmpty在类中AbstractCollection<V>
 
- 
contains
public boolean contains(Object o)
- 指定者:
 contains在接口中Collection<V>- 指定者:
 contains在接口中Set<V>- 覆盖:
 contains在类中AbstractCollection<V>
 
- 
toArray
@NotNull public @NotNull Object[] toArray()
- 指定者:
 toArray在接口中Collection<V>- 指定者:
 toArray在接口中Set<V>- 覆盖:
 toArray在类中AbstractCollection<V>
 
- 
toArray
@NotNull public <T> @NotNull T[] toArray(@NotNull @NotNull T[] a)- 指定者:
 toArray在接口中Collection<V>- 指定者:
 toArray在接口中Set<V>- 覆盖:
 toArray在类中AbstractCollection<V>
 
- 
add
public boolean add(V v)
- 指定者:
 add在接口中Collection<V>- 指定者:
 add在接口中Set<V>- 覆盖:
 add在类中AbstractCollection<V>
 
- 
remove
public boolean remove(Object o)
- 指定者:
 remove在接口中Collection<V>- 指定者:
 remove在接口中Set<V>- 覆盖:
 remove在类中AbstractCollection<V>
 
- 
containsAll
public boolean containsAll(Collection<?> c)
- 指定者:
 containsAll在接口中Collection<V>- 指定者:
 containsAll在接口中Set<V>- 覆盖:
 containsAll在类中AbstractCollection<V>
 
- 
addAll
public boolean addAll(Collection<? extends V> c)
- 指定者:
 addAll在接口中Collection<V>- 指定者:
 addAll在接口中Set<V>- 覆盖:
 addAll在类中AbstractCollection<V>
 
- 
retainAll
public boolean retainAll(Collection<?> c)
- 指定者:
 retainAll在接口中Collection<V>- 指定者:
 retainAll在接口中Set<V>- 覆盖:
 retainAll在类中AbstractCollection<V>
 
- 
clear
public void clear()
- 指定者:
 clear在接口中Collection<V>- 指定者:
 clear在接口中Set<V>- 覆盖:
 clear在类中AbstractCollection<V>
 
- 
toString
public String toString()
- 覆盖:
 toString在类中AbstractCollection<V>
 
- 
spliterator
public Spliterator<V> spliterator()
 
- 
size
public int size()
- 指定者:
 size在接口中Collection<V>- 指定者:
 size在接口中Set<V>- 指定者:
 size在类中AbstractCollection<V>
 
 - 
 
 -