Package com.globalmentor.io.function
Interface IOObjLongConsumer<T>
- Type Parameters:
T
- the type of the object argument to the operation
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents an operation that accepts an object-valued and a
long
-valued argument, and returns no result. This is the (reference, long)
specialization of IOBiConsumer
. Unlike most other functional interfaces, ObjLongConsumer
is expected to operate via side-effects.
This interface is similar to ObjLongConsumer
except that it is allowed to throw an IOException
.
- Author:
- Magno N A Cruz
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method is the same asObjLongConsumer.accept(Object, long)
, but with a support forIOException
.
-
Method Details
-
accept
This method is the same as
ObjLongConsumer.accept(Object, long)
, but with a support forIOException
.- Parameters:
t
- The first input argument.value
- The second input argument.- Throws:
IOException
- if there is an I/O error performing the operation.
-