DATATYPE - Return type of the factorypublic final class FactoryNull<DATATYPE> extends Object implements IFactory<DATATYPE>, Serializable
IFactory that always returns null.| Modifier and Type | Method and Description |
|---|---|
DATATYPE |
create()
Create an object of the desired type.
|
boolean |
equals(Object o) |
static <DATATYPE> FactoryNull<DATATYPE> |
getInstance() |
int |
hashCode() |
String |
toString() |
@Nullable public DATATYPE create()
IFactory@Nonnull public static <DATATYPE> FactoryNull<DATATYPE> getInstance()
Copyright © 2006–2014 phloc systems. All rights reserved.