Package com.chemaxon.calculations.io
Interface Sink<T>
-
- Type Parameters:
T
- Type of accepted items.Please note that this interface is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.
- All Superinterfaces:
Consumer<T>
@PublicAPI @Beta @Deprecated public interface Sink<T> extends Consumer<T>
Deprecated.UseConsumer
instead.Consume accepting values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default void
accept(T t)
Deprecated.void
put(T t)
Deprecated.Put new item into this sink.
-
-
-
Method Detail
-
put
void put(T t) throws IllegalStateException
Deprecated.Put new item into this sink.- Parameters:
t
- Item to put- Throws:
IllegalStateException
- when underlyingAppendable
fails.
-
-