org.op4j.operators.qualities
Interface DistinguishableOperator

All Known Subinterfaces:
ILevel0ArrayOperator<I,T>, ILevel0ArraySelectedOperator<I,T>, ILevel0ListOperator<I,T>, ILevel0ListSelectedOperator<I,T>
All Known Implementing Classes:
Level0ArrayOperator, Level0ArrayOperator, Level0ArraySelectedOperator, Level0ArraySelectedOperator, Level0ListOperator, Level0ListOperator, Level0ListSelectedOperator, Level0ListSelectedOperator

public interface DistinguishableOperator

This interface contains methods for performing a "distinct" operator (removing all duplicates from a structure).

Since:
1.0
Author:
Daniel Fernández

Method Summary
 Operator distinct()
           Removes all duplicate elements from the target collection or array.
 

Method Detail

distinct

Operator distinct()

Removes all duplicate elements from the target collection or array.

Returns:
an operator with the resulting target collection or array.


Copyright © 2012 The OP4J team. All Rights Reserved.