Coder.Context
. Just implement only those
abstract methods which do not accept a Coder.Context
and leave the default
implementations for methods accepting a Coder.Context
.@Deprecated
public static class Coder.Context
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
isWholeStream
Deprecated.
Whether the encoded or decoded value fills the remainder of the output or input (resp.)
record/stream contents.
|
static Coder.Context |
NESTED
Deprecated.
The nested context: the value being encoded or decoded is (potentially) a part of a larger
record/stream contents, and may have other parts encoded or decoded after it.
|
static Coder.Context |
OUTER
Deprecated.
The outer context: the value being encoded or decoded takes up the remainder of the
record/stream contents.
|
Constructor and Description |
---|
Context(boolean isWholeStream)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(@Nullable java.lang.Object obj)
Deprecated.
|
int |
hashCode()
Deprecated.
|
Coder.Context |
nested()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
public static final Coder.Context OUTER
public static final Coder.Context NESTED
public final boolean isWholeStream
public Coder.Context nested()
public boolean equals(@Nullable java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object