Java EE 5 SDK

com.sun.appserv.management.util.misc
Class IteratorUtil

java.lang.Object
  extended by com.sun.appserv.management.util.misc.IteratorUtil

public final class IteratorUtil
extends Object


Method Summary
static Class getUniformClass(Iterator<?> iter)
           
static
<T> boolean
isUniformClass(Iterator iter, Class<T> theClass, boolean exactMatch)
           
static
<T> Object[]
toArray(Iterator<T> iter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toArray

public static <T> Object[] toArray(Iterator<T> iter)

getUniformClass

public static Class getUniformClass(Iterator<?> iter)

isUniformClass

public static <T> boolean isUniformClass(Iterator iter,
                                         Class<T> theClass,
                                         boolean exactMatch)

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.