- 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
-
-
方法概要
修饰符和类型 方法 说明 boolean
add(V v)
boolean
addAll(Collection<? extends V> c)
void
clear()
boolean
contains(Object o)
boolean
containsAll(Collection<?> c)
void
forEach(Consumer<? super V> action)
int
hashCode()
boolean
isEmpty()
@NotNull Iterator<V>
iterator()
Stream<V>
parallelStream()
boolean
remove(Object o)
boolean
removeAll(Collection<?> c)
boolean
removeIf(Predicate<? super V> filter)
boolean
retainAll(Collection<?> c)
int
size()
Spliterator<V>
spliterator()
Stream<V>
stream()
@NotNull Object[]
toArray()
<T> @NotNull T[]
toArray(@NotNull T[] a)
String
toString()
-
从类继承的方法 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>
-
-