net.vidageek.mirror.list.dsl
Interface Matcher<T>
- Type Parameters:
T - Type of the matcher.
- All Known Subinterfaces:
- Matcher<T>
- All Known Implementing Classes:
- EqualMethodRemover, GetterMatcher, SameNameMatcher, SetterMatcher
public interface Matcher<T>
This is the interface defining matchers. Matchers are used to determine which
elements should be included on a list.
- Author:
- jonasabreu
|
Method Summary |
boolean |
accepts(T element)
This method determines if the element must be allowed to be on the list. |
accepts
boolean accepts(T element)
- This method determines if the element must be allowed to be on the list.
- Parameters:
element -
- Returns:
- true if the element is allowed. false otherwise.
Copyright © 2011 VidaGeek.net. All Rights Reserved.