E
- the type of the entries served to the decorated output shop.O
- the type of the decorated output shop.public abstract class DecoratingOutputShop<E extends Entry,O extends OutputShop<E>> extends DecoratingEntryContainer<E,O> implements OutputShop<E>
DecoratingInputShop
delegate
Modifier | Constructor and Description |
---|---|
protected |
DecoratingOutputShop(O delegate) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
OutputSocket<? extends E> |
getOutputSocket(E entry)
Returns an output socket for writing to the given entry.
|
getEntry, getSize, iterator, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
iterator
getEntry, getSize
forEach, spliterator
@CreatesObligation protected DecoratingOutputShop(@WillCloseWhenClosed O delegate)
public void close() throws IOException
close
in interface OutputShop<E extends Entry>
close
in interface Closeable
close
in interface AutoCloseable
IOException
public OutputSocket<? extends E> getOutputSocket(E entry)
OutputService
getOutputSocket
in interface OutputService<E extends Entry>
entry
- the entry, which will be the
local target
of the returned
output socket.Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.