|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.SimpleEnumerator
com.tangosol.util.SortedEnumerator
public class SortedEnumerator
Sorts the contents of the passed enumerator then enumerates those contents.
| Field Summary |
|---|
| Fields inherited from class com.tangosol.util.SimpleEnumerator |
|---|
m_aoItem, m_fForward, m_iItem, m_ofLimit |
| Constructor Summary | |
|---|---|
SortedEnumerator(java.util.Enumeration enmr)Construct a Sorted enumerator. |
|
SortedEnumerator(java.util.Iterator iterator)Construct a Sorted enumerator. |
|
| Method Summary | |
|---|---|
static java.lang.Object[] |
toArray(java.util.Enumeration enmr)Return the contents of the passed Enumeration as a sorted array. |
static java.lang.Object[] |
toArray(java.util.Iterator iterator)Return the contents of the passed Iterator as a sorted array. |
| Methods inherited from class com.tangosol.util.SimpleEnumerator |
|---|
hasMoreElements, hasNext, next, nextElement, remove, toArray, toArray, toArray, toArray |
| Constructor Detail |
|---|
public SortedEnumerator(java.util.Enumeration enmr)
enmr - the Enumeration that needs to be sortedpublic SortedEnumerator(java.util.Iterator iterator)
iterator - the Iterator that needs to be sorted| Method Detail |
|---|
public static java.lang.Object[] toArray(java.util.Enumeration enmr)
enmr - an Enumeration of potentially unsorted objectspublic static java.lang.Object[] toArray(java.util.Iterator iterator)
iterator - an Iterator of potentially unsorted objects
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||