Package org.xbill.DNS
Class TypeBitmap
java.lang.Object
org.xbill.DNS.TypeBitmap
- All Implemented Interfaces:
Serializable
Routines for deal with the lists of types found in NSEC/NSEC3 records.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateTypeBitmap(int[] array) TypeBitmap(DNSInput in) TypeBitmap(Tokenizer st) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(int typecode) booleanempty()private static intgetMapLength(DNSInput in) private static intgetWindowBlockNumber(DNSInput in, int lastWindowBlockNumber) private static voidint[]toArray()toString()void
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
types
-
-
Constructor Details
-
TypeBitmap
private TypeBitmap() -
TypeBitmap
public TypeBitmap(int[] array) -
TypeBitmap
- Throws:
WireParseException
-
TypeBitmap
- Throws:
IOException
-
-
Method Details
-
getWindowBlockNumber
private static int getWindowBlockNumber(DNSInput in, int lastWindowBlockNumber) throws WireParseException - Throws:
WireParseException
-
getMapLength
- Throws:
WireParseException
-
toArray
public int[] toArray() -
toString
-
mapToWire
-
toWire
-
empty
public boolean empty() -
contains
public boolean contains(int typecode)
-