com.yobotics.simulationconstructionset
Enum YoVariableType

java.lang.Object
  extended by java.lang.Enum<YoVariableType>
      extended by com.yobotics.simulationconstructionset.YoVariableType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<YoVariableType>

public enum YoVariableType
extends java.lang.Enum<YoVariableType>

Title: SimulationConstructionSet

Description:

Copyright: Copyright (c) 2000

Company: Yobotics, Inc.

Version:
1.0
Author:
not attributable

Enum Constant Summary
BOOLEAN
           
DOUBLE
           
ENUM
           
INT
           
 
Method Summary
static YoVariableType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static YoVariableType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DOUBLE

public static final YoVariableType DOUBLE

INT

public static final YoVariableType INT

BOOLEAN

public static final YoVariableType BOOLEAN

ENUM

public static final YoVariableType ENUM
Method Detail

values

public static final YoVariableType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(YoVariableType c : YoVariableType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static YoVariableType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name