Class CharWrapper
java.lang.Object
org.codehaus.groovy.runtime.wrappers.Wrapper
org.codehaus.groovy.runtime.wrappers.PojoWrapper
org.codehaus.groovy.runtime.wrappers.CharWrapper
- All Implemented Interfaces:
GroovyObject
Wrapper for
char values that preserves the primitive constrained
type.-
Field Summary
Fields inherited from class org.codehaus.groovy.runtime.wrappers.PojoWrapper
delegate, wrappedFields inherited from class org.codehaus.groovy.runtime.wrappers.Wrapper
constrainedType -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.groovy.runtime.wrappers.PojoWrapper
getDelegatedMetaClass, getProperty, getWrapped, invokeMethod, setMetaClass, setProperty, unwrapMethods inherited from class org.codehaus.groovy.runtime.wrappers.Wrapper
getMetaClass, getType
-
Constructor Details
-
CharWrapper
public CharWrapper(char wrapped) Creates a wrapper for a char value.- Parameters:
wrapped- the char value to wrap
-