Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected List<String> |
values |
Constructor and Description |
---|
MutantImpl(com.google.inject.Injector injector,
String name,
List<String> values,
MediaType type,
Charset charset) |
Modifier and Type | Method and Description |
---|---|
boolean |
booleanValue() |
byte |
byteValue() |
double |
doubleValue() |
<T extends Enum<T>> |
enumValue(Class<T> type) |
float |
floatValue() |
int |
intValue() |
boolean |
isPresent() |
long |
longValue() |
short |
shortValue() |
String |
stringValue() |
<T> T |
to(com.google.inject.TypeLiteral<T> type)
|
<T> List<T> |
toList(Class<T> type) |
<T> Optional<T> |
toOptional(Class<T> type) |
<T> Set<T> |
toSet(Class<T> type) |
<T extends Comparable<T>> |
toSortedSet(Class<T> type) |
String |
toString() |
public boolean booleanValue()
booleanValue
in interface Mutant
public byte byteValue()
public short shortValue()
shortValue
in interface Mutant
public int intValue()
public long longValue()
public float floatValue()
floatValue
in interface Mutant
public double doubleValue()
doubleValue
in interface Mutant
public <T extends Comparable<T>> SortedSet<T> toSortedSet(Class<T> type)
toSortedSet
in interface Mutant
T
- Set type.type
- The element type.public <T> Optional<T> toOptional(Class<T> type)
toOptional
in interface Mutant
T
- Optional type.type
- The optional type.public String stringValue()
stringValue
in interface Mutant
public <T> T to(com.google.inject.TypeLiteral<T> type)
Mutant
Copyright © 2014. All rights reserved.