Class HDTBitmap
java.lang.Object
org.eclipse.rdf4j.rio.hdt.HDTPart
org.eclipse.rdf4j.rio.hdt.HDTBitmap
-
Nested Class Summary
Nested classes/interfaces inherited from class HDTPart
HDTPart.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprivate intprivate byte[]Fields inherited from class HDTPart
COOKIE, name, pos, properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intget(int i) Get bitprotected voidparse(InputStream is) Parse from input streamprotected intsize()Get number of entries in this bitmapMethods inherited from class HDTPart
checkControl, checkCRC, checkFormat, countToNull, getDebugPartStr, getIntegerProperty, getProperties, getProperties, mapProperties, readToNull
-
Field Details
-
BITMAP1
protected static final int BITMAP1- See Also:
-
bits
private int bits -
buffer
private byte[] buffer
-
-
Constructor Details
-
HDTBitmap
HDTBitmap()
-
-
Method Details
-
get
protected int get(int i) Get bit- Parameters:
i-- Returns:
- 0 or 1
-
size
protected int size()Get number of entries in this bitmap- Returns:
- positive integer value
-
parse
Description copied from class:HDTPartParse from input stream- Specified by:
parsein classHDTPart- Parameters:
is-- Throws:
IOException
-