@WritingConverter public static enum CouchbaseJsr310Converters.InstantToLongConverter extends Enum<CouchbaseJsr310Converters.InstantToLongConverter> implements Converter<Instant,Long>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Long |
convert(Instant source) |
static CouchbaseJsr310Converters.InstantToLongConverter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CouchbaseJsr310Converters.InstantToLongConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CouchbaseJsr310Converters.InstantToLongConverter INSTANCE
public static CouchbaseJsr310Converters.InstantToLongConverter[] values()
for (CouchbaseJsr310Converters.InstantToLongConverter c : CouchbaseJsr310Converters.InstantToLongConverter.values()) System.out.println(c);
public static CouchbaseJsr310Converters.InstantToLongConverter 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 nullCopyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.