Packagevegas.core.types
Classpublic class Char
InheritanceChar Inheritance CoreObject

An object of type Char contains a single field whose type is String.



Public Methods
 MethodDefined by
  
Char(value:String = "")
Creates a new Char instance.
Char
  
getCode():Number
Returns the integer character code for the character.
Char
 Inherited
Returns the internal ILogger reference of this ILogable object.
CoreObject
 Inherited
hashCode():uint
Returns a hashcode value for the object.
CoreObject
 Inherited
setLogger(log:ILogger = null):void
Sets the internal ILogger reference of this ILogable object.
CoreObject
  
toSource(indent:int = 0):String
Returns a Eden representation of the object.
Char
  
toString():String
Returns the string representation of this instance.
Char
  
valueOf():Object
Returns the real value of the object.
Char
Constructor detail
Char()constructor
public function Char(value:String = "")

Creates a new Char instance.

Parameters
value:String (default = "")
Method detail
getCode()method
public function getCode():Number

Returns the integer character code for the character.

Returns
Number
toSource()method 
public override function toSource(indent:int = 0):String

Returns a Eden representation of the object.

Parameters
indent:int (default = 0)

Returns
String — a string representing the source code of the object.
toString()method 
public override function toString():String

Returns the string representation of this instance.

Returns
String — the string representation of this instance
valueOf()method 
public function valueOf():Object

Returns the real value of the object.

Returns
Object — the real value of the object.