bpiwowar.argparser.checkers
Class OrChecker

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<ValueChecker>
              extended by bpiwowar.argparser.checkers.OrChecker
All Implemented Interfaces:
ValueChecker, Serializable, Cloneable, Iterable<ValueChecker>, Collection<ValueChecker>, List<ValueChecker>, RandomAccess

public class OrChecker
extends ArrayList<ValueChecker>
implements ValueChecker

Check that at least test is verified

Author:
bpiwowar
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
OrChecker()
           
 
Method Summary
 boolean check(Object object)
          Check that the value is within a valid range
 String getDescription()
          Get the description of the value checker
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

OrChecker

public OrChecker()
Method Detail

check

public boolean check(Object object)
Description copied from interface: ValueChecker
Check that the value is within a valid range

Specified by:
check in interface ValueChecker

getDescription

public String getDescription()
Description copied from interface: ValueChecker
Get the description of the value checker

Specified by:
getDescription in interface ValueChecker


Copyright © 2013. All Rights Reserved.