Processor
Date: 2013-06-18

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gcube.contentmanagement.gcubedocumentlibrary.streams.filters
Class Processor<T>

    java.lang.Object
      org.gcube.contentmanagement.gcubedocumentlibrary.streams.filters.Processor<T>

Type Parameters:
  `T` - the type of elements iterated over.

All Implemented Interfaces:
  Filter<T,T>

    public abstract class Processor<T>

extends java.lang.Object
implements Filter<T,T>

A `Filter` that post-processes elements produced by the iteration.

Author:
  Fabio Simeoni (University of Strathclyde)

Constructor Summary
`Processor()`

Method Summary
`T` | `apply(T element)` Applies the filter to elements of the iteration.

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

Constructor Detail

### Processor

    public Processor()

Method Detail

### apply

    public T apply(T element)
            throws java.lang.Exception

  Applies the filter to elements of the iteration.

  Specified by:
    `apply` in interface `Filter<T,T>`
  Parameters:
    `element` - the last element produced by the iteration.
  Returns:
    the element that should be returned instead.
  Throws:
    `java.lang.Exception` - if the filter could not be applied.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD