Skip navigation links
com.tangosol.util
Class SafeSortedMap.ViewMap.EntrySet
java.lang.Object
java.util.AbstractCollection
java.util.AbstractSet
com.tangosol.util.SafeSortedMap.ViewMap.EntrySet
- All Implemented Interfaces:
- Iterable, Collection, Set
- Enclosing class:
- SafeSortedMap.ViewMap
-
protected class SafeSortedMap.ViewMap.EntrySet
- extends AbstractSet
A Set of Entries backed by this ViewMap.
Method Summary |
Iterator |
iterator()
Returns an iterator over the elements contained in this collection. |
int |
size()
Returns the number of elements in this collection. |
Methods inherited from class java.util.AbstractCollection |
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString |
SafeSortedMap.ViewMap.EntrySet
protected SafeSortedMap.ViewMap.EntrySet()
size
public int size()
- Returns the number of elements in this collection. If the collection contains more than Integer.MAX_VALUE elements, returns Integer.MAX_VALUE.
-
- Specified by:
size
in interface Collection
- Specified by:
size
in interface Set
- Specified by:
size
in class AbstractCollection
-
- Returns:
- the number of elements in this collection.
iterator
public Iterator iterator()
- Returns an iterator over the elements contained in this collection.
-
- Specified by:
iterator
in interface Iterable
- Specified by:
iterator
in interface Collection
- Specified by:
iterator
in interface Set
- Specified by:
iterator
in class AbstractCollection
-
- Returns:
- an iterator over the elements contained in this collection.
Skip navigation links
Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.