Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C E F G H I J K L M N O P R S T U V X _

A

Assert - class Util.Assert.
Includes methods for an assertion mechanism.
Assert() - Constructor for class Util.Assert
 
AtomicCounter - class Util.AtomicCounter.
 
AtomicCounter(int) - Constructor for class Util.AtomicCounter
Creates new AtomicCounter
AtomicCounter() - Constructor for class Util.AtomicCounter
 
and(BitString) - Method in class Util.BitString
Logically ANDs this bit set with the specified set of bits.

B

BITS_PER_UNIT - Static variable in class Util.BitString
 
BitString - class Util.BitString.
BitString implements a vector of bits much like java.util.BitSet, except that this implementation actually works.
BitString(int) - Constructor for class Util.BitString
Creates an empty string with the specified size.
BitString.BackwardBitStringIterator - class Util.BitString.BackwardBitStringIterator.
Iterator for iterating through a bit string in backward order.
BitString.BackwardBitStringIterator(int) - Constructor for class Util.BitString.BackwardBitStringIterator
 
BitString.BackwardBitStringIterator() - Constructor for class Util.BitString.BackwardBitStringIterator
 
BitString.BitStringIterator - class Util.BitString.BitStringIterator.
Abstract bit string iterator class.
BitString.BitStringIterator() - Constructor for class Util.BitString.BitStringIterator
 
BitString.ForwardBitStringIterator - class Util.BitString.ForwardBitStringIterator.
Iterator for iterating through a bit string in forward order.
BitString.ForwardBitStringIterator() - Constructor for class Util.BitString.ForwardBitStringIterator
 
backwardsIterator() - Method in class Util.BitString
Returns an iterator that iterates through the bits in backward order.
backwardsIterator(int) - Method in class Util.BitString
Returns an iterator that iterates through the bits in backward order, starting at the given index.
bit_reverse(int, int[]) - Static method in class Util.BitString
 
bits - Variable in class Util.BitString
 
bsf(int) - Static method in class Util.BitString
Utility function to return the index of the first (lowest-order) one bit in the given integer.
bsr(int) - Static method in class Util.BitString
Utility function to return the index of the last one bit in the given integer.
bytemsb - Static variable in class Util.BitString
Highest bit set in a byte.

C

CharSequenceWrapper - class Util.CharSequenceWrapper.
CharSequenceWrapper is a wrapper for JDK 1.3 Strings so that they can implement the JDK 1.4 "CharSequence" interface.
CharSequenceWrapper(String) - Constructor for class Util.CharSequenceWrapper
Make a new wrapper for the given String.
Convert - class Util.Convert.
Utility methods to convert between primitive data types.
Convert() - Constructor for class Util.Convert
 
charAt(int) - Method in class Util.CharSequenceWrapper
 
charToTwoBytes(char, byte[], int) - Static method in class Util.Convert
Convert a char to two bytes, putting the result at the given position in the given array.
clear(int) - Method in class Util.BitString
Clears a bit.
clearAll() - Method in class Util.BitString
Clears all bits.
clearUpTo(int) - Method in class Util.BitString
Clears all bits up to and including the given bit.
clone() - Method in class Util.BitString
Clones the BitString.
contains(BitString) - Method in class Util.BitString
Check if this set contains all bits of the given set.
copyBits(BitString) - Method in class Util.BitString
Copies the values of the bits in the specified set into this set.
current - Variable in class Util.AtomicCounter
 

E

eightBytesToLong(byte, byte, byte, byte, byte, byte, byte, byte) - Static method in class Util.Convert
Convert eight bytes to a long.
eightBytesToLong(byte[], int) - Static method in class Util.Convert
Convert eight bytes at the given position in an array to a long.
equals(Object) - Method in class Util.BitString
Compares this object against the specified object.
equals(Object) - Method in class Util.CharSequenceWrapper
 

F

fillup(String, int, boolean, char) - Static method in class Util.Strings
Fillup char with up to length characters with char `fill' and justify it left or right.
firstSet() - Method in class Util.BitString
Returns the first index in the bit string which is set, or -1 if there is no such index.
firstSet(int) - Method in class Util.BitString
Returns the first index greater than where in the bit string which is set, or -1 if there is no such index.
format(int, int, boolean, char) - Static method in class Util.Strings
Return a string for an integer justified left or right and filled up with `fill' characters if necessary.
fourBytesToInt(byte, byte, byte, byte) - Static method in class Util.Convert
Convert four bytes to an int.
fourBytesToInt(byte[], int) - Static method in class Util.Convert
Convert four bytes at the given position in an array to an int.

G

get(int) - Method in class Util.BitString
Gets a bit.

H

hasNext() - Method in class Util.BitString.BackwardBitStringIterator
 
hasNext() - Method in class Util.BitString.ForwardBitStringIterator
 
hashCode() - Method in class Util.BitString
Returns a hash code value for this bit string whose value depends only on which bits have been set within this BitString.
hashCode() - Method in class Util.CharSequenceWrapper
 
hex(int) - Static method in class Util.Strings
Return the number as a hex string, prepended by "0x".
hex(Object) - Static method in class Util.Strings
Return a string representation of the address of an object.
hex16(long) - Static method in class Util.Strings
Return the number as a hex string, padded to sixteen digits and prepended by "0x".
hex8(int) - Static method in class Util.Strings
Return the number as a hex string, padded to eight digits and prepended by "0x".

I

increment() - Method in class Util.AtomicCounter
 
intToFourBytes(int, byte[], int) - Static method in class Util.Convert
Convert an int to four bytes, putting the result at the given position in the given array.
intersectionEmpty(BitString) - Method in class Util.BitString
Check if the intersection of the two sets is empty
isZero() - Method in class Util.BitString
Returns whether this BitString is all zeroes.
iterator() - Method in class Util.BitString
Returns an iterator that iterates through the bits in forward order.

J

j - Variable in class Util.BitString.BackwardBitStringIterator
 
j - Variable in class Util.BitString.ForwardBitStringIterator
 

K

k - Variable in class Util.BitString.BackwardBitStringIterator
 
k - Variable in class Util.BitString.ForwardBitStringIterator
 

L

lastSet(int) - Method in class Util.BitString
Returns the last index less than where in the bit string which is set, or -1 if there is no such index.
lastSet() - Method in class Util.BitString
Returns the last index in the bit string which is set, or -1 if there is no such index.
left(String, int) - Static method in class Util.Strings
Return the w leftmost characters of the string, padding with spaces if necessary.
length() - Method in class Util.BitString
Returns the "logical size" of this BitString: the index of the highest set bit in the BitString plus one.
length() - Method in class Util.CharSequenceWrapper
 
lineSep - Static variable in class Util.Strings
 
longToEightBytes(long, byte[], int) - Static method in class Util.Convert
Convert a long to eight bytes, putting the result at the given position in the given array.

M

MASK - Static variable in class Util.BitString
 
minus(BitString) - Method in class Util.BitString
Logically subtracts this bit set with the specified set of bits.

N

next() - Method in class Util.BitString.BitStringIterator
 
nextIndex() - Method in class Util.BitString.BackwardBitStringIterator
 
nextIndex() - Method in class Util.BitString.BitStringIterator
Returns the index of the next bit set.
nextIndex() - Method in class Util.BitString.ForwardBitStringIterator
 
numberOfOnes() - Method in class Util.BitString
Returns the number of ones in this BitString.
numberOfOnes(int) - Method in class Util.BitString
Returns the number of ones in this BitString up to a given index.

O

or(BitString) - Method in class Util.BitString
Logically ORs this bit set with the specified set of bits.
or_upTo(BitString, int) - Method in class Util.BitString
Logically ORs this bit set with the specified set of bits.

P

popcount(int) - Static method in class Util.BitString
Utility function to return the number of 1 bits in the given integer value.
popcount(long) - Static method in class Util.BitString
Utility function to return the number of 1 bits in the given long value.

R

replace(String, String, String) - Static method in class Util.Strings
Replace all occurrences of old in str with new_.
reset(int) - Method in class Util.AtomicCounter
 
right(String, int) - Static method in class Util.Strings
Return the w rightmost characters of the string, padding with spaces if necessary.

S

Strings - class Util.Strings.
 
Strings() - Constructor for class Util.Strings
 
s - Variable in class Util.CharSequenceWrapper
 
set(int) - Method in class Util.BitString
Sets a bit.
setAll() - Method in class Util.BitString
Sets all bits.
setUpTo(int) - Method in class Util.BitString
Sets all bits up to and including the given bit.
shex(int) - Static method in class Util.Strings
Return the number as a signed hex string, prepended by "0x".
shl(int) - Method in class Util.BitString
Performs a left-shift operation.
shld(int[], int, int, int) - Static method in class Util.BitString
 
shr(int) - Method in class Util.BitString
Performs a right-shift operation.
shrd(int[], int, int, int) - Static method in class Util.BitString
 
size() - Method in class Util.BitString
Returns the number of bits of space actually in use by this BitString to represent bit values.
subSequence(int, int) - Method in class Util.CharSequenceWrapper
 
subscript(int) - Static method in class Util.BitString
Convert bitIndex to a subscript into the bits[] array.

T

TODO(String) - Static method in class Util.Assert
Print a TODO message and drop into the debugger (in native mode) or just exit (in hosted mode).
TODO() - Static method in class Util.Assert
Print a TODO message and drop into the debugger (in native mode) or just exit (in hosted mode).
t - Variable in class Util.BitString.BackwardBitStringIterator
 
t - Variable in class Util.BitString.ForwardBitStringIterator
 
toString() - Method in class Util.AtomicCounter
 
toString() - Method in class Util.BitString
Converts the BitString to a String.
toString() - Method in class Util.CharSequenceWrapper
 
twoBytesToChar(byte, byte) - Static method in class Util.Convert
Convert two bytes to a char.
twoBytesToChar(byte[], int) - Static method in class Util.Convert
Convert two bytes at the given position in an array to a char.
twoBytesToShort(byte, byte) - Static method in class Util.Convert
Convert two bytes to a short.
twoBytesToShort(byte[], int) - Static method in class Util.Convert
Convert two bytes at the given position in an array to a short.
twoCharsToInt(char, char) - Static method in class Util.Convert
Convert two chars to an int.
twoIntsToLong(int, int) - Static method in class Util.Convert
Convert two ints to a long.

U

UNREACHABLE(String) - Static method in class Util.Assert
Print an UNREACHABLE message and drop into the debugger (in native mode) or just exit (in hosted mode).
UNREACHABLE() - Static method in class Util.Assert
Print an UNREACHABLE message and drop into the debugger (in native mode) or just exit (in hosted mode).
Util - package Util
 

V

value() - Method in class Util.AtomicCounter
 

X

xor(BitString) - Method in class Util.BitString
Logically XORs this bit set with the specified set of bits.

_

_assert(boolean) - Static method in class Util.Assert
Assert that the given predicate is true.
_assert(boolean, String) - Static method in class Util.Assert
Assert that the given predicate is true.

A B C E F G H I J K L M N O P R S T U V X _