public static interface OptoFactory.ConstantFactory
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
create(java.lang.Class type,
java.lang.Object object)
Return a representation of a "constant" suitable for optimization in the current runtime.
|
java.lang.Object create(java.lang.Class type, java.lang.Object object)
type
- the type to which the constant should conformobject
- the object which represents the constant's valueCopyright © 2001-2018 JRuby. All Rights Reserved.