org.apache.commons.ognl.test.objects
Class EvenOdd
java.lang.Object
org.apache.commons.ognl.test.objects.EvenOdd
public class EvenOdd
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvenOdd
public EvenOdd()
getNext
public String getNext()
- Returns "even" or "odd". Whatever it returns on one invocation, it will return the opposite on the next. By
default, the first value returned is "even".
isEven
public boolean isEven()
setEven
public void setEven(boolean value)
- Overrides the even flag.
Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.