JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
SEARCH:
JavaScript is disabled on your browser.
A
B
C
D
E
F
G
I
M
O
S
T
U
X
A
accept(XConsumer<? super T>)
- Method in interface global.namespace.fun.io.api.
Socket
Loans a resource to the given consumer.
accept(T)
- Method in interface global.namespace.fun.io.api.function.
XConsumer
andThen(XConsumer<? super T>)
- Method in interface global.namespace.fun.io.api.function.
XConsumer
andThen(XFunction<? super R, ? extends V>)
- Method in interface global.namespace.fun.io.api.function.
XFunction
andThen(Transformation)
- Method in interface global.namespace.fun.io.api.
Transformation
Returns a transformation which applies the given transformation
after
this transformation.
apply(XFunction<? super T, ? extends U>)
- Method in interface global.namespace.fun.io.api.
Socket
Loans a resource to the given function and returns its value.
apply(Socket<OutputStream>)
- Method in interface global.namespace.fun.io.api.
Transformation
Returns an output stream socket which decorates the given output stream socket.
apply(T)
- Method in interface global.namespace.fun.io.api.function.
XFunction
B
Buffer
- Interface in
global.namespace.fun.io.api
BUFSIZE
- Static variable in interface global.namespace.fun.io.api.
Store
The default buffer size, which is 8192.
C
clone(T)
- Method in interface global.namespace.fun.io.api.
ConnectedCodec
Returns a deep clone of the given object by encoding it to the underlying store and decoding it again.
clone(T, XSupplier<Store>)
- Method in interface global.namespace.fun.io.api.
Codec
Returns a deep clone of the given object by encoding it to a temporary store obtained from the given supplier and decoding it again.
clone(T, Socket<Buffer>)
- Method in interface global.namespace.fun.io.api.
Codec
Returns a deep clone of the given object by encoding it to a loaned buffer and decoding it again.
close()
- Method in interface global.namespace.fun.io.api.
Buffer
Deletes the content of this buffer, if any.
codec()
- Method in interface global.namespace.fun.io.api.
ConnectedCodec
Returns the underlying codec.
Codec
- Interface in
global.namespace.fun.io.api
Consumes input and output stream
sockets
in order to decode and encode object graphs.
compose(XFunction<? super V, ? extends T>)
- Method in interface global.namespace.fun.io.api.function.
XFunction
compose(Transformation)
- Method in interface global.namespace.fun.io.api.
Transformation
Returns a transformation which applies the given transformation
before
this transformation.
connect(Codec)
- Method in interface global.namespace.fun.io.api.
Store
Connects this store to the given codec.
connect(Store)
- Method in interface global.namespace.fun.io.api.
Codec
Connects this codec to the given store.
ConnectedCodec
- Interface in
global.namespace.fun.io.api
Encapsulated a
codec
and a
store
.
content()
- Method in interface global.namespace.fun.io.api.
Store
Returns the content of this store.
content(byte[])
- Method in interface global.namespace.fun.io.api.
Store
Sets the content of this store.
D
decode(Type)
- Method in interface global.namespace.fun.io.api.
ConnectedCodec
decode(Type)
- Method in interface global.namespace.fun.io.api.
Decoder
Decodes an object graph of the expected type.
decoder(Socket<InputStream>)
- Method in interface global.namespace.fun.io.api.
Codec
Returns a decoder which reads object graphs from the given input stream socket.
decoder(Source)
- Method in interface global.namespace.fun.io.api.
Codec
Returns a decoder which reads object graphs from the given store.
Decoder
- Interface in
global.namespace.fun.io.api
Decodes an object graph.
delete()
- Method in interface global.namespace.fun.io.api.
Store
Deletes the content of this store.
E
encode(Object)
- Method in interface global.namespace.fun.io.api.
ConnectedCodec
encode(Object)
- Method in interface global.namespace.fun.io.api.
Encoder
Encodes the given object graph.
encoder(Sink)
- Method in interface global.namespace.fun.io.api.
Codec
Returns an encoder which writes object graphs to the given store.
encoder(Socket<OutputStream>)
- Method in interface global.namespace.fun.io.api.
Codec
Returns an encoder which writes object graphs to the given output stream socket.
Encoder
- Interface in
global.namespace.fun.io.api
Encodes a given object graph.
exists()
- Method in interface global.namespace.fun.io.api.
Store
Returns
true
if and only if some content exists in this store.
F
flatMap(XFunction<? super T, ? extends Socket<? extends U>>)
- Method in interface global.namespace.fun.io.api.
Socket
Returns a socket which applies the given function to the resources loaned by this socket and gets its result.
G
get()
- Method in interface global.namespace.fun.io.api.function.
XSupplier
get()
- Method in interface global.namespace.fun.io.api.
Socket
Deprecated.
This method should not be used by clients because it would defeat the purpose of this interface.
global.namespace.fun.io.api
- package global.namespace.fun.io.api
global.namespace.fun.io.api.function
- package global.namespace.fun.io.api.function
I
identity()
- Static method in interface global.namespace.fun.io.api.function.
XFunction
IDENTITY
- Static variable in interface global.namespace.fun.io.api.
Transformation
The identity transformation.
input()
- Method in interface global.namespace.fun.io.api.
Source
Returns an input stream socket for reading the content of this source.
inverse()
- Method in interface global.namespace.fun.io.api.
Transformation
Returns the inverse of this transformation (optional operation).
M
map(XFunction<? super T, ? extends U>)
- Method in interface global.namespace.fun.io.api.
Socket
Returns a socket which applies the given function to the resources loaned by this socket.
map(Transformation)
- Method in interface global.namespace.fun.io.api.
Codec
Returns a codec which applies the given transformation to the I/O streams loaned to this codec.
map(Transformation)
- Method in interface global.namespace.fun.io.api.
Sink
Returns a sink which applies the given transformation to the I/O streams loaned by this sink.
map(Transformation)
- Method in interface global.namespace.fun.io.api.
Source
Returns a source which applies the given transformation to the I/O streams loaned by this source.
map(Transformation)
- Method in interface global.namespace.fun.io.api.
Store
Returns a store which applies the given transformation to the I/O streams loaned by this store.
O
of(Store)
- Static method in interface global.namespace.fun.io.api.
Buffer
output()
- Method in interface global.namespace.fun.io.api.
Sink
Returns an output stream socket for (over)writing the content of this sink.
S
Sink
- Interface in
global.namespace.fun.io.api
Emits output stream
sockets
in order to enable access to its stored content.
size()
- Method in interface global.namespace.fun.io.api.
Store
Returns the size of the content of this store, if present.
Socket
<
T
extends java.lang.AutoCloseable> - Interface in
global.namespace.fun.io.api
A socket is a reusable object for safe and simple automatic resource management.
Source
- Interface in
global.namespace.fun.io.api
Emits input stream
sockets
in order to enable access to its stored content.
store()
- Method in interface global.namespace.fun.io.api.
ConnectedCodec
Returns the underlying store.
Store
- Interface in
global.namespace.fun.io.api
Emits input and output stream
sockets
in order to enable access to its stored content.
T
Transformation
- Interface in
global.namespace.fun.io.api
Decorates input and output stream
sockets
in order to transform the transmitted content.
U
unapply(Socket<InputStream>)
- Method in interface global.namespace.fun.io.api.
Transformation
Returns an input stream socket which decorates the given input stream socket.
X
XConsumer
<
T
> - Interface in
global.namespace.fun.io.api.function
Like
Consumer
, but can throw any type of exception.
XFunction
<
T
,
R
> - Interface in
global.namespace.fun.io.api.function
Like
Function
, but can throw any type of exception.
XSupplier
<
T
> - Interface in
global.namespace.fun.io.api.function
Like
Supplier
, but can throw any type of exception.
A
B
C
D
E
F
G
I
M
O
S
T
U
X
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
JavaScript is disabled on your browser.