org.skyscreamer.nevado.jms.util
Class CharWrapper

java.lang.Object
  extended by org.skyscreamer.nevado.jms.util.CharWrapper
All Implemented Interfaces:
Serializable

public class CharWrapper
extends Object
implements Serializable

A simple wrapper to get around the fact that Hessian doesn't properly convert java.lang.Character. Details on the Hessian problem here: http://stackoverflow.com/questions/10011696/hessian-deserializes-java-lang-character-as-a-string

See Also:
Serialized Form

Constructor Summary
CharWrapper(char c)
           
CharWrapper(Character c)
           
 
Method Summary
 char charValue()
           
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CharWrapper

public CharWrapper(char c)

CharWrapper

public CharWrapper(Character c)
Method Detail

charValue

public char charValue()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.