Class DefaultIfEmpty
- java.lang.Object
-
- uk.gov.gchq.koryphe.function.KorypheFunction<Object,Object>
-
- uk.gov.gchq.koryphe.impl.function.DefaultIfEmpty
-
-
Constructor Summary
Constructors Constructor Description DefaultIfEmpty()
DefaultIfEmpty(Object defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
apply(Object iterable)
boolean
equals(Object o)
Object
getDefaultValue()
int
hashCode()
void
setDefaultValue(Object defaultValue)
-
-
-
Constructor Detail
-
DefaultIfEmpty
public DefaultIfEmpty()
-
DefaultIfEmpty
public DefaultIfEmpty(Object defaultValue)
-
-
Method Detail
-
getDefaultValue
public Object getDefaultValue()
-
setDefaultValue
public void setDefaultValue(Object defaultValue)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classKorypheFunction<Object,Object>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classKorypheFunction<Object,Object>
-
-