io.sarl.lang.core.util
Interface IntSupplierWithException
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or action reference.
@java.lang.FunctionalInterface
interface IntSupplierWithException
A supplier of an int value with exception.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
core
Since:
0.15
Property Summary
Modifier and type Property and description
int asInt
Gets a result.
Action Summary
Modifier and type Action and description
abstract int getAsInt
Gets a result.
Property Details
asInt
val asInt : int
Gets a result.

This property is an alias for the action: getAsInt

Returns:
a result
Throws exception:
  • java.lang.Exception: the exception to be thrown by the supplier.
Action Details
getAsInt
def getAsInt : int

throws java.lang.Exception

Gets a result.
Returns:
a result
Throws exception:
  • java.lang.Exception: the exception to be thrown by the supplier.