org.softsmithy.lib.util
Class MatchableObject<T>

java.lang.Object
  extended by org.softsmithy.lib.util.MatchableObject<T>

public class MatchableObject<T>
extends Object

Author:
puce

Constructor Summary
MatchableObject(T object, Matcher<T> matcher)
           
 
Method Summary
 boolean equals(Object obj)
           
 Matcher<T> getMatcher()
           
 T getObject()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MatchableObject

public MatchableObject(T object,
                       Matcher<T> matcher)
                throws MatchingException
Throws:
MatchingException
Method Detail

getObject

public T getObject()

getMatcher

public Matcher<T> getMatcher()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2011 SoftSmithy. All Rights Reserved.