org.eigenbase.util
Class ReflectVisitorTest.CarelessNumberNegater
java.lang.Object
org.eigenbase.util.ReflectVisitorTest.NumberNegater
org.eigenbase.util.ReflectVisitorTest.CarelessNumberNegater
- All Implemented Interfaces:
- ReflectiveVisitor
- Direct Known Subclasses:
- ReflectVisitorTest.CarefulNumberNegater
- Enclosing class:
- ReflectVisitorTest
public class ReflectVisitorTest.CarelessNumberNegater
- extends ReflectVisitorTest.NumberNegater
CarelessNumberNegater implements NumberNegater in a careless fashion by
converting its input to a double and then negating that. This can lose
precision for types such as BigInteger.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReflectVisitorTest.CarelessNumberNegater
public ReflectVisitorTest.CarelessNumberNegater()
visit
public void visit(Number n)