spark.data
Enum SVal

java.lang.Object
  extended by java.lang.Enum<SVal>
      extended by spark.data.SVal
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SVal>

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

This enumerates the types of values that can be stored in an SV

Author:
olsen

Enum Constant Summary
ARRAY
          The value is an SA array object.
BOOLEAN
          The value is boolean, true/false
DOUBLE
          The value is a double precision floating point number.
LONG
          The value is a long integer.
NULL
          There is no value
OBJECT
          The value is an SO object
STRING
          The value is a string
SVVAL
          This is used for fields that can hold an SV.
 
Method Summary
static SVal valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SVal[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LONG

public static final SVal LONG
The value is a long integer. SPARK does not bother with shorter forms of integer values.


DOUBLE

public static final SVal DOUBLE
The value is a double precision floating point number. SPARK does not bother with shorter forms of floating point.


BOOLEAN

public static final SVal BOOLEAN
The value is boolean, true/false


STRING

public static final SVal STRING
The value is a string


OBJECT

public static final SVal OBJECT
The value is an SO object


ARRAY

public static final SVal ARRAY
The value is an SA array object.


SVVAL

public static final SVal SVVAL
This is used for fields that can hold an SV. This is never used as the content of an SV.


NULL

public static final SVal NULL
There is no value

Method Detail

values

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

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

valueOf

public static SVal 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
java.lang.NullPointerException - if the argument is null