Serializable
, IntFunction<V>
, IntToObjectFunction<V>
public class IntCaseFunction<V> extends Object implements IntToObjectFunction<V>
Constructor | Description |
---|---|
IntCaseFunction() |
|
IntCaseFunction(IntToObjectFunction<? extends V> newDefaultFunction) |
Modifier and Type | Method | Description |
---|---|---|
IntCaseFunction<V> |
addCase(IntPredicate predicate,
IntToObjectFunction<? extends V> function) |
|
IntCaseFunction<V> |
setDefault(IntToObjectFunction<? extends V> function) |
|
String |
toString() |
|
V |
valueOf(int argument) |
apply
public IntCaseFunction()
public IntCaseFunction(IntToObjectFunction<? extends V> newDefaultFunction)
public IntCaseFunction<V> addCase(IntPredicate predicate, IntToObjectFunction<? extends V> function)
public IntCaseFunction<V> setDefault(IntToObjectFunction<? extends V> function)
public V valueOf(int argument)
valueOf
in interface IntToObjectFunction<V>
Copyright © 2004–2017. All rights reserved.