edu.mit.ai.psg.utilities
Interface ICollection

All Known Subinterfaces:
ISet

public interface ICollection
extends Collection

A Collection interface with functional methods that return collections.


Method Summary
 ICollection map(IUnaryFunction theFunction)
           
 ICollection select(IUnaryPredicate thePredicate)
           
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

select

public ICollection select(IUnaryPredicate thePredicate)

map

public ICollection map(IUnaryFunction theFunction)

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-feedback@ai.mit.edu