Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ESC/Java2 © 2003,2004,2005 David Cok and Joseph Kiniry © 2005 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javafe.filespace
Class FilterEnum

    java.lang.Object
      javafe.filespace.LookAheadEnum
          javafe.filespace.FilterEnum

All Implemented Interfaces:
  java.util.Enumeration

class FilterEnum
extends LookAheadEnum

A FilterEnum filters an underlying Enumeration using a client supplied Filter.

Field Summary
`Filter` | `filter` The filter we are using:
`protected java.util.Enumeration` | `underlyingEnum` The underlying Enumeration:

Constructor Summary
`FilterEnum(java.util.Enumeration E, Filter F)` Filter the Enumeration E using Filter F:

Method Summary
`protected java.lang.Object` | `calcNextElement()` Compute the next element in the series, or return null if the series is exhausted.
`boolean` | `hasMoreElements()`
`java.lang.Object` | `nextElement()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### underlyingEnum

    protected java.util.Enumeration underlyingEnum

  The underlying Enumeration:

### filter

    public Filter filter

  The filter we are using:

Constructor Detail

### FilterEnum

    public FilterEnum(java.util.Enumeration E,
                      Filter F)

  Filter the Enumeration E using Filter F:

Method Detail

### calcNextElement

    protected java.lang.Object calcNextElement()

  Compute the next element in the series, or return null if the series is exhausted.

  Specified by:
    `calcNextElement` in class `LookAheadEnum`

### hasMoreElements

    public final boolean hasMoreElements()

  Specified by:
    `hasMoreElements` in interface `java.util.Enumeration`
  Returns:
    true iff any more elements exist in this enumeration.

### nextElement

    public final java.lang.Object nextElement()

  Specified by:
    `nextElement` in interface `java.util.Enumeration`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ESC/Java2 © 2003,2004,2005 David Cok and Joseph Kiniry © 2005 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

The ESC/Java2 Project Homepage