DATATYPE - The return type of the factory@Immutable public class FactoryConstantValue<DATATYPE> extends Object implements IFactory<DATATYPE>
IFactory that returns a constant value| Constructor and Description |
|---|
FactoryConstantValue(DATATYPE aConstantValue) |
| Modifier and Type | Method and Description |
|---|---|
DATATYPE |
create()
Create an object of the desired type.
|
static <DATATYPE> FactoryConstantValue<DATATYPE> |
create(DATATYPE aConstantValue) |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
Copyright © 2014–2016 Philip Helger. All rights reserved.