public class ATermBlobImpl extends ATermImpl implements ATermBlob
| Modifier | Constructor and Description |
|---|---|
protected |
ATermBlobImpl(PureFactory factory) |
protected |
ATermBlobImpl(PureFactory factory,
ATermList annos,
byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
Visitable |
accept(Visitor v) |
shared.SharedObject |
duplicate() |
boolean |
equivalent(shared.SharedObject obj) |
byte[] |
getBlobData()
Gets the data in this blob.
|
int |
getBlobSize()
Gets the size (in bytes) of the data in this blob.
|
int |
getType()
Gets the type of this term.
|
protected void |
init(int hashCode,
ATermList annos,
byte[] data) |
protected boolean |
match(ATerm pattern,
List<Object> list) |
ATerm |
setAnnotations(ATermList annos)
Sets all annotations of this term.
|
equals, getAnnotation, getAnnotations, getFactory, getNrSubTerms, getPureFactory, getSubTerm, getUniqueIdentifier, hasAnnotations, hashCode, init, internSetAnnotations, isEqual, make, match, match, removeAnnotation, removeAnnotations, setAnnotation, setHashCode, setSubTerm, setUniqueIdentifier, toString, writeToSharedTextFile, writeToTextFile, writeToTextFilegetChildAt, getChildCount, setChildAtclone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, getAnnotation, getAnnotations, getFactory, hasAnnotations, hashCode, isEqual, make, match, match, removeAnnotation, removeAnnotations, setAnnotation, toString, writeToSharedTextFile, writeToTextFilegetUniqueIdentifierprotected ATermBlobImpl(PureFactory factory)
factory - protected ATermBlobImpl(PureFactory factory, ATermList annos, byte[] data)
public int getType()
ATermgetType in interface ATermATerm.INT,
ATerm.REAL,
ATerm.APPL,
ATerm.LIST,
ATerm.PLACEHOLDER,
ATerm.BLOB,
ATerm.AFUN,
ATerm.LONGprotected void init(int hashCode,
ATermList annos,
byte[] data)
hashCode - annos - data - public shared.SharedObject duplicate()
duplicate in interface shared.SharedObjectpublic boolean equivalent(shared.SharedObject obj)
equivalent in interface shared.SharedObjectpublic byte[] getBlobData()
ATermBlobgetBlobData in interface ATermBlobpublic int getBlobSize()
ATermBlobgetBlobSize in interface ATermBlobpublic ATerm setAnnotations(ATermList annos)
ATermsetAnnotations in interface ATermannos - the annotations to set.ATerm.getAnnotations()Copyright © 2012 CWI. All Rights Reserved.