org.op4j.operators.qualities
Interface GenerizableOperator<I,T>

All Known Subinterfaces:
ILevel0ArrayOperator<I,T>, ILevel0BuildingMapOperator<I,K,V>, ILevel0IndefiniteArrayOperator<I,T>, ILevel0ListOperator<I,T>, ILevel0MapOperator<I,K,V>, ILevel0SetOperator<I,T>
All Known Implementing Classes:
Level0ArrayOperator, Level0ArrayOperator, Level0BuildingMapOperator, Level0IndefiniteArrayOperator, Level0ListOperator, Level0ListOperator, Level0MapOperator, Level0MapOperator, Level0SetOperator, Level0SetOperator

public interface GenerizableOperator<I,T>

This interface contains methods for converting specialized structure operators (list, set, array...) into generic operators (as if an "Op.on" was executed on them instead of "Op.onList", "Op.onArray", etc.)

Since:
1.0
Author:
Daniel Fernández

Method Summary
 ILevel0GenericUniqOperator<I,T> generic()
           Converts the specialized structure operator into generic operators (with no specific methods for structures - e.g. forEach())
 

Method Detail

generic

ILevel0GenericUniqOperator<I,T> generic()

Converts the specialized structure operator into generic operators (with no specific methods for structures - e.g. forEach())

Returns:
a generic operator on the same target object


Copyright © 2012 The OP4J team. All Rights Reserved.