org.callbackparams.wrap
Class WrappingSupport<V>

java.lang.Object
  extended by org.callbackparams.wrap.legacy.WrappingLegacySupport
      extended by org.callbackparams.wrap.WrappingSupport<V>
All Implemented Interfaces:
Wrapping
Direct Known Subclasses:
Property.BasicImpl

public class WrappingSupport<V>
extends WrappingLegacySupport
implements Wrapping<V>

Author:
Henrik Kaipe

Constructor Summary
WrappingSupport()
           
 
Method Summary
 String toString()
           
static
<W extends Wrapping<V>,V>
W[]
wrap(Class<W> targetClass, V... wrappedValues)
          Same as WrappingLegacySupport.wrapArray(java.lang.Class, java.lang.Object[]) but with a Java5+ enhanced method-signature, which has two generic type-parameters and a vararg argument.
 V wrappedValue()
           
 
Methods inherited from class org.callbackparams.wrap.legacy.WrappingLegacySupport
wrapArray, wrapSingle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WrappingSupport

public WrappingSupport()
Method Detail

wrappedValue

public V wrappedValue()
Specified by:
wrappedValue in interface Wrapping
Returns:
the wrapped value

wrap

public static <W extends Wrapping<V>,V> W[] wrap(Class<W> targetClass,
                                                 V... wrappedValues)
Same as WrappingLegacySupport.wrapArray(java.lang.Class, java.lang.Object[]) but with a Java5+ enhanced method-signature, which has two generic type-parameters and a vararg argument.


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010-2013 Henrik Kaipe. All Rights Reserved.