Package tech.units.indriya.quantity
Class ProxyQuantityFactory.GenericHandler<Q extends javax.measure.Quantity<Q>>
- java.lang.Object
-
- tech.units.indriya.quantity.ProxyQuantityFactory.GenericHandler<Q>
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
- Enclosing class:
- ProxyQuantityFactory<Q extends javax.measure.Quantity<Q>>
private static final class ProxyQuantityFactory.GenericHandler<Q extends javax.measure.Quantity<Q>> extends java.lang.Object implements java.lang.reflect.InvocationHandler
The method invocation handler for implementation backed by any kind ofNumber
. This is a fall back used when no specialized handler is available for the number type.
-
-
Constructor Summary
Constructors Constructor Description GenericHandler(java.lang.Number value, javax.measure.Unit<Q> unit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
-
-
-
Constructor Detail
-
GenericHandler
GenericHandler(java.lang.Number value, javax.measure.Unit<Q> unit)
-
-