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