Package org.codehaus.groovy.runtime.wrappers

# Class ByteWrapper

java.lang.Object
org.codehaus.groovy.runtime.wrappers.Wrapper
org.codehaus.groovy.runtime.wrappers.PojoWrapper
org.codehaus.groovy.runtime.wrappers.ByteWrapper

All Implemented Interfaces:
  `GroovyObject`

public class ByteWrapper extends PojoWrapper
Wrapper for `byte` 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
  `ByteWrapper(byte wrapped)`
  Creates a wrapper for a byte 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

  - ### ByteWrapper

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