net.sourceforge.fluxion.datasource.filter.impl
Class GreaterThan<N extends java.lang.Number>

java.lang.Object
  extended by net.sourceforge.fluxion.datasource.filter.impl.GreaterThan<N>
All Implemented Interfaces:
Filter<N>

public class GreaterThan<N extends java.lang.Number>
extends java.lang.Object
implements Filter<N>

A Filter that accepts values greater than a given number.

Version:
0.2
Author:
Tony Burdett

Constructor Summary
GreaterThan(N value)
           
 
Method Summary
 boolean accept(N value)
          Determine whether the passed value is in the domain of objects this FilterAnn can accept.
 N getValue()
           
 void setValue(N value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GreaterThan

public GreaterThan(N value)
Method Detail

getValue

public N getValue()

setValue

public void setValue(N value)

accept

public boolean accept(N value)
Description copied from interface: Filter
Determine whether the passed value is in the domain of objects this FilterAnn can accept.

Specified by:
accept in interface Filter<N extends java.lang.Number>
Parameters:
value - the value to accept
Returns:
true if this filter can accept the given value


Copyright © 2010. All Rights Reserved.