Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W Y Z 

A

add(E) - Method in class net.pwall.util.ChunkedArrayList
Appends the specified element to the end of this list.
add(int, E) - Method in class net.pwall.util.ChunkedArrayList
Inserts the supplied element at the specified position in this list.
add(E) - Method in class net.pwall.util.OrderedSet
Add an element to the set.
add(T) - Method in class net.pwall.util.SyncQueue
Add an object to the end of the queue and wake up all threads currently waiting for this queue.
addCharMapper(CharMapper) - Method in class net.pwall.util.MultiCharMapper
Add a CharMapper instance to the list of delegate mappers.
addUnique(T) - Method in class net.pwall.util.SyncQueue
Add an object to the end of the queue and wake up all threads currently waiting for this queue.
append(int) - Method in class net.pwall.util.ByteArrayBuilder
Append an int as a single byte.
append(byte[]) - Method in class net.pwall.util.ByteArrayBuilder
Append a byte array.
append(byte[], int, int) - Method in class net.pwall.util.ByteArrayBuilder
Append a specified range of bytes from a byte array.
append(ByteArrayBuilder) - Method in class net.pwall.util.ByteArrayBuilder
Append another ByteArrayBuilder.
append(InputStream) - Method in class net.pwall.util.ByteArrayBuilder
Append the contents of an InputStream.
append2Digits(Appendable, int) - Static method in class net.pwall.util.Strings
Append an int to an Appendable as two decimal digits.
append3Digits(Appendable, int) - Static method in class net.pwall.util.Strings
Append an int to an Appendable as three decimal digits.
appendEncoded(Appendable, byte[]) - Static method in class net.pwall.util.Base64
Append a byte array to an Appendable as Base64-encoded characters.
appendEncoded(Appendable, byte[], int, int) - Static method in class net.pwall.util.Base64
Append a section of a byte array to an Appendable as Base64-encoded characters.
appendEnglish(Appendable, int) - Static method in class net.pwall.util.Strings
Append a number converted to words in English to an Appendable.
appendEscaped(Appendable, CharSequence, int, int, CharMapper) - Static method in class net.pwall.util.Strings
Append characters to an Appendable, mapping them to their "escaped" equivalents specified in the provided CharMapper instance.
appendEscaped(Appendable, CharSequence, CharMapper) - Static method in class net.pwall.util.Strings
Append characters to an Appendable, mapping them to their "escaped" equivalents specified in the provided CharMapper instance.
appendEscapedUTF16(Appendable, CharSequence, int, int, CharMapper) - Static method in class net.pwall.util.Strings
Append characters to an Appendable, mapping them to their "escaped" equivalents specified in the provided CharMapper instance.
appendEscapedUTF16(Appendable, CharSequence, CharMapper) - Static method in class net.pwall.util.Strings
Append characters to an Appendable, mapping them to their "escaped" equivalents specified in the provided CharMapper instance.
appendHex(Appendable, byte) - Static method in class net.pwall.util.Strings
Append a byte value as hexadecimal to an Appendable.
appendHex(Appendable, char) - Static method in class net.pwall.util.Strings
Append a character value as hexadecimal to an Appendable.
appendHex(Appendable, int) - Static method in class net.pwall.util.Strings
Append an integer value as hexadecimal to an Appendable.
appendHex(Appendable, int, int) - Static method in class net.pwall.util.Strings
Append an integer value as hexadecimal to an Appendable, specifying the number of output digits.
appendHex(Appendable, long) - Static method in class net.pwall.util.Strings
Append a long value as hexadecimal to an Appendable.
appendHex(Appendable, long, int) - Static method in class net.pwall.util.Strings
Append a long value as hexadecimal to an Appendable, specifying the number of output digits.
appendInt(Appendable, int) - Static method in class net.pwall.util.Strings
Append an int to an Appendable.
appendLong(Appendable, long) - Static method in class net.pwall.util.Strings
Append a long to an Appendable.
appendPositiveInt(Appendable, int) - Static method in class net.pwall.util.Strings
Append a positive int to an Appendable.
appendPositiveLong(Appendable, long) - Static method in class net.pwall.util.Strings
Append a positive long to an Appendable.
appendResultTo(StringBuilder) - Method in class net.pwall.util.ParseText
Copy the result character sequence to a StringBuilder.
appendResultTo(Appendable) - Method in class net.pwall.util.ParseText
Copy the result character sequence to an Appendable.
appendURLEncoded(Appendable, byte[]) - Static method in class net.pwall.util.Base64
Append a byte array to an Appendable as Base64-encoded characters, using the URL variant of Base64.
appendURLEncoded(Appendable, byte[], int, int) - Static method in class net.pwall.util.Base64
Append a section of a byte array to an Appendable as Base64-encoded characters, using the URL variant of Base64.
appendUTF16(Appendable, int) - Static method in class net.pwall.util.Strings
Append a Unicode code point to an Appendable.
appendUTF8(ByteArrayBuilder, int) - Static method in class net.pwall.util.Strings
Append a codepoint to a ByteArrayBuilder as UTF-8.
array - Variable in class net.pwall.util.ListArray
 
ArrayIterator<E> - Class in net.pwall.util
An Iterator over the members of an array.
ArrayIterator(E[]) - Constructor for class net.pwall.util.ArrayIterator
Construct an interator over the given array.
arrayMapping(String[], int, int) - Static method in interface net.pwall.util.CharMapper
Map a range of contiguous code points into strings using an array.
asList(E[]) - Static method in class net.pwall.util.ListArray
Convenience method to construct a ListArray from an array.
available(int) - Method in class net.pwall.util.ParseText
Test whether the text has at least the specified number of characters left after the index.

B

back(int) - Method in class net.pwall.util.ParseText
Decrement the index by n.
Base64 - Class in net.pwall.util
Encode and decode Base64.
build() - Static method in class net.pwall.util.Strings
Convenience method to create a StringBuilder.
build(CharSequence) - Static method in class net.pwall.util.Strings
Convenience method to create a StringBuilder.
ByteArrayBuilder - Class in net.pwall.util
A dynamic byte array class.
ByteArrayBuilder(int, int) - Constructor for class net.pwall.util.ByteArrayBuilder
Construct a ByteArrayBuilder with the specified initial size and increment.
ByteArrayBuilder(int) - Constructor for class net.pwall.util.ByteArrayBuilder
Construct a ByteArrayBuilder with the specified initial size.
ByteArrayBuilder() - Constructor for class net.pwall.util.ByteArrayBuilder
Construct a ByteArrayBuilder with the default initial size of 20.
ByteArrayBuilder(byte[]) - Constructor for class net.pwall.util.ByteArrayBuilder
Construct a ByteArrayBuilder from an existing byte array.
ByteArrayBuilder(ByteArrayBuilder) - Constructor for class net.pwall.util.ByteArrayBuilder
Construct a ByteArrayBuilder from another ByteArrayBuilder.

C

capitalise(String) - Static method in class net.pwall.util.Strings
Capitalise the first letter of a string.
charAt(int) - Method in class net.pwall.util.ParseText
Get a specific character from the text.
charAt(int) - Method in class net.pwall.util.ReaderBuffer
Get the character at the specified index.
charAt(int) - Method in class net.pwall.util.SubSequence
charComparator - Static variable in class net.pwall.util.CharMapperEntry
 
CharIterator - Class in net.pwall.util
An iterator over the characters of a CharSequence (a String, StringBuilder etc.).
CharIterator(CharSequence, int, int) - Constructor for class net.pwall.util.CharIterator
Construct a CharIterator with a given CharSequence, specifying the start and end points.
CharIterator(CharSequence) - Constructor for class net.pwall.util.CharIterator
Construct a CharIterator over an entire CharSequence.
CharMapper - Interface in net.pwall.util
Character mapper interface for "escape" functions.
charMapper - Static variable in class net.pwall.util.Java
 
charMapper - Static variable in class net.pwall.util.URI
CharMapperEntry - Class in net.pwall.util
Mapping entry class for CharMapper interface.
CharMapperEntry(int, String) - Constructor for class net.pwall.util.CharMapperEntry
 
CharUnmapper - Interface in net.pwall.util
Character unmapper interface for "unescape" functions.
charUnmapper - Static variable in class net.pwall.util.URI
ChunkedArrayList<E> - Class in net.pwall.util
A List implementation optimised for the following case: The list may grow very large (several thousand elements), almost exclusively by addition at end Insertions in the middle or at the start of the list occur seldom or never Removals are rare (except by ChunkedArrayList.clear()), particularly from the middle or start of the list Access to the list is both random (an individual item) and serial (a sequence starting at a nominated point) The list is implemented as a set of chunks, each of which is an ArrayList pre-allocated to a specified chunk size.
ChunkedArrayList(int, int) - Constructor for class net.pwall.util.ChunkedArrayList
Construct a ChunkedArrayList with the specified chunk size and initial number of chunks.
ChunkedArrayList(int) - Constructor for class net.pwall.util.ChunkedArrayList
Construct a ChunkedArrayList with the specified chunk size and the default initial number of chunks.
ChunkedArrayList() - Constructor for class net.pwall.util.ChunkedArrayList
Construct a ChunkedArrayList with the default chunk size and initial number of chunks.
ChunkedArrayList(Collection<? extends E>) - Constructor for class net.pwall.util.ChunkedArrayList
Construct a ChunkedArrayList with the default chunk size and initial number of chunks, and then populate the list from an existing Collection.
clear() - Method in class net.pwall.util.ChunkedArrayList
Removes all of the elements from this list.
clear() - Method in class net.pwall.util.ListMap
Remove all members from this ListMap.
clear() - Method in class net.pwall.util.OrderedSet
ComparablePair<F extends Comparable<? super F>,S extends Comparable<? super S>> - Class in net.pwall.util
A comparable pair of objects.
ComparablePair(F, S) - Constructor for class net.pwall.util.ComparablePair
Construct a ComparablePair with the given values.
ComparableRef<T extends Comparable<? super T>> - Class in net.pwall.util
A comparable reference to an object.
ComparableRef(T) - Constructor for class net.pwall.util.ComparableRef
Construct a ComparableRef with the given value.
compare(T, T) - Static method in class net.pwall.util.ComparableRef
Compare two objects for order, allowing for nulls.
compareTo(ComparablePair<F, S>) - Method in class net.pwall.util.ComparablePair
Compare this object with another for order.
compareTo(ComparableRef<T>) - Method in class net.pwall.util.ComparableRef
Compare this reference with another for order.
contains(Object) - Method in class net.pwall.util.ChunkedArrayList
contains(Object) - Method in class net.pwall.util.OrderedSet
Test whether the set contains the specified object.
containsKey(Object) - Method in class net.pwall.util.ListMap
Test whether the ListMap contains a specified key.
containsValue(Object) - Method in class net.pwall.util.ListMap
Test whether the ListMap contains the specified value.
convertDecDigit(char) - Method in class net.pwall.util.ParseText
Convert a decimal digit to the integer value of the digit.
convertDecDigit(char) - Static method in class net.pwall.util.Strings
Convert a decimal digit to the integer value of the digit.
convertHexDigit(char) - Method in class net.pwall.util.ParseText
Convert a hexadecimal digit to the integer value of the digit.
convertHexDigit(char) - Static method in class net.pwall.util.Strings
Convert a hexadecimal digit to the integer value of the digit.
convertHexToInt(CharSequence, int, int) - Static method in class net.pwall.util.Strings
Convert a group of hexadecimal digits in a CharSequence to an int.
convertHexToLong(CharSequence, int, int) - Static method in class net.pwall.util.Strings
Convert a group of hexadecimal digits in a CharSequence to a long.
convertToInt(CharSequence, int, int) - Static method in class net.pwall.util.Strings
Convert a group of digits in a CharSequence to an int.
convertToLong(CharSequence, int, int) - Static method in class net.pwall.util.Strings
Convert a group of digits in a CharSequence to a long.
create() - Method in class net.pwall.util.ByteArrayBuilder
Convenience method to create a ByteArrayBuilder.
create(int) - Method in class net.pwall.util.ByteArrayBuilder
Convenience method to create a ByteArrayBuilder, specifying the initial size.
create(F, S) - Static method in class net.pwall.util.ComparablePair
Create a ComparablePair, automatically deriving the classes of the objects.
create() - Static method in class net.pwall.util.OrderedSet
Create a new OrderedSet of Comparable objects.
create(F, S) - Static method in class net.pwall.util.Pair
Create a new Pair where the types of the two objects are inferred from the types of the arguments.
create(T) - Static method in class net.pwall.util.Ref
Create a new Ref where the type of the object is inferred from the type of the argument.

D

DAY_OF_MONTH_MASK - Static variable in class net.pwall.util.ISO8601Date
 
DAY_OF_WEEK_MASK - Static variable in class net.pwall.util.ISO8601Date
 
DAY_OF_YEAR_MASK - Static variable in class net.pwall.util.ISO8601Date
 
decimalMapping(int, String, String) - Static method in interface net.pwall.util.CharMapper
Map a code point into a decimal string with prefix and optional suffix.
decode(byte[]) - Static method in class net.pwall.util.Base64
Decode a byte array from Base64.
decode(CharSequence) - Static method in class net.pwall.util.Base64
Decode a CharSequence (String, StringBuilder etc.) from Base64.
decode(CharSequence) - Static method in class net.pwall.util.ISO8601Date
Parse an ISO 8601 date into a Calendar object.
defaultBufferSize - Static variable in class net.pwall.util.ReaderBuffer
Default buffer size = 4096
defaultChunkSize - Static variable in class net.pwall.util.ChunkedArrayList
 
defaultFormat - Static variable in exception net.pwall.util.UserError
 
defaultInitialCapacity - Static variable in class net.pwall.util.SyncQueue
 
defaultInitialChunks - Static variable in class net.pwall.util.ChunkedArrayList
 
defaultMaxLength - Static variable in class net.pwall.util.SyncQueue
 

E

encode(byte[]) - Static method in class net.pwall.util.Base64
Encode a byte array into Base64, returning another byte array.
encodeString(byte[]) - Method in class net.pwall.util.Base64
Encode a byte array into Base64, returning a string.
encodeStringURL(byte[]) - Method in class net.pwall.util.Base64
Encode a byte array into the URL variant of Base64, returning a string.
encodeURL(byte[]) - Static method in class net.pwall.util.Base64
Encode a byte array into the URL variant of Base64, returning another byte array.
Entry(KK, VV) - Constructor for class net.pwall.util.ListMap.Entry
Construct an Entry with the given key and value.
entrySet() - Method in class net.pwall.util.ListMap
Get a Set of the key-value pairs in use in the ListMap.
equal(Object, Object) - Static method in class net.pwall.util.Ref
Compare two objects for equality, allowing for nulls.
equals(Object) - Method in class net.pwall.util.ListMap.Entry
equals(Object) - Method in class net.pwall.util.ListMap
Compare this ListMap with another object for equality.
equals(Object) - Method in class net.pwall.util.Pair
Compare this object to another for equality.
equals(Object) - Method in class net.pwall.util.ParseText
Compare the ParseText with another object for equality.
equals(Object) - Method in class net.pwall.util.Ref
Compare this reference to another for equality.
errorMessage - Static variable in class net.pwall.util.URI
 
escape(String, CharMapper) - Static method in class net.pwall.util.Strings
Replace certain characters in a string with their mapped equivalents, as specified in the provided CharMapper instance.
escape(CharSequence, CharMapper) - Static method in class net.pwall.util.Strings
Replace certain characters in a CharSequence with their mapped equivalents, as specified in the provided CharMapper instance.
escape(String) - Static method in class net.pwall.util.URI
Escape a string for use in a URI.
escapeUTF16(String, CharMapper) - Static method in class net.pwall.util.Strings
Replace certain characters in a string with their mapped equivalents, as specified in the provided CharMapper instance.
escapeUTF16(CharSequence, CharMapper) - Static method in class net.pwall.util.Strings
Replace certain characters in a CharSequence with their mapped equivalents, as specified in the provided CharMapper instance.

F

findIndex(Object) - Method in class net.pwall.util.ListMap
Find the index for the specified key.
findIndex(Object) - Method in class net.pwall.util.SortedListMap
Find the index for the specified key.
formatKey - Static variable in exception net.pwall.util.UserError
 
fromUTF8(byte[]) - Static method in class net.pwall.util.Strings
Convert a byte array from UTF-8 encoding to a UTF-16 string.
fromUTF8(ByteBuffer) - Static method in class net.pwall.util.Strings
Convert a sequence of bytes in a ByteBuffer from UTF-8 encoding to a UTF-16 string.
fromUTF8(ByteBuffer[]) - Static method in class net.pwall.util.Strings
Convert a sequence of bytes in an array of ByteBuffers from UTF-8 encoding to a UTF-16 string.
fromUTF8(Iterator<Byte>) - Static method in class net.pwall.util.Strings
Convert a sequence of bytes described by an Iterator from UTF-8 encoding to a UTF-16 string.
fromUTF8(byte[], int, int) - Static method in class net.pwall.util.Strings
Convert a portion of a byte array from UTF-8 encoding to a UTF-16 string.

G

get(int) - Method in class net.pwall.util.ByteArrayBuilder
Get a nominated byte from the array.
get(int) - Method in class net.pwall.util.ChunkedArrayList
get(int) - Method in class net.pwall.util.ListArray
get(Object) - Method in class net.pwall.util.ListMap
Get a value from the ListMap.
get() - Method in class net.pwall.util.Ref
Get the object.
get() - Method in class net.pwall.util.SyncQueue
Get the next object from the queue, blocking if none is available.
getCalendar() - Static method in class net.pwall.util.ISO8601Date
Get a Calendar object in a suitable form for ISO 8601 dates.
getChar() - Method in class net.pwall.util.ParseText
Get the character at the current index and increment the index.
getCodePoint() - Method in class net.pwall.util.CharMapperEntry
 
getCodePoint() - Method in class net.pwall.util.ParseText
Get the Unicode code point at the current character index and increment the index past the code point.
getEncodedLength(int) - Static method in class net.pwall.util.Base64
Get the encoded length of data encoded into Base64.
getEncodedURLLength(int) - Static method in class net.pwall.util.Base64
Get the encoded length of data encoded into the URL variant of Base64.
getEntry(int) - Method in class net.pwall.util.ListMap
Get an ListMap.Entry by index.
getFirst() - Method in class net.pwall.util.Pair
Get the first object.
getHexInt(int, int) - Method in class net.pwall.util.ParseText
Get an int from the text, treating the digits as hexadecimal.
getHexLong(int, int) - Method in class net.pwall.util.ParseText
Get a long from the text, treating the digits as hexadecimal.
getIndex() - Method in class net.pwall.util.ParseText
Get the current index (the offset within the text).
getInt(int, int) - Method in class net.pwall.util.ParseText
Get an int from the text.
getKey() - Method in class net.pwall.util.ListMap.Entry
getLong(int, int) - Method in class net.pwall.util.ParseText
Get a long from the text.
getMaxLength() - Method in class net.pwall.util.SyncQueue
Get the maximum queue length.
getObject() - Method in class net.pwall.util.Ref
Get the object (alternative accessor to allow use of the reference in bean-style accesses).
getResultChar() - Method in class net.pwall.util.ParseText
Get the result of the last match operation (or the first character of a longer match) as a single character.
getResultHexInt() - Method in class net.pwall.util.ParseText
Get the result of the last match operation as an int, treating the digits as hexadecimal.
getResultHexLong() - Method in class net.pwall.util.ParseText
Get the result of the last match operation as a long, treating the digits as hexadecimal.
getResultInt() - Method in class net.pwall.util.ParseText
Get the result of the last match operation as an int.
getResultLength() - Method in class net.pwall.util.ParseText
Get the length of the result of the last match operation.
getResultLong() - Method in class net.pwall.util.ParseText
Get the result of the last match operation as a long.
getResultSequence() - Method in class net.pwall.util.ParseText
Get the result of the last match operation as a CharSequence.
getResultString() - Method in class net.pwall.util.ParseText
Get the result of the last match operation as a String.
getSecond() - Method in class net.pwall.util.Pair
Get the second object.
getSize() - Method in class net.pwall.util.SyncQueue
Determine the current length of the queue.
getStart() - Method in class net.pwall.util.ParseText
Get the start index (the index of the start of the last matched sequence).
getString() - Method in class net.pwall.util.CharMapperEntry
 
getString(int, int) - Method in class net.pwall.util.ParseText
Extract a string from the text, bounded by the given start and end offsets.
getText() - Method in class net.pwall.util.ParseText
Get the entire text from the ParseText object (as a CharSequence).
getTextLength() - Method in class net.pwall.util.ParseText
Get the length of the entire text.
getTimeZone() - Method in class net.pwall.util.ISO8601Date
 
getValue() - Method in class net.pwall.util.ListMap.Entry

H

hashCode() - Method in class net.pwall.util.ListMap.Entry
hashCode() - Method in class net.pwall.util.ListMap
Get the hash code for this ListMap.
hashCode() - Method in class net.pwall.util.Pair
Return the hash code for the Pair.
hashCode() - Method in class net.pwall.util.ParseText
Compute the hash code for this object (for completeness).
hashCode() - Method in class net.pwall.util.Ref
Return the hash code for the Ref.
hasNext() - Method in class net.pwall.util.ArrayIterator
hasNext() - Method in class net.pwall.util.CharIterator
hasNext() - Method in class net.pwall.util.OrderedSet.Iter
 
hexMapping(int, int, String, String) - Static method in interface net.pwall.util.CharMapper
Map a code point into a fixed-length hexadecimal string with prefix and optional suffix.
hexMapping(int, int, String) - Static method in interface net.pwall.util.CharMapper
Map a code point into a fixed-length hexadecimal string with prefix and no suffix.
HOUR_OF_DAY_MASK - Static variable in class net.pwall.util.ISO8601Date
 

I

indexOf(Object) - Method in class net.pwall.util.ChunkedArrayList
Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element.
insert(int, int) - Method in class net.pwall.util.ByteArrayBuilder
Insert an int as a single byte at the nominated point in the array.
insert(int, byte[]) - Method in class net.pwall.util.ByteArrayBuilder
Insert a byte array at the nominated point in the array.
insert(int, ByteArrayBuilder) - Method in class net.pwall.util.ByteArrayBuilder
Insert another ByteArrayBuilder at the nominated point in the array.
insert(T) - Method in class net.pwall.util.SyncQueue
Insert an object at the beginning of the queue and wake up all threads currently waiting for this queue.
insertUnique(T) - Method in class net.pwall.util.SyncQueue
Insert an object at the beginning of the queue and wake up all threads currently waiting for this queue.
IntSequence - Class in net.pwall.util
Generate a sequence of int numbers.
IntSequence(int) - Constructor for class net.pwall.util.IntSequence
 
IntSequence() - Constructor for class net.pwall.util.IntSequence
 
isAllSpace(CharSequence) - Static method in class net.pwall.util.Java
Test whether a CharSequence contains all whitespace, using the Java source code rules for whitespace.
isDigit(char) - Method in class net.pwall.util.ParseText
Test whether the given character is a digit.
isEmpty() - Method in class net.pwall.util.ListMap
Test whether the ListMapis empty.
isEscape(CharSequence, int) - Method in interface net.pwall.util.CharUnmapper
Test whether the character at offset in the CharSequence s is the start of an escape sequence.
isExhausted() - Method in class net.pwall.util.ParseText
Test whether the ParseText object is exhausted (the index has reached the end of the text).
isHexDigit(char) - Method in class net.pwall.util.ParseText
Test whether the given character is a hexadecimal digit.
isNameContinuation(char) - Method in class net.pwall.util.ParseText
Test whether the given character is a continuation character of a name.
isNameStart(char) - Method in class net.pwall.util.ParseText
Test whether the given character is the start character of a name.
ISO8601Date - Class in net.pwall.util
ISO 8601 Date.
ISO8601Date() - Constructor for class net.pwall.util.ISO8601Date
 
ISO8601Date(long) - Constructor for class net.pwall.util.ISO8601Date
 
ISO8601Date(String) - Constructor for class net.pwall.util.ISO8601Date
 
ISO8601Date(String, TimeZone) - Constructor for class net.pwall.util.ISO8601Date
 
ISO8601Date(Date, TimeZone) - Constructor for class net.pwall.util.ISO8601Date
 
ISO8601Date(Calendar) - Constructor for class net.pwall.util.ISO8601Date
 
ISO8601Date(ISO8601Date) - Constructor for class net.pwall.util.ISO8601Date
 
isSpace(char) - Method in class net.pwall.util.ParseText
Test whether the given character is a space.
isUnreserved(int) - Static method in class net.pwall.util.URI
Test whether a given code point is "unreserved" according to the URI specification RFC 3986.
Iter() - Constructor for class net.pwall.util.OrderedSet.Iter
 
iterator() - Method in class net.pwall.util.OrderedSet
Returns an Iterator over the elements contained in this set.

J

Java - Class in net.pwall.util
Static methods for working with Java source code.
join(Iterable<E>) - Static method in class net.pwall.util.Strings
Join the string representations of the members of a collection.
join(Iterator<E>) - Static method in class net.pwall.util.Strings
Join the string representations of the members of an Iterator.
join(Enumeration<E>) - Static method in class net.pwall.util.Strings
Join the string representations of the members of an Enumeration.
join(E[]) - Static method in class net.pwall.util.Strings
Join the string representations of the members of an array.
join(Iterable<E>, char) - Static method in class net.pwall.util.Strings
Join the string representations of the members of a collection, with the specified character separator.
join(Iterator<E>, char) - Static method in class net.pwall.util.Strings
Join the string representations of the members of an Iterator, with the specified character separator.
join(Enumeration<E>, char) - Static method in class net.pwall.util.Strings
Join the string representations of the members of an Enumeration, with the specified character separator.
join(E[], char) - Static method in class net.pwall.util.Strings
Join the string representations of the members of an array, with the specified character separator.
join(Iterable<E>, String) - Static method in class net.pwall.util.Strings
Join the string representations of the members of a collection, with the specified string separator.
join(Iterator<E>, String) - Static method in class net.pwall.util.Strings
Join the string representations of the members of an Iterator, with the specified string separator.
join(Enumeration<E>, String) - Static method in class net.pwall.util.Strings
Join the string representations of the members of an Enumeration, with the specified string separator.
join(E[], String) - Static method in class net.pwall.util.Strings
Join the string representations of the members of an array, with the specified string separator.

K

keySet() - Method in class net.pwall.util.ListMap
Get a Set representing the keys in use in the ListMap.

L

last() - Method in class net.pwall.util.IntSequence
 
lastIndexOf(Object) - Method in class net.pwall.util.ChunkedArrayList
Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.
length() - Method in class net.pwall.util.ByteArrayBuilder
Get the length of the ByteArrayBuilder (the number of bytes used).
length() - Method in class net.pwall.util.ParseText
Get the length of the entire text.
length() - Method in class net.pwall.util.ReaderBuffer
Get the total length of the CharSequence.
length() - Method in class net.pwall.util.SubSequence
list - Variable in class net.pwall.util.ListMap
 
ListArray<T> - Class in net.pwall.util
Utility class to access an array as a List.
ListArray(T[]) - Constructor for class net.pwall.util.ListArray
Construct a ListArray with the given array.
ListMap<K,V> - Class in net.pwall.util
An implementation of Map that uses a List to hold the entries, retaining the order of insertion.
ListMap() - Constructor for class net.pwall.util.ListMap
Construct an empty ListMap.
ListMap(int) - Constructor for class net.pwall.util.ListMap
Construct an empty ListMap with a specified initial capacity.
ListMap(Map<? extends K, ? extends V>) - Constructor for class net.pwall.util.ListMap
Construct a ListMap with the contents of another Map.
ListMap.Entry<KK,VV> - Class in net.pwall.util
Inner class to represent a key-value pair in the ListMap.
lookupMapping(String[][], int) - Static method in interface net.pwall.util.CharMapper
Map a code point using a lookup table.
lookupMapping(CharMapperEntry[], int) - Static method in interface net.pwall.util.CharMapper
Map a code point using a lookup table.

M

map(int) - Method in interface net.pwall.util.CharMapper
Map character to it's "escaped" string equivalent, for example '+' to "%2B" in URL encoding.
map(int) - Method in class net.pwall.util.MultiCharMapper
Map character to it's "escaped" string equivalent.
match(int) - Method in class net.pwall.util.ParseText
Match the current character in the text against a given Unicode code point.
match(char) - Method in class net.pwall.util.ParseText
Match the current character in the text against a given character.
match(CharSequence) - Method in class net.pwall.util.ParseText
Match the characters at the index against a given CharSequence (String, StringBuilder etc.).
matchAnyOf(String) - Method in class net.pwall.util.ParseText
Match the current character in the text against any of the characters in a given String.
matchAnyOf(char...) - Method in class net.pwall.util.ParseText
Match the current character in the text against any of the characters in a given array.
matchAnyOf(CharSequence...) - Method in class net.pwall.util.ParseText
Match the characters at the index against any of an array of CharSequence (String, StringBuilder etc.) objects.
matchAnyOf(Collection<? extends CharSequence>) - Method in class net.pwall.util.ParseText
Match the characters at the index against any of a Collection of CharSequence (String, StringBuilder etc.) objects.
matchDec(int, int) - Method in class net.pwall.util.ParseText
Match the characters at the index as decimal digits, with a given minimum number of digits and an optional maximum.
matchDec(int) - Method in class net.pwall.util.ParseText
Match the characters at the index as decimal digits, with a minimum of 1 digit and an optional maximum.
matchDec() - Method in class net.pwall.util.ParseText
Match the characters at the index as decimal digits, with a minimum of 1 digit and no maximum.
matchDecFixed(int) - Method in class net.pwall.util.ParseText
Match the characters at the index as a fixed number of decimal digits.
matchHex(int, int) - Method in class net.pwall.util.ParseText
Match the characters at the index as hexadecimal digits, with a given minimum number of digits and an optional maximum.
matchHex(int) - Method in class net.pwall.util.ParseText
Match the characters at the index as hexadecimal digits, with a minimum of 1 digit and an optional maximum.
matchHex() - Method in class net.pwall.util.ParseText
Match the characters at the index as hexadecimal digits, with a minimum of 1 digit and no maximum.
matchHexFixed(int) - Method in class net.pwall.util.ParseText
Match the characters at the index as a fixed number of hexadecimal digits.
matchIgnoreCase(char) - Method in class net.pwall.util.ParseText
Match the current character in the text against a given character, ignoring case.
matchIgnoreCase(CharSequence) - Method in class net.pwall.util.ParseText
Match the characters at the index against a given CharSequence (String, StringBuilder etc.), ignoring case.
matchName(CharSequence) - Method in class net.pwall.util.ParseText
Match the characters at the index against a given CharSequence (String, StringBuilder etc.), checking that the character following the match is not part of a name.
matchName() - Method in class net.pwall.util.ParseText
Match the characters at the index as a name, where a name is defined as starting with a character that matches ParseText.isNameStart(char), followed by zero or more characters that match ParseText.isNameContinuation(char).
matchRange(char, char) - Method in class net.pwall.util.ParseText
Match the current character in the text against a given character range.
matchSpaces() - Method in class net.pwall.util.ParseText
Match the characters at the index as spaces.
matchSuccess(int) - Method in class net.pwall.util.ParseText
Indicate successful match.
MILLISECOND_MASK - Static variable in class net.pwall.util.ISO8601Date
 
MINIMUM_READ_BUFFER_SIZE - Static variable in class net.pwall.util.ByteArrayBuilder
 
minimumChunkSize - Static variable in class net.pwall.util.ChunkedArrayList
 
MINUTE_MASK - Static variable in class net.pwall.util.ISO8601Date
 
MONTH_MASK - Static variable in class net.pwall.util.ISO8601Date
 
MultiCharMapper - Class in net.pwall.util
An implementation of CharMapper that delegates to a number of other mappers in turn.
MultiCharMapper() - Constructor for class net.pwall.util.MultiCharMapper
Construct a MultiCharMapper with an empty list of delegate mappers.
MultiCharMapper(CharMapper...) - Constructor for class net.pwall.util.MultiCharMapper
Construct a MultiCharMapper with the supplied list of delegate mappers.
multiWildcardCompare(String, CharSequence) - Static method in class net.pwall.util.Strings
Perform multi-wildcard comparison.

N

net.pwall.util - package net.pwall.util
Utility classes.
next() - Method in class net.pwall.util.ArrayIterator
next() - Method in class net.pwall.util.CharIterator
next() - Method in class net.pwall.util.IntSequence
 
next() - Method in class net.pwall.util.OrderedSet.Iter
 

O

OrderedSet<E> - Class in net.pwall.util
An implementation of the Set interface using an ordered list and binary search.
OrderedSet(Comparator<E>) - Constructor for class net.pwall.util.OrderedSet
Construct an OrderedSet.
OrderedSet(Comparator<E>, Collection<? extends E>) - Constructor for class net.pwall.util.OrderedSet
Construct an OrderedSet, providing an initial collection.
OrderedSet.Iter - Class in net.pwall.util
 

P

Pair<F,S> - Class in net.pwall.util
A pair of objects.
Pair(F, S) - Constructor for class net.pwall.util.Pair
Construct a Pair with the given values.
ParseText - Class in net.pwall.util
A class to assist with text parsing.
ParseText(CharSequence, int) - Constructor for class net.pwall.util.ParseText
Construct a ParseText object with the given text and initial index value.
ParseText(CharSequence) - Constructor for class net.pwall.util.ParseText
Construct a ParseText object with the given text and an initial index value 0f 0.
plural(String, int) - Static method in class net.pwall.util.Strings
Create a string consisting of a number, space, and the singular or plural form of a given noun (using standard English plural forms, i.e. add the letter "s").
plural(String, String, int) - Static method in class net.pwall.util.Strings
Create a string consisting of a number, space, and the singular or plural noun (for use with irregular plurals).
printStackTrace() - Method in exception net.pwall.util.UserError
Print the stack trace for this error.
printStackTrace(PrintStream) - Method in exception net.pwall.util.UserError
Print the stack trace for this error to a specified PrintStream.
printStackTrace(PrintWriter) - Method in exception net.pwall.util.UserError
Print the stack trace for this error to a specified PrintWriter.
put(K, V) - Method in class net.pwall.util.ListMap
Store a value in the ListMap with the specified key.
put(K, V) - Method in class net.pwall.util.SortedListMap
Store a value in the ListMap with the specified key.
putAll(Map<? extends K, ? extends V>) - Method in class net.pwall.util.ListMap
Add all the members of another Map to this ListMap.

Q

quote(String) - Static method in class net.pwall.util.Java
Convert a string to the quoted form as used in Java source code, converting non-ASCII characters as appropriate.
quoteCharacter(char) - Static method in class net.pwall.util.Java
Convert a character to the quoted form as used in Java source code, converting non-ASCII characters as appropriate.

R

ReaderBuffer - Class in net.pwall.util
An implementation of CharSequence that provides read-only random access to the data input from a Reader.
ReaderBuffer(Reader, int) - Constructor for class net.pwall.util.ReaderBuffer
Create a ReaderBuffer with the contents taken from the nominated Reader, using the specified buffer size.
ReaderBuffer(Reader) - Constructor for class net.pwall.util.ReaderBuffer
Create a ReaderBuffer with the contents taken from the nominated Reader, using the default buffer size.
Ref<T> - Class in net.pwall.util
A reference to an object.
Ref(T) - Constructor for class net.pwall.util.Ref
Construct a Ref with the given object.
remove(Object) - Method in class net.pwall.util.ChunkedArrayList
remove(int) - Method in class net.pwall.util.ChunkedArrayList
Removes the element at the specified position in this list.
remove(Object) - Method in class net.pwall.util.ListMap
Remove the specified key-value mapping from the ListMap.
remove() - Method in class net.pwall.util.OrderedSet.Iter
 
remove(Object) - Method in class net.pwall.util.OrderedSet
Remove the specified object from the set.
remove(T) - Method in class net.pwall.util.SyncQueue
Remove the specified object from the queue.
reset(int) - Method in class net.pwall.util.IntSequence
 
reset() - Method in class net.pwall.util.IntSequence
 
reset() - Method in class net.pwall.util.ParseText
Reset the index to the start of the text.
revert() - Method in class net.pwall.util.ParseText
Undo the effect of the last match operation.

S

SECOND_MASK - Static variable in class net.pwall.util.ISO8601Date
 
set(int, int) - Method in class net.pwall.util.ByteArrayBuilder
Set a nominated byte in the array to a given value.
set(int, E) - Method in class net.pwall.util.ChunkedArrayList
Replaces the element at the specified position in this list with the specified element.
set(int, T) - Method in class net.pwall.util.ListArray
setIndex(int) - Method in class net.pwall.util.ParseText
Set the index to a specified value.
setMaxLength(int) - Method in class net.pwall.util.SyncQueue
Get the maximum queue length.
setStart(int) - Method in class net.pwall.util.ParseText
Set the start index (the index of the start of the last matched sequence).
setText(CharSequence, int) - Method in class net.pwall.util.ParseText
Set the text and the index within the text.
setText(CharSequence) - Method in class net.pwall.util.ParseText
Set the text.
setTime(long) - Method in class net.pwall.util.ISO8601Date
 
setTimeZone(TimeZone) - Method in class net.pwall.util.ISO8601Date
 
setValue(VV) - Method in class net.pwall.util.ListMap.Entry
size() - Method in class net.pwall.util.ChunkedArrayList
size() - Method in class net.pwall.util.ListArray
size() - Method in class net.pwall.util.ListMap
Get the number of values in the ListMap.
size() - Method in class net.pwall.util.OrderedSet
skip(int) - Method in class net.pwall.util.IntSequence
 
skip(int) - Method in class net.pwall.util.ParseText
Increment the index by n.
skipPast(IntPredicate) - Method in class net.pwall.util.ParseText
Increment the index past any characters matching a given comparison function.
skipSpaces() - Method in class net.pwall.util.ParseText
Increment the index past zero or more spaces.
skipTo(char) - Method in class net.pwall.util.ParseText
Increment the index to the next occurrence of the given character.
skipTo(CharSequence) - Method in class net.pwall.util.ParseText
Increment the index to the next occurrence of the stopper sequence.
skipTo(IntPredicate) - Method in class net.pwall.util.ParseText
Increment the index past any characters matching a given comparison function.
skipToAnyOf(char...) - Method in class net.pwall.util.ParseText
Increment the index to the next occurrence of any of the given characters.
skipToAnyOf(CharSequence) - Method in class net.pwall.util.ParseText
Increment the index to the next occurrence of any of the given characters.
skipToEnd() - Method in class net.pwall.util.ParseText
Increment the index directly to the end of the text.
skipToSpace() - Method in class net.pwall.util.ParseText
Increment the index to the next space.
SortedListMap<K extends Comparable<K>,V> - Class in net.pwall.util
An implementation of Map that uses a List to hold the entries in sorted order.
SortedListMap() - Constructor for class net.pwall.util.SortedListMap
Construct an empty SortedListMap.
SortedListMap(int) - Constructor for class net.pwall.util.SortedListMap
Construct an empty SortedListMap with a specified initial capacity.
SortedListMap(Map<? extends K, ? extends V>) - Constructor for class net.pwall.util.SortedListMap
Construct a SortedListMap with the contents of another Map.
split(String) - Static method in class net.pwall.util.Strings
Split a string into white space delimited tokens, where white space is determined by Character.isWhitespace(char).
split(String, int, int) - Static method in class net.pwall.util.Strings
Split a portion of a string into white space delimited tokens, where white space is determined by Character.isWhitespace(char).
split(String, IntPredicate) - Static method in class net.pwall.util.Strings
Split a string into white space delimited tokens, where white space is determined by a supplied IntPredicate function.
split(String, int, int, IntPredicate) - Static method in class net.pwall.util.Strings
Split a portion of a string into white space delimited tokens, where white space is determined by a supplied IntPredicate function.
split(String, String) - Static method in class net.pwall.util.Strings
Split a string on a given string separator.
split(String, char) - Static method in class net.pwall.util.Strings
Split a string on a given separator.
split(String, char, boolean, IntPredicate) - Static method in class net.pwall.util.Strings
Split a string on a given separator character.
split(String, int, int, char, boolean, IntPredicate) - Static method in class net.pwall.util.Strings
Split a portion of a string on a given separator character.
stringComparator - Static variable in class net.pwall.util.CharMapperEntry
 
stringMapper - Static variable in class net.pwall.util.Java
 
Strings - Class in net.pwall.util
String utility functions.
strip(String, IntPredicate) - Static method in class net.pwall.util.Strings
Strip characters from a string, where those characters match a supplied IntPredicate function.
strip(CharSequence, IntPredicate) - Static method in class net.pwall.util.Strings
Strip characters from a CharSequence, where those characters match a supplied IntPredicate function.
stripUTF16(String, IntPredicate) - Static method in class net.pwall.util.Strings
Strip code points from a UTF16 string, where those code points match a supplied IntPredicate function.
subSequence(int, int) - Method in class net.pwall.util.ReaderBuffer
Get a sub-sequence of this CharSequence.
SubSequence - Class in net.pwall.util
A sub-sequence of a CharSequence.
SubSequence(CharSequence, int, int) - Constructor for class net.pwall.util.SubSequence
Create a sub-sequence from the specified CharSequence.
subSequence(int, int) - Method in class net.pwall.util.SubSequence
SyncQueue<T> - Class in net.pwall.util
Class to represent a synchronized first-in first-out queue.
SyncQueue(int, int) - Constructor for class net.pwall.util.SyncQueue
Construct a SyncQueue with the specified initial capacity and maximum size.
SyncQueue(int) - Constructor for class net.pwall.util.SyncQueue
Construct a SyncQueue with the specified initial capacity.
SyncQueue() - Constructor for class net.pwall.util.SyncQueue
Construct a SyncQueue with the default initial capacity.

T

toByteArray() - Method in class net.pwall.util.ByteArrayBuilder
Get a byte array of only the bytes used.
toByteArray(int) - Method in class net.pwall.util.ByteArrayBuilder
Get a byte array of only the bytes used, starting from a nominated point.
toByteArray(int, int) - Method in class net.pwall.util.ByteArrayBuilder
Get a byte array of only the bytes used, using a nominated start and end point.
toEnglish(int) - Static method in class net.pwall.util.Strings
Convert a number to words in English.
toHex(CharSequence) - Static method in class net.pwall.util.Strings
Convert a CharSequence to hexadecimal.
toHex(CharSequence, char) - Static method in class net.pwall.util.Strings
Convert a CharSequence to hexadecimal, with a separator between bytes for easier reading.
toHex(byte[]) - Static method in class net.pwall.util.Strings
Convert a byte array to hexadecimal.
toHex(byte[], char) - Static method in class net.pwall.util.Strings
Convert a byte array to hexadecimal, with a separator between bytes for easier reading.
toHex(byte) - Static method in class net.pwall.util.Strings
Convert a byte to hexadecimal.
toHex(char) - Static method in class net.pwall.util.Strings
Convert a character to hexadecimal.
toHex(int) - Static method in class net.pwall.util.Strings
Convert an integer to hexadecimal.
toHex(long) - Static method in class net.pwall.util.Strings
Convert a long to hexadecimal.
toIdentifier(int) - Static method in class net.pwall.util.Strings
Convert an integer to a spreadsheet-style column identifier ("A", "B", ...
toString() - Method in class net.pwall.util.ISO8601Date
 
toString(Date, TimeZone) - Static method in class net.pwall.util.ISO8601Date
 
toString(Date) - Static method in class net.pwall.util.ISO8601Date
 
toString(Calendar) - Static method in class net.pwall.util.ISO8601Date
Convert a Calendar object to an ISO 8601 string.
toString(Calendar, boolean) - Static method in class net.pwall.util.ISO8601Date
Convert a Calendar object to an ISO 8601 string.
toString(Calendar, boolean, int) - Static method in class net.pwall.util.ISO8601Date
Convert a Calendar object to an ISO 8601 string.
toString() - Method in class net.pwall.util.ListMap.Entry
Convert the entry to String (usually for diagnostic purposes).
toString() - Method in class net.pwall.util.ListMap
Convert the map to String (usually for diagnostic purposes).
toString() - Method in class net.pwall.util.Pair
Return the String representation of the Pair.
toString() - Method in class net.pwall.util.ParseText
Create a String representation of the ParseText object.
toString() - Method in class net.pwall.util.ReaderBuffer
Get the string from this CharSequence.
toString(Reader) - Static method in class net.pwall.util.ReaderBuffer
Convenience method to convert the contents of a Reader to a String.
toString(Reader, int) - Static method in class net.pwall.util.ReaderBuffer
Convenience method to convert the contents of a Reader to a String using a specified buffer size.
toString() - Method in class net.pwall.util.Ref
Return the String representation of the Ref.
toString() - Method in class net.pwall.util.SubSequence
toString() - Method in exception net.pwall.util.UserError
Create a String representation of the UserError.
toUTF16(int) - Static method in class net.pwall.util.Strings
Convert a Unicode code point to a one- or two-character string.
toUTF16(int[]) - Static method in class net.pwall.util.Strings
Convert an array of Unicode code points to a string.
toUTF8(String) - Static method in class net.pwall.util.Strings
Convert a string to UTF-8 encoding.
toUTF8(String, int, int) - Static method in class net.pwall.util.Strings
Convert a portion of a string to UTF-8 encoding.
trim(CharSequence) - Static method in class net.pwall.util.Java
Trim whitespace from the start and end of a CharSequence, using the Java source code rules for whitespace.
trim(String) - Static method in class net.pwall.util.Java
Trim whitespace from the start and end of a String, using the Java source code rules for whitespace.
trim(String, IntPredicate) - Static method in class net.pwall.util.Strings
Trim leading and trailing characters from a string, where those characters match a supplied IntPredicate function.
trim(CharSequence, IntPredicate) - Static method in class net.pwall.util.Strings
Trim leading and trailing characters from a CharSequence, where those characters match a supplied IntPredicate function.
trim(String) - Static method in class net.pwall.util.Strings
Trim leading and trailing whitespace from a string, where white space is determined by Character.isWhitespace(char).
trim(CharSequence) - Static method in class net.pwall.util.Strings
Trim leading and trailing whitespace from a CharSequence, where white space is determined by Character.isWhitespace(char).
trimLeading(String, IntPredicate) - Static method in class net.pwall.util.Strings
Trim leading characters from a string, where those characters match a supplied IntPredicate function.
trimLeading(CharSequence, IntPredicate) - Static method in class net.pwall.util.Strings
Trim leading characters from a CharSequence, where those characters match a supplied IntPredicate function.
trimLeading(String) - Static method in class net.pwall.util.Strings
Trim leading whitespace from a string, where white space is determined by Character.isWhitespace(char).
trimLeading(CharSequence) - Static method in class net.pwall.util.Strings
Trim leading whitespace from a CharSequence, where white space is determined by Character.isWhitespace(char).
trimTrailing(String, IntPredicate) - Static method in class net.pwall.util.Strings
Trim trailing characters from a string, where those characters match a supplied IntPredicate function.
trimTrailing(CharSequence, IntPredicate) - Static method in class net.pwall.util.Strings
Trim leading characters from a CharSequence, where those characters match a supplied IntPredicate function.
trimTrailing(String) - Static method in class net.pwall.util.Strings
Trim trailing whitespace from a string, where white space is determined by Character.isWhitespace(char).
trimTrailing(CharSequence) - Static method in class net.pwall.util.Strings
Trim trailing whitespace from a CharSequence, where white space is determined by Character.isWhitespace(char).
trimUTF16(String, IntPredicate) - Static method in class net.pwall.util.Strings
Trim leading and trailing code points from a UTF16 string, where those code points match a supplied IntPredicate function.

U

unescape(CharUnmapper, char) - Method in class net.pwall.util.ParseText
Unescape a string from the index, using the provided CharUnmapper and stopping on the given character stopper value.
unescape(String, CharUnmapper) - Static method in class net.pwall.util.Strings
Scan a string for escape sequences and replace them by the original characters.
unescape(CharSequence, CharUnmapper) - Static method in class net.pwall.util.Strings
Scan a CharSequence for escape sequences and replace them by the original characters.
unescape(String) - Static method in class net.pwall.util.URI
Unescape a string from a URI.
unmap(StringBuilder, CharSequence, int) - Method in interface net.pwall.util.CharUnmapper
Map the characters starting at offset in the CharSequence s with any of the possible escape sequences.
URI - Class in net.pwall.util
A set of static methods to assist with URIs.
UserError - Exception in net.pwall.util
A class to represent errors in user input - for example, command-line arguments incorrectly specified.
UserError(String) - Constructor for exception net.pwall.util.UserError
Construct a UserError with the supplied error message.

V

values() - Method in class net.pwall.util.ListMap
Get a Collection of the values in the ListMap.

W

WEEK_OF_YEAR_MASK - Static variable in class net.pwall.util.ISO8601Date
 
wildcardCompare(String, CharSequence) - Static method in class net.pwall.util.Strings
Perform wildcard comparison.
wildcardCompare(String, int, int, CharSequence) - Static method in class net.pwall.util.Strings
Perform wildcard comparison.

Y

YEAR_MASK - Static variable in class net.pwall.util.ISO8601Date
 

Z

ZONE_OFFSET_MASK - Static variable in class net.pwall.util.ISO8601Date
 
A B C D E F G H I J K L M N O P Q R S T U V W Y Z 
Skip navigation links

Copyright © 2020. All rights reserved.