java.io.Serializable
, java.util.function.LongFunction<V>
, LongToObjectFunction<V>
public class LongCaseFunction<V> extends java.lang.Object implements LongToObjectFunction<V>
Constructor | Description |
---|---|
LongCaseFunction() |
|
LongCaseFunction(LongToObjectFunction<? extends V> newDefaultFunction) |
Modifier and Type | Method | Description |
---|---|---|
LongCaseFunction<V> |
addCase(LongPredicate predicate,
LongToObjectFunction<? extends V> function) |
|
LongCaseFunction<V> |
setDefault(LongToObjectFunction<? extends V> function) |
|
java.lang.String |
toString() |
|
V |
valueOf(long argument) |
apply
public LongCaseFunction()
public LongCaseFunction(LongToObjectFunction<? extends V> newDefaultFunction)
public LongCaseFunction<V> addCase(LongPredicate predicate, LongToObjectFunction<? extends V> function)
public LongCaseFunction<V> setDefault(LongToObjectFunction<? extends V> function)
public V valueOf(long argument)
valueOf
in interface LongToObjectFunction<V>
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2004–2018. All rights reserved.