net.vidageek.mirror.list
Class SameNameMatcher

java.lang.Object
  extended by net.vidageek.mirror.list.SameNameMatcher
All Implemented Interfaces:
Matcher<Method>

public final class SameNameMatcher
extends Object
implements Matcher<Method>

Author:
jonasabreu

Constructor Summary
SameNameMatcher(String methodName)
           
 
Method Summary
 boolean accepts(Method method)
          This method determines if the element must be allowed to be on the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SameNameMatcher

public SameNameMatcher(String methodName)
Method Detail

accepts

public boolean accepts(Method method)
Description copied from interface: Matcher
This method determines if the element must be allowed to be on the list.

Specified by:
accepts in interface Matcher<Method>
Returns:
true if the element is allowed. false otherwise.


Copyright © 2011 VidaGeek.net. All Rights Reserved.