Package org.codehaus.groovy.runtime.wrappers

# 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`

public class CharWrapper extends PojoWrapper
Wrapper for `char` values that preserves the primitive constrained type.

- ## Field Summary

  ### Fields inherited from class org.codehaus.groovy.runtime.wrappers.PojoWrapper

  `delegate, wrapped`

  ### Fields inherited from class org.codehaus.groovy.runtime.wrappers.Wrapper

  `constrainedType`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CharWrapper(char wrapped)`
  Creates a wrapper for a char value.

- ## Method Summary

  ### Methods inherited from class org.codehaus.groovy.runtime.wrappers.PojoWrapper

  `getDelegatedMetaClass, getProperty, getWrapped, invokeMethod, setMetaClass, setProperty, unwrap`

  ### Methods inherited from class org.codehaus.groovy.runtime.wrappers.Wrapper

  `getMetaClass, getType`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CharWrapper

    public CharWrapper(char wrapped)
    Creates a wrapper for a char value.
    Parameters:
      `wrapped` - the char value to wrap