Class BaseFinder<S,​T>

  • All Implemented Interfaces:
    org.hamcrest.SelfDescribing, Finder<S,​T>
    Direct Known Subclasses:
    HtmlTagFinder, XPathFinder

    @Deprecated
    public abstract class BaseFinder<S,​T>
    extends java.lang.Object
    implements Finder<S,​T>
    Deprecated.
    Base class for Finders. These allow the creation of a specification to be applied to objects of type T, to identify and return a Collection of any contained objects of type S.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<org.hamcrest.Matcher<S>> matchers
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseFinder()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected java.util.Collection<S> allMatching​(java.util.List<org.hamcrest.Matcher<S>> matchers, java.util.Collection<S> items)
      Deprecated.
       
      protected abstract void describeTargetTo​(org.hamcrest.Description description)
      Deprecated.
       
      void describeTo​(org.hamcrest.Description description)
      Deprecated.
       
      protected abstract java.util.Collection<S> extractFrom​(T context)
      Deprecated.
       
      java.util.Collection<S> findFrom​(T context)
      Deprecated.
       
      Finder<S,​T> with​(org.hamcrest.Matcher<S> matcher)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • matchers

        protected java.util.List<org.hamcrest.Matcher<S>> matchers
        Deprecated.
    • Constructor Detail

      • BaseFinder

        public BaseFinder()
        Deprecated.
    • Method Detail

      • findFrom

        public java.util.Collection<S> findFrom​(T context)
        Deprecated.
        Specified by:
        findFrom in interface Finder<S,​T>
      • with

        public Finder<S,​T> with​(org.hamcrest.Matcher<S> matcher)
        Deprecated.
        Specified by:
        with in interface Finder<S,​T>
      • describeTo

        public void describeTo​(org.hamcrest.Description description)
        Deprecated.
        Specified by:
        describeTo in interface org.hamcrest.SelfDescribing
      • extractFrom

        protected abstract java.util.Collection<S> extractFrom​(T context)
        Deprecated.
      • describeTargetTo

        protected abstract void describeTargetTo​(org.hamcrest.Description description)
        Deprecated.
      • allMatching

        protected java.util.Collection<S> allMatching​(java.util.List<org.hamcrest.Matcher<S>> matchers,
                                                      java.util.Collection<S> items)
        Deprecated.