当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
Enumerations.Processor (Utilities API) - NetBeans API Javadoc (Current Development Version)
org.openide.util
Interface Enumerations.Processor<T,R>
- Enclosing class:
- Enumerations
public static interface Enumerations.Processor<T,R>
Processor interface that can filter out objects from the enumeration,
change them or add aditional objects to the end of the current enumeration.
process
R process(T original,
Collection<T> toAdd)
- Parameters:
original
- the object that is going to be returned from the enumeration right nowtoAdd
- can be non-null if one can add new objects at the end of the enumeration
- Returns:
- a replacement for this object