/* Copyright (c) 2000-2006 hamcrest.org
Matcher implementations should NOT directly implement this interface.
Instead, extend the
BaseMatcher abstract class,
which will ensure that the Matcher API can grow to support
new features and remain compatible with all Matcher implementations.
For easy access to common Matcher implementations, use the static factory
This method matches against Object, instead of the generic type T. This is because the caller of the Matcher does not know at runtime what the type is (because of type erasure with Java generics). It is down to the implementations to check the correct type.
itemthe object against which the matcher is evaluated.
trueif item matches, otherwise