Package com.chemaxon.calculations.io
Interface Sink<T>
- Type Parameters:
T
- Type of accepted items.
- All Superinterfaces:
Consumer<T>
@PublicAPI
@Beta
@Deprecated(forRemoval=true)
@SubjectToRemoval(date=JAN_01_2025)
public interface Sink<T>
extends Consumer<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Consume accepting values.
-
Method Summary
-
Method Details
-
put
Deprecated, for removal: This API element is subject to removal in a future version.Put new item into this sink.- Parameters:
t
- Item to put- Throws:
IllegalStateException
- when underlyingAppendable
fails.
-
accept
Deprecated, for removal: This API element is subject to removal in a future version.
-
Consumer
instead.