- 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
-
- 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
-
- 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
-
- 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
-
- convertToLong(CharSequence, int, int) - Static method in class net.pwall.util.Strings
-
- 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(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.
- 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.
- 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
-
- 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
- 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.
- 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
-
- 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
-
- matchAnyOf(Collection<? extends CharSequence>) - Method in class net.pwall.util.ParseText
-
- 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
-
- 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
-
- 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.
- 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(String, int, int) - Static method in class net.pwall.util.Strings
-
- 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
-
- 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
-
- SubSequence - Class in net.pwall.util
-
- SubSequence(CharSequence, int, int) - Constructor for class net.pwall.util.SubSequence
-
- 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.
- 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
-
- 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
-
- 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(CharSequence) - Static method in class net.pwall.util.Strings
-
- 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
-
- trimLeading(String) - Static method in class net.pwall.util.Strings
-
- trimLeading(CharSequence) - Static method in class net.pwall.util.Strings
-
- 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
-
- trimTrailing(String) - Static method in class net.pwall.util.Strings
-
- trimTrailing(CharSequence) - Static method in class net.pwall.util.Strings
-
- 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.