|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.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(Enumeration enmr)
Construct a Sorted enumerator. |
|
SortedEnumerator(Iterator iterator)
Construct a Sorted enumerator. |
|
| Method Summary | |
|---|---|
static Object[] |
toArray(Enumeration enmr)
Return the contents of the passed Enumeration as a sorted array. |
static Object[] |
toArray(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(Enumeration enmr)
enmr - the Enumeration that needs to be sortedpublic SortedEnumerator(Iterator iterator)
iterator - the Iterator that needs to be sorted| Method Detail |
|---|
public static Object[] toArray(Enumeration enmr)
enmr - an Enumeration of potentially unsorted objects
public static Object[] toArray(Iterator iterator)
iterator - an Iterator of potentially unsorted objects
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||