public class LinkUtil
extends java.lang.Object
Constructor and Description |
---|
LinkUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isMask(int value,
int mask)
Provided as a readability convenience.
|
protected static java.lang.String |
readString(java.io.DataInput dis,
int length)
readString reads an expected number of characters off a
DataInput and creates a String from it.
|
static int |
setMask(int value,
int mask)
Provided as a readability convenience.
|
static int |
unsetMask(int value,
int mask)
Provided as a readability convenience.
|
protected static java.lang.String readString(java.io.DataInput dis, int length) throws java.io.IOException, java.lang.ArrayIndexOutOfBoundsException
length
- the number of characters to be read..java.io.IOException
java.lang.ArrayIndexOutOfBoundsException
public static int setMask(int value, int mask)
public static int unsetMask(int value, int mask)
public static boolean isMask(int value, int mask)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details