| Modifier and Type | Class and Description |
|---|---|
| private static enum | |
| private static enum | |
| private static enum | |
| private static class | |
| private static class | |
| private static class | |
| private static enum |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static OutputStream | asOutputStream(PrimitiveSink sink)
Wraps a |
| public static Funnel | |
| public static Funnel | |
| public static Funnel | |
| public static <E extends @Nullable Object> Funnel | sequentialFunnel(Funnel<E> elementFunnel)
Returns a funnel that processes an |
| public static Funnel | stringFunnel(Charset charset)
Returns a funnel that encodes the characters of a |
| public static Funnel | unencodedCharsFunnel()
Returns a funnel that extracts the characters from a |
| Funnels | back to summary |
|---|---|
| private Funnels() | |
| asOutputStream | back to summary |
|---|---|
| public static OutputStream asOutputStream(PrimitiveSink sink) Wraps a The
| |
| byteArrayFunnel | back to summary |
|---|---|
| public static Funnel Returns a funnel that extracts the bytes from a | |
| integerFunnel | back to summary |
|---|---|
| public static Funnel Returns a funnel for integers.
| |
| longFunnel | back to summary |
|---|---|
| public static Funnel Returns a funnel for longs.
| |
| sequentialFunnel | back to summary |
|---|---|
| public static <E extends @Nullable Object> Funnel Returns a funnel that processes an
| |
| stringFunnel | back to summary |
|---|---|
| public static Funnel Returns a funnel that encodes the characters of a
| |
| unencodedCharsFunnel | back to summary |
|---|---|
| public static Funnel Returns a funnel that extracts the characters from a
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final Funnels. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | funnel(byte[] from, PrimitiveSink into)
Implements com. from object into the sink into.
|
| public String | toString()
Overrides java. |
| public static Funnels. | |
| public static Funnels. |
| INSTANCE | back to summary |
|---|---|
| public static final Funnels. | |
| ByteArrayFunnel | back to summary |
|---|---|
| private ByteArrayFunnel() | |
| funnel | back to summary |
|---|---|
| public void funnel(byte[] from, PrimitiveSink into) Implements com. Doc from com. Sends a stream of data from the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists. | |
| valueOf | back to summary |
|---|---|
| public static Funnels. | |
| values | back to summary |
|---|---|
| public static Funnels. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Funnels. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | funnel(Integer from, PrimitiveSink into)
Implements com. from object into the sink into.
|
| public String | toString()
Overrides java. |
| public static Funnels. | |
| public static Funnels. |
| INSTANCE | back to summary |
|---|---|
| public static final Funnels. | |
| IntegerFunnel | back to summary |
|---|---|
| private IntegerFunnel() | |
| funnel | back to summary |
|---|---|
| public void funnel(Integer from, PrimitiveSink into) Implements com. Doc from com. Sends a stream of data from the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists. | |
| valueOf | back to summary |
|---|---|
| public static Funnels. | |
| values | back to summary |
|---|---|
| public static Funnels. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Funnels. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | funnel(Long from, PrimitiveSink into)
Implements com. from object into the sink into.
|
| public String | toString()
Overrides java. |
| public static Funnels. | |
| public static Funnels. |
| INSTANCE | back to summary |
|---|---|
| public static final Funnels. | |
| LongFunnel | back to summary |
|---|---|
| private LongFunnel() | |
| funnel | back to summary |
|---|---|
| public void funnel(Long from, PrimitiveSink into) Implements com. Doc from com. Sends a stream of data from the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists. | |
| valueOf | back to summary |
|---|---|
| public static Funnels. | |
| values | back to summary |
|---|---|
| public static Funnels. | |
| Modifier and Type | Field and Description |
|---|---|
| private final Funnel |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public void | funnel(Iterable<? extends E> from, PrimitiveSink into)
Implements com. from object into the sink into.
|
| public int | |
| public String |
| elementFunnel | back to summary |
|---|---|
| private final Funnel<E> elementFunnel | |
| SequentialFunnel | back to summary |
|---|---|
| pack-priv SequentialFunnel(Funnel<E> elementFunnel) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| funnel | back to summary |
|---|---|
| public void funnel(Iterable<? extends E> from, PrimitiveSink into) Implements com. Doc from com. Sends a stream of data from the
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final PrimitiveSink |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public void | write(int
the b)byte.Implements abstract java. |
| public void | write(byte[]
the data. bytes)Overrides java. b.length bytes from the specified byte array
to this output stream.
|
| public void | write(byte[]
the data. bytes, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. len bytes from the specified byte array
starting at offset off to this output stream.
|
| sink | back to summary |
|---|---|
| pack-priv final PrimitiveSink sink | |
| SinkAsStream | back to summary |
|---|---|
| pack-priv SinkAsStream(PrimitiveSink sink) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| write | back to summary |
|---|---|
| public void write(int b) Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |
| write | back to summary |
|---|---|
| public void write(byte[] bytes) Overrides java. Doc from java. Writes
| |
| write | back to summary |
|---|---|
| public void write(byte[] bytes, int off, int len) Overrides java. Doc from java. Writes
If
If
| |
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public void | funnel(CharSequence from, PrimitiveSink into)
Implements com. from object into the sink into.
|
| public int | |
| private void | |
| public String | |
| pack-priv Object |
| charset | back to summary |
|---|---|
| private final Charset charset | |
| StringCharsetFunnel | back to summary |
|---|---|
| pack-priv StringCharsetFunnel(Charset charset) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| funnel | back to summary |
|---|---|
| public void funnel(CharSequence from, PrimitiveSink into) Implements com. Doc from com. Sends a stream of data from the
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream stream) throws InvalidObjectException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| writeReplace | back to summary |
|---|---|
| pack-priv Object writeReplace() | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private Object |
| charsetCanonicalName | back to summary |
|---|---|
| private final String charsetCanonicalName | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SerializedForm | back to summary |
|---|---|
| pack-priv SerializedForm(Charset charset) | |
| readResolve | back to summary |
|---|---|
| private Object readResolve() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Funnels. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | funnel(CharSequence from, PrimitiveSink into)
Implements com. from object into the sink into.
|
| public String | toString()
Overrides java. |
| public static Funnels. | |
| public static Funnels. |
| INSTANCE | back to summary |
|---|---|
| public static final Funnels. | |
| UnencodedCharsFunnel | back to summary |
|---|---|
| private UnencodedCharsFunnel() | |
| funnel | back to summary |
|---|---|
| public void funnel(CharSequence from, PrimitiveSink into) Implements com. Doc from com. Sends a stream of data from the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists. | |
| valueOf | back to summary |
|---|---|
| public static Funnels. | |
| values | back to summary |
|---|---|
| public static Funnels. | |