|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BitSet | |
org.wegra.util.bitset |
Uses of BitSet in org.wegra.util.bitset |
Methods in org.wegra.util.bitset that return BitSet | |
static BitSet |
BitSetManipulator.and(BitSet opr1,
BitSet opr2)
Performs a logical AND of given two bitset.
|
static BitSet |
BitSetManipulator.or(BitSet opr1,
BitSet opr2)
Performs a logical OR of given two bitset.
|
static BitSet |
BitSetManipulator.xor(BitSet opr1,
BitSet opr2)
Performs a logical XOR of given two bitset.
|
static BitSet |
BitSetManipulator.add(BitSet opr1,
BitSet opr2)
Performs a ADD operation given two bitset and return result.
|
static BitSet |
BitSetManipulator.sub(BitSet opr1,
BitSet opr2)
Substracts opr2 from opr1 , and return result.
|
static BitSet |
BitSetManipulator.mul(BitSet opr1,
BitSet opr2)
Multiply given two bit set and returns result. |
static BitSet |
BitSetManipulator.div(BitSet opr1,
BitSet opr2)
Performs division operation to opr1 by opr2 ,
and returns result. |
static BitSet |
BitSetManipulator.shiftLeft(BitSet opr,
int length)
Performs logical left shift. |
static BitSet |
BitSetManipulator.shiftRight(BitSet opr,
int length)
Performs logical right shift. |
static BitSet |
BitSetManipulator.shiftRightArithmetic(BitSet opr,
int length)
Performs arithmetic right shift. |
static BitSet |
BitSetManipulator.extendSign(BitSet source,
int outputLength)
extends the sign bit of source and create new BitSet of outputLength. |
static BitSet |
BitSetManipulator.concat(BitSet[] src)
Concatenates given BitSets |
static BitSet |
BitSetManipulator.reverse(BitSet set)
Reverses bit pattern of given set. |
static BitSet |
BitSetManipulator.toBitSet(byte[] bytes)
Create new BitSet from given byte array. |
static BitSet |
BitSetManipulator.toBitSet(boolean[] bits)
Create new BitSet from given boolean array. |
static BitSet |
BitSetManipulator.toBitSet(int value)
Create new 32bits BitSet from given integer. |
static BitSet |
BitSetManipulator.toBitSet(int value,
int length)
Create new BitSet from given integer. |
static BitSet |
BitSetManipulator.toBitSet(long value)
Create new BitSet from given long integer. |
static BitSet |
BitSetManipulator.toBitSet(java.lang.String bitsString)
Create new BitSet from given bits string. |
BitSet |
BitSet.getSubset(int fromIndex,
int toIndex)
Returns a subset of current bitset. |
Methods in org.wegra.util.bitset with parameters of type BitSet | |
static BitSet |
BitSetManipulator.and(BitSet opr1,
BitSet opr2)
Performs a logical AND of given two bitset.
|
static BitSet |
BitSetManipulator.or(BitSet opr1,
BitSet opr2)
Performs a logical OR of given two bitset.
|
static BitSet |
BitSetManipulator.xor(BitSet opr1,
BitSet opr2)
Performs a logical XOR of given two bitset.
|
static BitSet |
BitSetManipulator.add(BitSet opr1,
BitSet opr2)
Performs a ADD operation given two bitset and return result.
|
static BitSet |
BitSetManipulator.sub(BitSet opr1,
BitSet opr2)
Substracts opr2 from opr1 , and return result.
|
static BitSet |
BitSetManipulator.mul(BitSet opr1,
BitSet opr2)
Multiply given two bit set and returns result. |
static BitSet |
BitSetManipulator.div(BitSet opr1,
BitSet opr2)
Performs division operation to opr1 by opr2 ,
and returns result. |
static BitSet |
BitSetManipulator.shiftLeft(BitSet opr,
int length)
Performs logical left shift. |
static BitSet |
BitSetManipulator.shiftRight(BitSet opr,
int length)
Performs logical right shift. |
static BitSet |
BitSetManipulator.shiftRightArithmetic(BitSet opr,
int length)
Performs arithmetic right shift. |
static int |
BitSetManipulator.compare(BitSet opr1,
BitSet opr2)
Compares given two arguments for order. |
static BitSet |
BitSetManipulator.extendSign(BitSet source,
int outputLength)
extends the sign bit of source and create new BitSet of outputLength. |
static BitSet |
BitSetManipulator.concat(BitSet[] src)
Concatenates given BitSets |
static BitSet |
BitSetManipulator.reverse(BitSet set)
Reverses bit pattern of given set. |
static boolean[] |
BitSetManipulator.toBooleanArray(BitSet source)
Converts given BitSet source to boolean array . |
static byte[] |
BitSetManipulator.toByteArray(BitSet source)
Converts given BitSet source to byte array . |
static int |
BitSetManipulator.toInteger(BitSet source)
Converts given BitSet source to int value. |
static long |
BitSetManipulator.toLong(BitSet source)
Converts given BitSet source to long value. |
void |
BitSet.set(int fromIndex,
BitSet src,
int srcStart,
int length)
Copies part of current bitset from given src 's. |
void |
BitSet.change(BitSet source)
Changes current bitset to given source .
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |