public static enum SampleController.Timestamper extends Enum<SampleController.Timestamper>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
getMillis() |
static SampleController.Timestamper |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SampleController.Timestamper[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SampleController.Timestamper INSTANCE
public static SampleController.Timestamper[] values()
for (SampleController.Timestamper c : SampleController.Timestamper.values()) System.out.println(c);
public static SampleController.Timestamper valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getMillis()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.