public class SerializedTerm extends Object implements TermConvertable<Compound>
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_TERM_FUNCTOR |
Constructor and Description |
---|
SerializedTerm(Serializable serializable) |
Modifier and Type | Method and Description |
---|---|
Compound |
asTerm() |
static <T extends Serializable> |
deserialize(byte[] bytes) |
String |
getEncodedBytes() |
Serializable |
getSerializable() |
static Compound |
serialize(Serializable serializable) |
public static final String SERIALIZED_TERM_FUNCTOR
public SerializedTerm(Serializable serializable)
public static Compound serialize(Serializable serializable)
public static <T extends Serializable> T deserialize(byte[] bytes)
public Serializable getSerializable()
public String getEncodedBytes()
public Compound asTerm()
asTerm
in interface TermConvertable<Compound>
Copyright © 2014. All rights reserved.