org.openide.util 6.8.22

org.openide.util
Interface Enumerations.Processor

Enclosing class:
Enumerations

public static interface Enumerations.Processor

Processor interface that can filter out objects from the enumeration, change them or add aditional objects to the end of the current enumeration.


Method Summary
 Object process(Object original, Collection toAdd)
           
 

Method Detail

process

Object process(Object original,
               Collection toAdd)
Parameters:
original - the object that is going to be returned from the enumeration right now
toAdd - can be non-null if one can add new objects at the end of the enumeration
Returns:
a replacement for this object

org.openide.util 6.8.22

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.