public abstract class AbstractObjectSet<K> extends AbstractObjectCollection<K> implements Cloneable, ObjectSet<K>
| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
AbstractObjectSet() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(Object o) |
int |
hashCode()
Returns a hash code for this set.
|
abstract ObjectIterator<K> |
iterator()
Returns a type-specific iterator on the elements of this collection.
|
boolean |
remove(Object k)
Removes an element from this set.
|
add, addAll, containsAll, isEmpty, objectIterator, removeAll, retainAll, toArray, toArray, toStringclear, contains, sizeobjectIterator, toArrayadd, addAll, clear, contains, containsAll, isEmpty, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, removeIf, streampublic abstract ObjectIterator<K> iterator()
ObjectCollectionNote that this specification strengthens the one given in
Iterable.iterator(), which was already
strengthened in the corresponding type-specific class,
but was weakened by the fact that this interface extends Collection.
iterator インタフェース内 ObjectCollection<K>iterator インタフェース内 ObjectIterable<K>iterator インタフェース内 ObjectSet<K>iterator インタフェース内 Iterable<K>iterator インタフェース内 Collection<K>iterator インタフェース内 Set<K>iterator クラス内 AbstractObjectCollection<K>public boolean equals(Object o)
public int hashCode()
public boolean remove(Object k)
ObjectSetNote that the corresponding method of the type-specific collection is rem().
This unfortunate situation is caused by the clash
with the similarly named index-based method in the List interface.
remove インタフェース内 ObjectSet<K>remove インタフェース内 Collection<K>remove インタフェース内 Set<K>remove クラス内 AbstractCollection<K>Collection.remove(Object)Copyright © 2011–2016. All rights reserved.