org.osm2world.core.target.statistics
Enum StatisticsTarget.Stat

Object
  extended by Enum<StatisticsTarget.Stat>
      extended by StatisticsTarget.Stat
All Implemented Interfaces:
Serializable, Comparable<StatisticsTarget.Stat>
Enclosing class:
StatisticsTarget

public static enum StatisticsTarget.Stat
extends Enum<StatisticsTarget.Stat>


Enum Constant Summary
CONVEX_POLYGON_COUNT
           
OBJECT_COUNT
           
PRIMITIVE_COUNT
           
TOTAL_TRIANGLE_COUNT
           
TRIANGLE_FAN_COUNT
           
TRIANGLE_STRIP_COUNT
           
TRIANGLES_COUNT
           
VBO_VALUE_COUNT
           
 
Method Summary
static StatisticsTarget.Stat valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StatisticsTarget.Stat[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OBJECT_COUNT

public static final StatisticsTarget.Stat OBJECT_COUNT

PRIMITIVE_COUNT

public static final StatisticsTarget.Stat PRIMITIVE_COUNT

TOTAL_TRIANGLE_COUNT

public static final StatisticsTarget.Stat TOTAL_TRIANGLE_COUNT

TRIANGLES_COUNT

public static final StatisticsTarget.Stat TRIANGLES_COUNT

TRIANGLE_STRIP_COUNT

public static final StatisticsTarget.Stat TRIANGLE_STRIP_COUNT

TRIANGLE_FAN_COUNT

public static final StatisticsTarget.Stat TRIANGLE_FAN_COUNT

CONVEX_POLYGON_COUNT

public static final StatisticsTarget.Stat CONVEX_POLYGON_COUNT

VBO_VALUE_COUNT

public static final StatisticsTarget.Stat VBO_VALUE_COUNT
Method Detail

values

public static StatisticsTarget.Stat[] 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 (StatisticsTarget.Stat c : StatisticsTarget.Stat.values())
    System.out.println(c);

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

valueOf

public static StatisticsTarget.Stat valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null