hmi.util
Interface FoldOp<S,T>

Type Parameters:
S - aggregate type
T - element type

public interface FoldOp<S,T>

Interface for "fold" operations

Author:
Job Zwiers

Method Summary
 S fold(S aggregate, T obj)
          Folds are function (objects) that map some element from type S and some T object into an S object.
 

Method Detail

fold

S fold(S aggregate,
       T obj)
Folds are function (objects) that map some element from type S and some T object into an S object.