    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class collections.ArrayEnumeration

    java.lang.Object
       |
       +----collections.ArrayEnumeration

public final class ArrayEnumeration
extends Object
implements CollectionEnumeration

ArrayEnumeration allows you to use arrays as Enumerations

##

ArrayEnumeration(Object[])
  Build an enumeration that returns successive elements of the array

##

corrupted()
  Implements collections.CollectionEnumeration.corrupted.
hasMoreElements()
  Implements java.util.Enumeration.hasMoreElements.
nextElement()
  Implements java.util.Enumeration.nextElement().
numberOfRemainingElements()
  Implements collections.CollectionEnumeration.numberOfRemainingElements

##

ArrayEnumeration

     public ArrayEnumeration(Object arr[])

  Build an enumeration that returns successive elements of the array

##

numberOfRemainingElements

     public int numberOfRemainingElements()

  Implements collections.CollectionEnumeration.numberOfRemainingElements

  See Also:
    numberOfRemainingElements

hasMoreElements

     public boolean hasMoreElements()

  Implements java.util.Enumeration.hasMoreElements.

  See Also:
    hasMoreElements

corrupted

     public boolean corrupted()

  Implements collections.CollectionEnumeration.corrupted. Always false. Inconsistency cannot be reliably detected for arrays

  Returns:
    false
  See Also:
    corrupted

nextElement

     public Object nextElement()

  Implements java.util.Enumeration.nextElement().

  See Also:
    nextElement

    All Packages  Class Hierarchy  This Package  Previous  Next  Index