Interface Store

  • All Implemented Interfaces:

    
    public interface Store<T>
    
                        

    A generic interface describing a simple store of objects.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Collection<T> getMatches(Selector<T> selector) Return a possibly empty collection of objects that match the criteria implemented in the passed in Selector.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getMatches

         abstract Collection<T> getMatches(Selector<T> selector)

        Return a possibly empty collection of objects that match the criteria implemented in the passed in Selector.

        Parameters:
        selector - the selector defining the match criteria.
        Returns:

        a collection of matching objects, empty if none available.