站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

Enumerations.Processor (Utilities API) - NetBeans API Javadoc (Current Development Version)

org.openide.util 7.9.0 1

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.


Method Summary
 R process(T original, Collection<T> toAdd)
           
 

Method Detail

process

R process(T original,
          Collection<T> 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 7.9.0 1

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.