org.mockito.internal.matchers
Class LessThan<T extends java.lang.Comparable<T>>

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.mockito.ArgumentMatcher<T>
          extended by org.mockito.internal.matchers.CompareTo<T>
              extended by org.mockito.internal.matchers.LessThan<T>
All Implemented Interfaces:
org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing

public class LessThan<T extends java.lang.Comparable<T>>
extends CompareTo<T>


Constructor Summary
LessThan(java.lang.Comparable<T> value)
           
 
Method Summary
protected  java.lang.String getName()
           
protected  boolean matchResult(int result)
           
 
Methods inherited from class org.mockito.internal.matchers.CompareTo
describeTo, matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LessThan

public LessThan(java.lang.Comparable<T> value)
Method Detail

getName

protected java.lang.String getName()
Specified by:
getName in class CompareTo<T extends java.lang.Comparable<T>>

matchResult

protected boolean matchResult(int result)
Specified by:
matchResult in class CompareTo<T extends java.lang.Comparable<T>>