| Package | vegas.util |
| Class | public class AbstractTypeable |
| Inheritance | AbstractTypeable CoreObject |
| Implements | ITypeable, IValidator |
| Subclasses | TypedCollection, TypedMap, TypedQueue, TypedSet, TypedStack |
ITypeable implementations.
See also
| Method | Defined by | ||
|---|---|---|---|
|
AbstractTypeable(type:*)
Creates a new AbstractTypeable instance.
| AbstractTypeable | ||
![]() |
Returns the internal
ILogger reference of this ILogable object. | CoreObject | |
|
getType():*
Returns the type of the ITypeable object.
| AbstractTypeable | ||
![]() |
hashCode():uint
Returns a hashcode value for the object.
| CoreObject | |
![]() |
Sets the internal
ILogger reference of this ILogable object. | CoreObject | |
|
setType(type:*):void
Sets the type of the ITypeable object.
| AbstractTypeable | ||
|
supports(value:*):Boolean
Returns
true if the IValidator object validate the value. | AbstractTypeable | ||
![]() |
toSource(indent:int = 0):String
Returns the string representation the source code of the object.
| CoreObject | |
![]() |
toString():String
Returns the string representation of this instance.
| CoreObject | |
|
validate(value:*):void
Evaluates the condition it checks and updates the IsValid property.
| AbstractTypeable | ||
| AbstractTypeable | () | constructor |
public function AbstractTypeable(type:*)Creates a new AbstractTypeable instance.
Parameterstype:* — the Type of this ITypeable object.
|
| getType | () | method |
public function getType():*Returns the type of the ITypeable object.
Returns* — the type of the ITypeable object.
|
| setType | () | method |
public function setType(type:*):voidSets the type of the ITypeable object.
Parameterstype:* |
| supports | () | method |
public function supports(value:*):Boolean
Returns true if the IValidator object validate the value.
value:* |
Boolean — true is this specific value is valid.
|
| validate | () | method |
public function validate(value:*):voidEvaluates the condition it checks and updates the IsValid property.
Parametersvalue:* |