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

A

a - Variable in class org.plumelib.util.Pair
The first element of the pair.
abbreviateNumber(long) - Static method in class org.plumelib.util.UtilPlume
Convert a number into an abbreviation such as "5.00K" for 5000 or "65.0M" for 65000000.
accept(T) - Method in interface org.plumelib.util.Filter
Tests whether a specified Object satisfies the filter.
accept(T) - Method in class org.plumelib.util.MultiRandSelector
Use the given value as one of the objects in the pool to select from.
accept(T) - Method in class org.plumelib.util.RandomSelector
When in fixed sample mode, increments the number of observed elements i by 1, then with probability k / i, the Object 'next' will be added to the currently selected values 'values' where k is equal to 'numElts'.
accept(File, String) - Method in class org.plumelib.util.UtilPlume.WildcardFilter
 
acceptIter(Iterator<T>) - Method in class org.plumelib.util.MultiRandSelector
Use all the iterator's elements in the pool to select from.
add(int) - Method in class org.plumelib.util.LimitedSizeIntSet
Add an element to this set.
add(T) - Method in class org.plumelib.util.LimitedSizeSet
Add an element to this set.
add(CharSequence) - Method in class org.plumelib.util.StringBuilderDelimited
Deprecated.
Appends the specified character sequence to this.
addAll(LimitedSizeIntSet) - Method in class org.plumelib.util.LimitedSizeIntSet
Add all elements of s to this set.
addAll(LimitedSizeSet<? extends T>) - Method in class org.plumelib.util.LimitedSizeSet
Add all elements of s to this set.
addToClasspath(String) - Static method in class org.plumelib.util.ReflectionPlume
Deprecated.
Add the directory to the system classpath.
allNull(Object[]) - Static method in class org.plumelib.util.ArraysPlume
Return true if all elements of a are null.
allNull(List<?>) - Static method in class org.plumelib.util.ArraysPlume
Return true if all elements of a are null.
anyNull(Object[]) - Static method in class org.plumelib.util.ArraysPlume
Return true if a contains null.
anyNull(List<?>) - Static method in class org.plumelib.util.ArraysPlume
Return true if a contains null.
append(String) - Method in class org.plumelib.util.StringBuilderDelimited
Deprecated.
Use #add(CharSequence); change sbd.append(str) into sbd.add(str)
append(Object) - Method in class org.plumelib.util.StringBuilderDelimited
Deprecated.
Use #add(CharSequence); change sbd.append(o) into sbd.add(o.toString())
append(char) - Method in class org.plumelib.util.StringBuilderDelimited
Deprecated.
Use #add(CharSequence); change sbd.append(c) into sbd.add(c.toString())
append(CharSequence) - Method in class org.plumelib.util.StringBuilderDelimited
Deprecated.
Use #add(CharSequence); change sbd.append(csq) into sbd.add(csq)
append(CharSequence, int, int) - Method in class org.plumelib.util.StringBuilderDelimited
Deprecated.
Use #add(CharSequence); change sbd.append(csq, start, end) into sbd.add(csq.subSequence(start, end)
appendProperty(Properties, String, String) - Static method in class org.plumelib.util.UtilPlume
Set the property to its previous value concatenated to the given value.
ArraysPlume - Class in org.plumelib.util
Utilities for manipulating arrays and collections.
ArraysPlume.ComparableArrayComparatorLengthFirst<T extends java.lang.Comparable<T>> - Class in org.plumelib.util
Compare two arrays first by length (a shorter array is considered less), and if of equal length compare lexically (element-by-element).
ArraysPlume.ComparableArrayComparatorLexical<T extends java.lang.Comparable<T>> - Class in org.plumelib.util
Compare two arrays lexically (element-by-element).
ArraysPlume.DoubleArrayComparatorLexical - Class in org.plumelib.util
Compare two arrays lexically (element-by-element).
ArraysPlume.IntArrayComparatorLengthFirst - Class in org.plumelib.util
Compare two arrays first by length (a shorter array is considered less), and if of equal length compare lexically (element-by-element).
ArraysPlume.IntArrayComparatorLexical - Class in org.plumelib.util
Compare two arrays lexically (element-by-element).
ArraysPlume.LongArrayComparatorLengthFirst - Class in org.plumelib.util
Compare two arrays first by length (a shorter array is considered less), and if of equal length compare lexically (element-by-element).
ArraysPlume.LongArrayComparatorLexical - Class in org.plumelib.util
Compare two arrays lexically (element-by-element).
ArraysPlume.ObjectArrayComparatorLengthFirst - Class in org.plumelib.util
Compare two arrays first by length (a shorter array is considered less), and if of equal length compare lexically (element-by-element).
ArraysPlume.ObjectArrayComparatorLexical - Class in org.plumelib.util
Compare two arrays lexically (element-by-element).
ArraysPlume.StringArrayComparatorLexical - Class in org.plumelib.util
Compare two arrays lexically (element-by-element).
asRegex(String) - Static method in class org.plumelib.util.RegexUtil
Returns the argument as a @Regex String if it is a regex, otherwise throws an error.
asRegex(String, int) - Static method in class org.plumelib.util.RegexUtil
Returns the argument as a @Regex(groups) String if it is a regex with at least the given number of groups, otherwise throws an error.
assignToBucket(ELEMENT) - Method in interface org.plumelib.util.Partitioner
Returns a key representing the bucket containing obj.

B

b - Variable in class org.plumelib.util.Pair
The second element of the pair.
backticks(String...) - Static method in class org.plumelib.util.UtilPlume
Execute the given command, and return all its output as a string.
backticks(List<String>) - Static method in class org.plumelib.util.UtilPlume
Execute the given command, and return all its output as a string.
backTrace(Throwable) - Static method in class org.plumelib.util.UtilPlume
bitwiseAnd(int, int) - Static method in class org.plumelib.util.MathPlume
Returns x & y, the bitwise and of its arguments.
bitwiseAnd(long, long) - Static method in class org.plumelib.util.MathPlume
Returns x & y, the bitwise and of its arguments.
bitwiseComplement(int) - Static method in class org.plumelib.util.MathPlume
Returns ~a, the bitwise complement of its argument.
bitwiseComplement(long) - Static method in class org.plumelib.util.MathPlume
Returns ~a, the bitwise complement of its argument.
bitwiseOr(int, int) - Static method in class org.plumelib.util.MathPlume
Returns x | y, the bitwise or of its arguments.
bitwiseOr(long, long) - Static method in class org.plumelib.util.MathPlume
Returns x | y, the bitwise or of its arguments.
bitwiseXor(int, int) - Static method in class org.plumelib.util.MathPlume
Returns x ^ y, the bitwise xor of its arguments.
bitwiseXor(long, long) - Static method in class org.plumelib.util.MathPlume
Returns x ^ y, the bitwise xor of its arguments.
body - Variable in class org.plumelib.util.EntryReader.Entry
Complete body of the entry including the first line.
bufferedFileOutputStream(String, boolean) - Static method in class org.plumelib.util.UtilPlume
Returns a BufferedOutputStream for the file, accounting for the possibility that the file is compressed.
bufferedFileReader(String) - Static method in class org.plumelib.util.UtilPlume
Returns a BufferedReader for the file, accounting for the possibility that the file is compressed.
bufferedFileReader(File) - Static method in class org.plumelib.util.UtilPlume
Returns a BufferedReader for the file, accounting for the possibility that the file is compressed.
bufferedFileReader(String, String) - Static method in class org.plumelib.util.UtilPlume
Returns a BufferedReader for the file, accounting for the possibility that the file is compressed.
bufferedFileReader(File, String) - Static method in class org.plumelib.util.UtilPlume
Returns a BufferedReader for the file, accounting for the possibility that the file is compressed.
bufferedFileWriter(String) - Static method in class org.plumelib.util.UtilPlume
Returns a BufferedWriter for the file, accounting for the possibility that the file is compressed.
bufferedFileWriter(String, boolean) - Static method in class org.plumelib.util.UtilPlume
Returns a BufferedWriter for the file, accounting for the possibility that the file is compressed.

C

canCreateAndWrite(File) - Static method in class org.plumelib.util.UtilPlume
Returns true if the file exists and is writable, or if the file can be created.
charAt(int) - Method in class org.plumelib.util.StringBuilderDelimited
Deprecated.
Not supported by StringJoiner which will supersede this
CheckedPatternSyntaxException(PatternSyntaxException) - Constructor for exception org.plumelib.util.RegexUtil.CheckedPatternSyntaxException
Constructs a new CheckedPatternSyntaxException equivalent to the given PatternSyntaxException.
CheckedPatternSyntaxException(String, String, int) - Constructor for exception org.plumelib.util.RegexUtil.CheckedPatternSyntaxException
Constructs a new CheckedPatternSyntaxException.
ClassDeterministic - Class in org.plumelib.util
Deterministic versions of java.lang.Class methods, which return arrays in sorted order.
classForName(String) - Static method in class org.plumelib.util.ReflectionPlume
Deprecated.
Like Class.forName(String): given a string representing a non-array class, returns the Class.
classpathToString() - Static method in class org.plumelib.util.ReflectionPlume
Deprecated.
Returns the classpath as a multi-line string.
clear() - Method in class org.plumelib.util.WeakHasherMap
Removes all mappings from this map.
clear() - Method in class org.plumelib.util.WeakIdentityHashMap
Removes all mappings from this map.
clone() - Method in class org.plumelib.util.LimitedSizeIntSet
 
clone() - Method in class org.plumelib.util.LimitedSizeSet
 
CollectionsPlume - Class in org.plumelib.util
Utility functions for Collections, ArrayList, Iterator, and Map.
CollectionsPlume.EnumerationIterator<T> - Class in org.plumelib.util
Converts an Enumeration into an Iterator.
CollectionsPlume.FilteredIterator<T> - Class in org.plumelib.util
An iterator that only returns elements that match the given Filter.
CollectionsPlume.IteratorEnumeration<T> - Class in org.plumelib.util
Converts an Iterator into an Enumeration.
CollectionsPlume.MergedIterator<T> - Class in org.plumelib.util
An Iterator that returns the elements in each of its argument Iterators, in turn.
CollectionsPlume.MergedIterator2<T> - Class in org.plumelib.util
An Iterator that returns first the elements returned by its first argument, then the elements returned by its second argument.
CollectionsPlume.RemoveFirstAndLastIterator<T> - Class in org.plumelib.util
Returns an iterator just like its argument, except that the first and last elements are removed.
CombinationIterator<T> - Class in org.plumelib.util
Given a set of collections, yield each combination that takes one element from each collection.
CombinationIterator(Collection<? extends Collection<T>>) - Constructor for class org.plumelib.util.CombinationIterator
Creates a CombinationIterator for lists constructed from the given candidates.
ComparableArrayComparatorLengthFirst() - Constructor for class org.plumelib.util.ArraysPlume.ComparableArrayComparatorLengthFirst
 
ComparableArrayComparatorLexical() - Constructor for class org.plumelib.util.ArraysPlume.ComparableArrayComparatorLexical
 
compare(T[], T[]) - Method in class org.plumelib.util.ArraysPlume.ComparableArrayComparatorLengthFirst
Compare two arrays by length, then lexically (element-by-element).
compare(T[], T[]) - Method in class org.plumelib.util.ArraysPlume.ComparableArrayComparatorLexical
Compare two arrays lexically (element-by-element).
compare(double[], double[]) - Method in class org.plumelib.util.ArraysPlume.DoubleArrayComparatorLexical
Compare two arrays lexically (element-by-element).
compare(int[], int[]) - Method in class org.plumelib.util.ArraysPlume.IntArrayComparatorLengthFirst
Compare two arrays by length, then lexically (element-by-element).
compare(int[], int[]) - Method in class org.plumelib.util.ArraysPlume.IntArrayComparatorLexical
Compare two arrays lexically (element-by-element).
compare(long[], long[]) - Method in class org.plumelib.util.ArraysPlume.LongArrayComparatorLengthFirst
Compare two arrays by length, then lexically (element-by-element).
compare(long[], long[]) - Method in class org.plumelib.util.ArraysPlume.LongArrayComparatorLexical
Compare two arrays lexically (element-by-element).
compare(Object[], Object[]) - Method in class org.plumelib.util.ArraysPlume.ObjectArrayComparatorLengthFirst
Compare two arrays by length, then lexically (element-by-element).
compare(Object[], Object[]) - Method in class org.plumelib.util.ArraysPlume.ObjectArrayComparatorLexical
Compare two arrays lexically (element-by-element).
compare(String[], String[]) - Method in class org.plumelib.util.ArraysPlume.StringArrayComparatorLexical
Compare two arrays lexically (element-by-element).
compare(double[], double[]) - Method in class org.plumelib.util.FuzzyFloat.DoubleArrayComparatorLexical
Lexically compares o1 and o2 as double arrays.
compare(String, String) - Method in class org.plumelib.util.UtilPlume.NullableStringComparator
 
compare(Object, Object) - Method in class org.plumelib.util.UtilPlume.ObjectComparator
 
concat(T[], T[]) - Static method in class org.plumelib.util.ArraysPlume
Return an array that contains all the elements of both arguments, in order.
concat(T[], List<T>) - Static method in class org.plumelib.util.ArraysPlume
Return an array that contains all the elements of both arguments, in order.
concat(List<T>, T[]) - Static method in class org.plumelib.util.ArraysPlume
Return an array that contains all the elements of both arguments, in order.
concat(List<T>, List<T>) - Static method in class org.plumelib.util.ArraysPlume
Return an array that contains all the elements of both arguments, in order.
concat(String[], String[]) - Static method in class org.plumelib.util.ArraysPlume
Return an array that contains all the elements of both argument arrays, in order.
concat(byte[], byte[]) - Static method in class org.plumelib.util.ArraysPlume
Return an array that contains all the elements of both argument arrays, in order.
concat(boolean[], boolean[]) - Static method in class org.plumelib.util.ArraysPlume
Return an array that contains all the elements of both argument arrays, in order.
concat(char[], char[]) - Static method in class org.plumelib.util.ArraysPlume
Return an array that contains all the elements of both argument arrays, in order.
concat(double[], double[]) - Static method in class org.plumelib.util.ArraysPlume
Return an array that contains all the elements of both argument arrays, in order.
concat(float[], float[]) - Static method in class org.plumelib.util.ArraysPlume
Return an array that contains all the elements of both argument arrays, in order.
concat(int[], int[]) - Static method in class org.plumelib.util.ArraysPlume
Return an array that contains all the elements of both argument arrays, in order.
concat(long[], long[]) - Static method in class org.plumelib.util.ArraysPlume
Return an array that contains all the elements of both argument arrays, in order.
concat(short[], short[]) - Static method in class org.plumelib.util.ArraysPlume
Return an array that contains all the elements of both argument arrays, in order.
contains(int) - Method in class org.plumelib.util.LimitedSizeIntSet
Return true if this set contains the given element.
contains(T) - Method in class org.plumelib.util.LimitedSizeSet
Return true if this set contains the given element.
containsKey(Object) - Method in class org.plumelib.util.WeakHasherMap
Returns true if this map contains a mapping for the specified key.
containsKey(Object) - Method in class org.plumelib.util.WeakIdentityHashMap
Returns true if this map contains a mapping for the specified key.
containsValue(Object) - Method in class org.plumelib.util.WeakIdentityHashMap
Returns true if this map maps one or more keys to the specified value.
count(String, int) - Static method in class org.plumelib.util.UtilPlume
Return the number of times the character appears in the string.
count(String, String) - Static method in class org.plumelib.util.UtilPlume
Return the number of times the second string appears in the first.
countFormatArguments(String) - Static method in class org.plumelib.util.UtilPlume
Returns the number of arguments that the given format string takes.
countLines(String) - Static method in class org.plumelib.util.UtilPlume
Count the number of lines in the specified file.
createCombinations(int, int, List<T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns a list of lists of each combination (with repetition, but not permutations) of the specified objects starting at index start over dims dimensions, for dims > 0.
createCombinations(int, int, int) - Static method in class org.plumelib.util.CollectionsPlume
Returns a list of lists of each combination (with repetition, but not permutations) of integers from start to cnt (inclusive) over arity dimensions.
createTempDir(String, String) - Static method in class org.plumelib.util.UtilPlume
Creates an empty directory in the default temporary-file directory, using the given prefix and suffix to generate its name.

D

deepEquals(Object, Object) - Static method in class org.plumelib.util.CollectionsPlume
Determines deep equality for the elements.
defineClassFromFile(String, String) - Static method in class org.plumelib.util.ReflectionPlume
Deprecated.
Converts the bytes in a file into an instance of class Class, and resolves (links) the class.
deleteDir(String) - Static method in class org.plumelib.util.UtilPlume
Deletes the directory at dirName and all its files.
deleteDir(File) - Static method in class org.plumelib.util.UtilPlume
Deletes the directory at dir and all its files.
DeterministicObject - Class in org.plumelib.util
This is a deterministic version of the Object class.
DeterministicObject() - Constructor for class org.plumelib.util.DeterministicObject
Create a DeterministicObject.
div(int, int) - Static method in class org.plumelib.util.MathPlume
Divides its arguments.
div(long, long) - Static method in class org.plumelib.util.MathPlume
Divides its arguments.
div(double, double) - Static method in class org.plumelib.util.MathPlume
Divides its arguments.
dominators(Map<T, List<T>>) - Static method in class org.plumelib.util.GraphPlume
Computes, for each node in the graph, its set of (pre-)dominators.
DoubleArrayComparatorLexical() - Constructor for class org.plumelib.util.ArraysPlume.DoubleArrayComparatorLexical
 
DoubleArrayComparatorLexical() - Constructor for class org.plumelib.util.FuzzyFloat.DoubleArrayComparatorLexical
 
DumpHeap - Class in org.plumelib.util
Defines a method DumpHeap.dumpHeap(java.lang.String) that dumps the heap to an .hprof file.
DumpHeap() - Constructor for class org.plumelib.util.DumpHeap
 
dumpHeap(String) - Static method in class org.plumelib.util.DumpHeap
Dumps a heap snapshot (of only the live objects) into a file.
dumpHeap(String, boolean) - Static method in class org.plumelib.util.DumpHeap
Dumps a heap snapshot into a file.

E

elementRange(int[]) - Static method in class org.plumelib.util.ArraysPlume
Return the difference between the smallest and largest array elements.
elementRange(long[]) - Static method in class org.plumelib.util.ArraysPlume
Return the difference between the smallest and largest array elements.
Entry(String, String, String, long, boolean) - Constructor for class org.plumelib.util.EntryReader.Entry
Create an entry.
EntryReader - Class in org.plumelib.util
Class that reads records or "entries" from a file.
EntryReader(InputStream, String, String, String, String) - Constructor for class org.plumelib.util.EntryReader
Create a EntryReader that uses the given character set.
EntryReader(InputStream, String, String) - Constructor for class org.plumelib.util.EntryReader
Create a EntryReader that does not support comments or include directives.
EntryReader(InputStream, String, String, String) - Constructor for class org.plumelib.util.EntryReader
Create a EntryReader.
EntryReader(InputStream, String) - Constructor for class org.plumelib.util.EntryReader
Create a EntryReader that uses the default character set and does not support comments or include directives.
EntryReader(InputStream) - Constructor for class org.plumelib.util.EntryReader
Create a EntryReader that does not support comments or include directives.
EntryReader(Reader, String, String, String) - Constructor for class org.plumelib.util.EntryReader
Create a EntryReader.
EntryReader(Reader) - Constructor for class org.plumelib.util.EntryReader
Create a EntryReader that does not support comments or include directives.
EntryReader(Path, String, String) - Constructor for class org.plumelib.util.EntryReader
Create an EntryReader.
EntryReader(Path) - Constructor for class org.plumelib.util.EntryReader
Create a EntryReader that does not support comments or include directives.
EntryReader(Path, String) - Constructor for class org.plumelib.util.EntryReader
Create a EntryReader that does not support comments or include directives.
EntryReader(File, String, String) - Constructor for class org.plumelib.util.EntryReader
Create an EntryReader.
EntryReader(File) - Constructor for class org.plumelib.util.EntryReader
Create a EntryReader that does not support comments or include directives.
EntryReader(File, String) - Constructor for class org.plumelib.util.EntryReader
Create a EntryReader that does not support comments or include directives.
EntryReader(String, String, String) - Constructor for class org.plumelib.util.EntryReader
Create a new EntryReader starting with the specified file.
EntryReader(String) - Constructor for class org.plumelib.util.EntryReader
Create a EntryReader that does not support comments or include directives.
EntryReader(String, String) - Constructor for class org.plumelib.util.EntryReader
Create a EntryReader that does not support comments or include directives.
EntryReader.Entry - Class in org.plumelib.util
Descriptor for an entry (record, paragraph, etc.).
entrySet() - Method in class org.plumelib.util.WeakHasherMap
Returns a Set view of the mappings in this map.
entrySet() - Method in class org.plumelib.util.WeakIdentityHashMap
Returns a collection view of the mappings contained in this map.
entryStartRegex - Variable in class org.plumelib.util.EntryReader
Regular expression that starts a long entry.
entryStopRegex - Variable in class org.plumelib.util.EntryReader
See entryStartRegex.
EnumerationIterator(Enumeration<T>) - Constructor for class org.plumelib.util.CollectionsPlume.EnumerationIterator
Create an Iterator that yields the elements of the given Enumeration.
eq(double, double) - Method in class org.plumelib.util.FuzzyFloat
Test d1 and d2 for equality using the current ratio.
equalFiles(String, String) - Static method in class org.plumelib.util.UtilPlume
Return true iff files have the same contents.
equalFiles(String, String, boolean) - Static method in class org.plumelib.util.UtilPlume
Return true iff the files have the same contents.
equals(Object, Object) - Method in interface org.plumelib.util.Hasher
The equality function over the objects being hashed.
equals(Object) - Method in class org.plumelib.util.Pair
 
equals(Object) - Method in class org.plumelib.util.WeakIdentityPair
 
escapeJava(String) - Static method in class org.plumelib.util.UtilPlume
Escapes a String so that it is expressible in Java source code.
escapeJava(Character) - Static method in class org.plumelib.util.UtilPlume
Like UtilPlume.escapeJava(String), but for a single character.
escapeJava(char) - Static method in class org.plumelib.util.UtilPlume
Like UtilPlume.escapeJava(String), but for a single character.
escapeNonASCII(String) - Static method in class org.plumelib.util.UtilPlume
Escape unprintable characters in the target, following the usual Java backslash conventions, so that the result is sure to be printable ASCII.
escapeNonJava(String) - Static method in class org.plumelib.util.UtilPlume
escapeNonJava(Character) - Static method in class org.plumelib.util.UtilPlume
expandFilename(File) - Static method in class org.plumelib.util.UtilPlume
Does tilde expansion on a file name (to the user's home directory).
expandFilename(String) - Static method in class org.plumelib.util.UtilPlume
Does tilde expansion on a file name (to the user's home directory).

F

fileInputStream(Path) - Static method in class org.plumelib.util.UtilPlume
Returns an InputStream for the file, accounting for the possibility that the file is compressed.
fileInputStream(File) - Static method in class org.plumelib.util.UtilPlume
Returns an InputStream for the file, accounting for the possibility that the file is compressed.
FileIOException - Exception in org.plumelib.util
This class extends IOException by also reporting a file name and line number at which the exception occurred.
FileIOException() - Constructor for exception org.plumelib.util.FileIOException
Create a dummy FileIOException.
FileIOException(Throwable) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
FileIOException(String) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException with no known file name or line number (which is kind of pointless; you might as well just have a regular exception).
FileIOException(String, Throwable) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
FileIOException(String, String, int) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
FileIOException(String, Throwable, String, int) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
FileIOException(LineNumberReader, Throwable) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
FileIOException(String, LineNumberReader) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
FileIOException(String, LineNumberReader, Throwable) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
FileIOException(String, LineNumberReader, String) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
FileIOException(LineNumberReader, String, Throwable) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
FileIOException(String, LineNumberReader, String, Throwable) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
FileIOException(String, LineNumberReader, File) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
FileIOException(String, LineNumberReader, File, Throwable) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
FileIOException(LineNumberReader, File, Throwable) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
fileLines(String) - Static method in class org.plumelib.util.UtilPlume
Return the contents of the file, as a list of strings, one per line.
filename - Variable in class org.plumelib.util.EntryReader.Entry
Filename in which the entry was found.
fileName - Variable in exception org.plumelib.util.FileIOException
The file being read when the IOException occurred.
fileReader(String) - Static method in class org.plumelib.util.UtilPlume
Returns a Reader for the file, accounting for the possibility that the file is compressed.
fileReader(Path) - Static method in class org.plumelib.util.UtilPlume
Returns a Reader for the file, accounting for the possibility that the file is compressed.
fileReader(Path, String) - Static method in class org.plumelib.util.UtilPlume
Returns a Reader for the file, accounting for the possibility that the file is compressed.
fileReader(File) - Static method in class org.plumelib.util.UtilPlume
Returns a Reader for the file, accounting for the possibility that the file is compressed.
fileReader(File, String) - Static method in class org.plumelib.util.UtilPlume
Returns a Reader for the file, accounting for the possibility that the file is compressed.
FileWriterWithName - Class in org.plumelib.util
Just like FileWriter, but adds a FileWriterWithName.getFileName() method and overrides #toString() to give the file name.
FileWriterWithName(String) - Constructor for class org.plumelib.util.FileWriterWithName
Constructs a FileWriterWithName object given a file name.
FileWriterWithName(String, boolean) - Constructor for class org.plumelib.util.FileWriterWithName
Constructs a FileWriterWithName object given a file name with a boolean indicating whether or not to append the data written.
FileWriterWithName(File) - Constructor for class org.plumelib.util.FileWriterWithName
Constructs a FileWriterWithName object given a File object.
FileWriterWithName(File, boolean) - Constructor for class org.plumelib.util.FileWriterWithName
Constructs a FileWriterWithName object given a File object.
Filter<T> - Interface in org.plumelib.util
Interface for things that make boolean decisions.
FilteredIterator(Iterator<T>, Filter<T>) - Constructor for class org.plumelib.util.CollectionsPlume.FilteredIterator
Create an iterator that only returns elements of itor that match the given Filter.
firstLine - Variable in class org.plumelib.util.EntryReader.Entry
First line of the entry.
fnCompose(int[], int[]) - Static method in class org.plumelib.util.ArraysPlume
Return the composition of the given two functions, all of which are represented as arrays.
fnIdentity(int) - Static method in class org.plumelib.util.ArraysPlume
Return an array [0..length).
fnInverse(int[], int) - Static method in class org.plumelib.util.ArraysPlume
Return the inverse of the given function, which is represented as an array.
fnInversePermutation(int[]) - Static method in class org.plumelib.util.ArraysPlume
Requires that fnIsPermutation(a) holds.
fnIsPermutation(int[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true if the array is a permutation of [0..a.length).
fnIsTotal(int[]) - Static method in class org.plumelib.util.ArraysPlume
Return true iff the array does not contain -1.
fullyQualifiedNameToSimpleName(String) - Static method in class org.plumelib.util.ReflectionPlume
Deprecated.
Returns the simple unqualified class name that corresponds to the specified fully qualified name.
FuzzyFloat - Class in org.plumelib.util
Routines for doing approximate ('fuzzy') floating-point comparisons.
FuzzyFloat() - Constructor for class org.plumelib.util.FuzzyFloat
Creates a FuzzyFloat with the default relativeRatio value of .0001.
FuzzyFloat(double) - Constructor for class org.plumelib.util.FuzzyFloat
Creates a FuzzyFloat.
FuzzyFloat.DoubleArrayComparatorLexical - Class in org.plumelib.util
Lexically compares two double arrays.

G

gcd(int, int) - Static method in class org.plumelib.util.MathPlume
Return the greatest common divisor of the two arguments.
gcd(int[]) - Static method in class org.plumelib.util.MathPlume
Return the greatest common divisor of the elements of int array a.
gcd(long, long) - Static method in class org.plumelib.util.MathPlume
Return the greatest common divisor of the two arguments.
gcd(long[]) - Static method in class org.plumelib.util.MathPlume
Return the greatest common divisor of the elements of long array a.
gcd(double, double) - Static method in class org.plumelib.util.MathPlume
Return the greatest common divisor of the two arguments.
gcd(double[]) - Static method in class org.plumelib.util.MathPlume
Return the greatest common divisor of the elements of double array a.
gcdDifferences(int[]) - Static method in class org.plumelib.util.MathPlume
Return the gcd (greatest common divisor) of the differences between the elements of int array a.
gcdDifferences(long[]) - Static method in class org.plumelib.util.MathPlume
Return the gcd (greatest common divisor) of the differences between the elements of long array a.
gcdDifferences(double[]) - Static method in class org.plumelib.util.MathPlume
Return the gcd (greatest common divisor) of the differences between the elements of double array a.
get(E) - Method in class org.plumelib.util.UniqueIdMap
Get the unique ID for the given object.
get(Object) - Method in class org.plumelib.util.WeakHasherMap
Returns the value to which this map maps the specified key.
get(Object) - Method in class org.plumelib.util.WeakIdentityHashMap
Returns the value to which the specified key is mapped in this weak hash map, or null if the map contains no mapping for this key.
getA() - Method in class org.plumelib.util.WeakIdentityPair
Return the first element of the pair, or null if it has been garbage-collected.
getAnnotations(Class<?>) - Static method in class org.plumelib.util.ClassDeterministic
Like Class.getAnnotations(), but returns the methods in deterministic order.
getB() - Method in class org.plumelib.util.WeakIdentityPair
Return the second element of the pair, or null if it has been garbage-collected.
getClassAndUid() - Method in interface org.plumelib.util.UniqueId
Returns the simple name of the class and the unique ID of this object.
getClasses(Class<?>) - Static method in class org.plumelib.util.ClassDeterministic
Like Class.getClasses(), but returns the classes in deterministic order.
getConstructors(Class<?>) - Static method in class org.plumelib.util.ClassDeterministic
Like Class.getConstructors(), but returns the methods in deterministic order.
getDeclaredAnnotations(Class<?>) - Static method in class org.plumelib.util.ClassDeterministic
Like Class.getDeclaredAnnotations(), but returns the methods in deterministic order.
getDeclaredClasses(Class<?>) - Static method in class org.plumelib.util.ClassDeterministic
Like Class.getDeclaredClasses(), but returns the classes in deterministic order.
getDeclaredConstructors(Class<?>) - Static method in class org.plumelib.util.ClassDeterministic
Like Class.getDeclaredConstructors(), but returns the methods in deterministic order.
getDeclaredFields(Class<?>) - Static method in class org.plumelib.util.ClassDeterministic
Like Class.getDeclaredFields(), but returns the methods in deterministic order.
getDeclaredMethods(Class<?>) - Static method in class org.plumelib.util.ClassDeterministic
Like Class.getDeclaredMethods(), but returns the methods in deterministic order.
getDescription(Pattern) - Method in class org.plumelib.util.EntryReader.Entry
Return a substring of the entry body that matches the specified regular expression.
getDescription() - Method in exception org.plumelib.util.RegexUtil.CheckedPatternSyntaxException
Retrieves the description of the error.
getEntry() - Method in class org.plumelib.util.EntryReader
Returns the next entry (paragraph) in the file.
getEnumConstants(Class<T>) - Static method in class org.plumelib.util.ClassDeterministic
Like Class.getEnumConstants(), but returns the methods in deterministic order.
getFields(Class<?>) - Static method in class org.plumelib.util.ClassDeterministic
Like Class.getFields(), but returns the methods in deterministic order.
getFileName() - Method in class org.plumelib.util.EntryReader
Returns the current filename.
getFileName() - Method in class org.plumelib.util.FileWriterWithName
Return the name of the file being written by this.
getFirst() - Method in class org.plumelib.util.CollectionsPlume.RemoveFirstAndLastIterator
Return the first element of the iterator that was used to construct this.
getFromSet(Set<?>, Object) - Static method in class org.plumelib.util.CollectionsPlume
Return the object in this set that is equal to key.
getIndex() - Method in exception org.plumelib.util.RegexUtil.CheckedPatternSyntaxException
Retrieves the error index.
getLast() - Method in class org.plumelib.util.CollectionsPlume.RemoveFirstAndLastIterator
Return the last element of the iterator that was used to construct this.
getLineNumber() - Method in class org.plumelib.util.EntryReader
Return the current line number in the current file.
getMessage() - Method in exception org.plumelib.util.FileIOException
 
getMessage() - Method in exception org.plumelib.util.RegexUtil.CheckedPatternSyntaxException
Returns a multi-line string containing the description of the syntax error and its index, the erroneous regular-expression pattern, and a visual indication of the error index within the pattern.
getMethods(Class<?>) - Static method in class org.plumelib.util.ClassDeterministic
Like Class.getMethods(), but returns the methods in deterministic order.
getPattern() - Method in exception org.plumelib.util.RegexUtil.CheckedPatternSyntaxException
Retrieves the erroneous regular-expression pattern.
getPrivateField(Object, String) - Static method in class org.plumelib.util.ReflectionPlume
Deprecated.
Reads the given field, which may be private.
getUid() - Method in interface org.plumelib.util.UniqueId
Returns the unique ID of this object.
getValues() - Method in class org.plumelib.util.RandomSelector
Returns values, modifies none.
GraphPlume - Class in org.plumelib.util
Graph utility methods.
gt(double, double) - Method in class org.plumelib.util.FuzzyFloat
test d1 and d2 for d1 > d2.
gte(double, double) - Method in class org.plumelib.util.FuzzyFloat
test d1 and d2 for d1 >= d2.

H

hash(double) - Static method in class org.plumelib.util.UtilPlume
Return a hash of the arguments.
hash(double, double) - Static method in class org.plumelib.util.UtilPlume
Return a hash of the arguments.
hash(double, double, double) - Static method in class org.plumelib.util.UtilPlume
Return a hash of the arguments.
hash(double[]) - Static method in class org.plumelib.util.UtilPlume
Return a hash of the arguments.
hash(double[], double[]) - Static method in class org.plumelib.util.UtilPlume
Return a hash of the arguments.
hash(long) - Static method in class org.plumelib.util.UtilPlume
Return a hash of the arguments.
hash(long, long) - Static method in class org.plumelib.util.UtilPlume
Return a hash of the arguments.
hash(long, long, long) - Static method in class org.plumelib.util.UtilPlume
Return a hash of the arguments.
hash(long[]) - Static method in class org.plumelib.util.UtilPlume
Return a hash of the arguments.
hash(long[], long[]) - Static method in class org.plumelib.util.UtilPlume
Return a hash of the arguments.
hash(String) - Static method in class org.plumelib.util.UtilPlume
Return a hash of the arguments.
hash(String, String) - Static method in class org.plumelib.util.UtilPlume
Return a hash of the arguments.
hash(String, String, String) - Static method in class org.plumelib.util.UtilPlume
Return a hash of the arguments.
hash(String[]) - Static method in class org.plumelib.util.UtilPlume
Return a hash of the arguments.
hashCode() - Method in class org.plumelib.util.DeterministicObject
hashCode(Object) - Method in interface org.plumelib.util.Hasher
hashCode function for objects under consideration (not for Hasher objects).
hashCode() - Method in class org.plumelib.util.Pair
 
hashCode() - Method in class org.plumelib.util.WeakIdentityPair
 
Hasher - Interface in org.plumelib.util
Hasher is intended to work like Comparable: it is an optional argument to a hashing data structure (such as a HashSet, HashMap, or WeakHashMap) which specifies the hashCode() and equals() methods.
hasMoreElements() - Method in class org.plumelib.util.CollectionsPlume.IteratorEnumeration
 
hasNext() - Method in class org.plumelib.util.CollectionsPlume.EnumerationIterator
 
hasNext() - Method in class org.plumelib.util.CollectionsPlume.FilteredIterator
 
hasNext() - Method in class org.plumelib.util.CollectionsPlume.MergedIterator
 
hasNext() - Method in class org.plumelib.util.CollectionsPlume.MergedIterator2
 
hasNext() - Method in class org.plumelib.util.CollectionsPlume.RemoveFirstAndLastIterator
 
hasNext() - Method in class org.plumelib.util.CombinationIterator
 
hasNext() - Method in class org.plumelib.util.EntryReader
Returns whether or not there is another line to read.
hasNext() - Method in class org.plumelib.util.OrderedPairIterator
 

I

immutableTypeNames - Static variable in class org.plumelib.util.ImmutableTypes
The names of the immutable types.
ImmutableTypes - Class in org.plumelib.util
Records all the immutable types in the JDK, and can be queried.
ImmutableTypes() - Constructor for class org.plumelib.util.ImmutableTypes
 
incrementMap(Map<K, Integer>, K) - Static method in class org.plumelib.util.CollectionsPlume
Increment the Integer which is indexed by key in the Map.
incrementMap(Map<K, Integer>, K, int) - Static method in class org.plumelib.util.CollectionsPlume
Increment the Integer which is indexed by key in the Map.
indentLines(int, Object) - Static method in class org.plumelib.util.UtilPlume
Return the printed representation of a value, with line indented by indent spaces.
indentLinesExceptFirst(int, Object) - Static method in class org.plumelib.util.UtilPlume
Return the printed representation of a value, with each line (except the first) indented by indent spaces.
indexOf(T[], Object) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the array, testing for equality using the equals method.
indexOf(T[], Object, int, int) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the array, testing for equality using the equals method.
indexOf(List<? extends Object>, Object) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the list, testing for equality using the equals method.
indexOf(List<? extends Object>, Object, int, int) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the list, testing for equality using the equals method.
indexOf(int[], int) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the array.
indexOf(long[], long) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the array.
indexOf(int[], int, int, int) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the array.
indexOf(long[], long, int, int) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the array.
indexOf(boolean[], boolean) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the array.
indexOf(double[], double) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the array.
indexOf(boolean[], boolean, int, int) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the array.
indexOf(Object[], Object[]) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first subsequence of the array that matches the given array elementwise, testing for equality using the equals method.
indexOf(List<?>, Object[]) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first subsequence of the list that matches the given array elementwise, testing for equality using the equals method.
indexOf(Object[], List<?>) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first subsequence of the array that matches the given list elementwise, testing for equality using the equals method.
indexOf(List<?>, List<?>) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first subsequence of the list that matches the given list elementwise, testing for equality using the equals method.
indexOf(int[], int[]) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first subsequence of the array that matches the given array elementwise.
indexOf(double[], double[]) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first subsequence of the array that matches the given array elementwise.
indexOf(long[], long[]) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first subsequence of the array that matches the given array elementwise.
indexOf(boolean[], boolean[]) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first subsequence of the array that matches the given array elementwise.
indexOf(double[], double) - Method in class org.plumelib.util.FuzzyFloat
Searches for the first occurrence of elt in a.
indexOf(double[], double[]) - Method in class org.plumelib.util.FuzzyFloat
Searches for the first subsequence of a that matches sub elementwise.
indexOfEq(Object[], Object) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the array, testing for equality using == (not the equals method).
indexOfEq(Object[], Object, int, int) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the array, testing for equality using == (not the equals method).
indexOfEq(List<? extends Object>, Object) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the list, testing for equality using == (not the equals method).
indexOfEq(List<? extends Object>, Object, int, int) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the list, testing for equality using == (not the equals method).
indexOfEq(Object[], Object[]) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first subsequence of the array that matches the given array elementwise, testing for equality using == (not the equals method).
indexOfEq(List<?>, Object[]) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first subsequence of the list that matches the given array elementwise, testing for equality using == (not the equals method).
indexOfEq(Object[], List<?>) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first subsequence of the array that matches the given list elementwise, testing for equality using == (not the equals method).
indexOfEq(List<?>, List<?>) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first subsequence of the list that matches the given list elementwise, testing for equality using == (not the equals method).
inferLineSeparator(String) - Static method in class org.plumelib.util.UtilPlume
Tries to infer the line separator used in a file.
inferLineSeparator(File) - Static method in class org.plumelib.util.UtilPlume
Tries to infer the line separator used in a file.
IntArrayComparatorLengthFirst() - Constructor for class org.plumelib.util.ArraysPlume.IntArrayComparatorLengthFirst
 
IntArrayComparatorLexical() - Constructor for class org.plumelib.util.ArraysPlume.IntArrayComparatorLexical
 
Intern - Class in org.plumelib.util
Utilities for interning objects.
intern(String) - Static method in class org.plumelib.util.Intern
Interns a String.
intern(long) - Static method in class org.plumelib.util.Intern
Interns a long.
intern(double) - Static method in class org.plumelib.util.Intern
Interns a double A no-op.
intern(Integer) - Static method in class org.plumelib.util.Intern
Intern (canonicalize) an Integer.
intern(Long) - Static method in class org.plumelib.util.Intern
Intern (canonicalize) a Long.
intern(int[]) - Static method in class org.plumelib.util.Intern
Intern (canonicalize) an int[].
intern(long[]) - Static method in class org.plumelib.util.Intern
Intern (canonicalize) a long[].
intern(Double) - Static method in class org.plumelib.util.Intern
Intern (canonicalize) a Double.
intern(double[]) - Static method in class org.plumelib.util.Intern
Intern (canonicalize) a double[].
intern(String[]) - Static method in class org.plumelib.util.Intern
Intern (canonicalize) a String[].
intern(Object[]) - Static method in class org.plumelib.util.Intern
Intern (canonicalize) an Object[].
intern(Object) - Static method in class org.plumelib.util.Intern
Convenience method to intern an Object when we don't know its run-time type.
internedDouble(double) - Static method in class org.plumelib.util.Intern
Returns an interned Double with value i.
internedDouble(String) - Static method in class org.plumelib.util.Intern
Returns an interned Double with value parsed from the string.
internedInteger(int) - Static method in class org.plumelib.util.Intern
Returns an interned Integer with value i.
internedInteger(String) - Static method in class org.plumelib.util.Intern
Returns an interned Integer with value parsed from the string.
internedLong(long) - Static method in class org.plumelib.util.Intern
Returns an interned Long with value i.
internedLong(String) - Static method in class org.plumelib.util.Intern
Returns an interned Long with value parsed from the string.
internStrings(String[]) - Static method in class org.plumelib.util.Intern
Replace each element of the array by its interned version.
internSubsequence(int[], int, int) - Static method in class org.plumelib.util.Intern
Return an interned subsequence of seq from start (inclusive) to end (exclusive).
internSubsequence(long[], int, int) - Static method in class org.plumelib.util.Intern
Returns a subsequence of seq from start to end that is interned.
internSubsequence(double[], int, int) - Static method in class org.plumelib.util.Intern
Returns a subsequence of seq from start to end that is interned.
internSubsequence(Object[], int, int) - Static method in class org.plumelib.util.Intern
Returns a subsequence of seq from start to end that is interned.
internSubsequence(String[], int, int) - Static method in class org.plumelib.util.Intern
Returns a subsequence of seq from start to end that is interned.
intersectionCardinality(BitSet, BitSet) - Static method in class org.plumelib.util.UtilPlume
Returns the cardinality of the intersection of the two BitSets.
intersectionCardinality(BitSet, BitSet, BitSet) - Static method in class org.plumelib.util.UtilPlume
Returns the cardinality of the intersection of the three BitSets.
intersectionCardinalityAtLeast(BitSet, BitSet, int) - Static method in class org.plumelib.util.UtilPlume
Returns true if the cardinality of the intersection of the two BitSets is at least the given value.
intersectionCardinalityAtLeast(BitSet, BitSet, BitSet, int) - Static method in class org.plumelib.util.UtilPlume
Returns true if the cardinality of the intersection of the three BitSets is at least the given value.
isElemMatch(double[], double[]) - Method in class org.plumelib.util.FuzzyFloat
Determines whether or not a1 and a2 are set equivalent (contain only the same elements).
isEmpty() - Method in class org.plumelib.util.WeakHasherMap
Returns true if this map contains no key-value mappings.
isEmpty() - Method in class org.plumelib.util.WeakIdentityHashMap
Returns true if this map contains no key-value mappings.
isImmutable(String) - Static method in class org.plumelib.util.ImmutableTypes
Returns true iff the class of the given name is immutable.
isInterned(Object) - Static method in class org.plumelib.util.Intern
Return true if the argument is interned (is canonical among all objects equal to itself).
isRegex(String) - Static method in class org.plumelib.util.RegexUtil
Returns true if the argument is a syntactically valid regular expression.
isRegex(String, int) - Static method in class org.plumelib.util.RegexUtil
Returns true if the argument is a syntactically valid regular expression with at least the given number of groups.
isRegex(char) - Static method in class org.plumelib.util.RegexUtil
Returns true if the argument is a syntactically valid regular expression.
isSortedDescending(int[]) - Static method in class org.plumelib.util.ArraysPlume
Returns whether the array is sorted in descending order.
isSortedDescending(long[]) - Static method in class org.plumelib.util.ArraysPlume
Returns whether the array is sorted in descending order.
isSubarray(Object[], Object[], int) - Static method in class org.plumelib.util.ArraysPlume
Determines whether the second array is a subarray of the first, starting at the specified index of the first, testing for equality using the equals method.
isSubarray(Object[], List<?>, int) - Static method in class org.plumelib.util.ArraysPlume
Determines whether the second array is a subarray of the first, starting at the specified index of the first, testing for equality using the equals method.
isSubarray(List<?>, Object[], int) - Static method in class org.plumelib.util.ArraysPlume
Determines whether the second array is a subarray of the first, starting at the specified index of the first, testing for equality using the equals method.
isSubarray(List<?>, List<?>, int) - Static method in class org.plumelib.util.ArraysPlume
Determines whether the second array is a subarray of the first, starting at the specified index of the first, testing for equality using the equals method.
isSubarray(int[], int[], int) - Static method in class org.plumelib.util.ArraysPlume
Determines whether the second array is a subarray of the first, starting at the specified index of the first.
isSubarray(long[], long[], int) - Static method in class org.plumelib.util.ArraysPlume
Determines whether the second array is a subarray of the first, starting at the specified index of the first.
isSubarray(double[], double[], int) - Static method in class org.plumelib.util.ArraysPlume
Determines whether the second array is a subarray of the first, starting at the specified index of the first.
isSubarray(boolean[], boolean[], int) - Static method in class org.plumelib.util.ArraysPlume
Determines whether the second array is a subarray of the first, starting at the specified index of the first.
isSubarrayEq(Object[], Object[], int) - Static method in class org.plumelib.util.ArraysPlume
Determines whether the second array is a subarray of the first, starting at the specified index of the first, testing for equality using == (not the equals method).
isSubarrayEq(Object[], List<?>, int) - Static method in class org.plumelib.util.ArraysPlume
Determines whether the second array is a subarray of the first, starting at the specified index of the first, testing for equality using == (not the equals method).
isSubarrayEq(List<?>, Object[], int) - Static method in class org.plumelib.util.ArraysPlume
Determines whether the second array is a subarray of the first, starting at the specified index of the first, testing for equality using == (not the equals method).
isSubarrayEq(List<?>, List<?>, int) - Static method in class org.plumelib.util.ArraysPlume
Determines whether the second array is a subarray of the first, starting at the specified index of the first, testing for equality using == (not the equals method).
isSubset(long[], long[]) - Static method in class org.plumelib.util.ArraysPlume
Return whether smaller is a subset of bigger.
isSubset(double[], double[]) - Static method in class org.plumelib.util.ArraysPlume
Return whether smaller is a subset of bigger.
isSubset(String[], String[]) - Static method in class org.plumelib.util.ArraysPlume
Return whether smaller is a subset of bigger.
isSubset(double[], double[]) - Method in class org.plumelib.util.FuzzyFloat
Determines whether smaller is a subset of bigger.
isSubtype(Class<?>, Class<?>) - Static method in class org.plumelib.util.ReflectionPlume
Deprecated.
Return true iff sub is a subtype of sup.
iterator() - Method in class org.plumelib.util.EntryReader
Return a line-by-line iterator for this file.
IteratorEnumeration(Iterator<T>) - Constructor for class org.plumelib.util.CollectionsPlume.IteratorEnumeration
Create an Enumeration that contains the elements returned by the given Iterator.
iteratorToIterable(Iterator<T>) - Static method in class org.plumelib.util.CollectionsPlume
Converts an Iterator to an Iterable.

J

javaSource(File) - Static method in class org.plumelib.util.UtilPlume
Return a string version of the filename that can be used in Java source.
join(T[], CharSequence) - Static method in class org.plumelib.util.UtilPlume
Deprecated.
use UtilPlume.join(CharSequence, Object...) which has the arguments in the other order
join(CharSequence, T...) - Static method in class org.plumelib.util.UtilPlume
Concatenate the string representations of the array elements, placing the delimiter between them.
join(Iterable<?>, CharSequence) - Static method in class org.plumelib.util.UtilPlume
Deprecated.
use UtilPlume.join(CharSequence, Iterable) which has the arguments in the other order
join(CharSequence, Iterable<?>) - Static method in class org.plumelib.util.UtilPlume
Concatenate the string representations of the objects, placing the delimiter between them.
joinLines(T...) - Static method in class org.plumelib.util.UtilPlume
Concatenate the string representations of the objects, placing the system-specific line separator between them.
joinLines(Iterable<?>) - Static method in class org.plumelib.util.UtilPlume
Concatenate the string representations of the objects, placing the system-specific line separator between them.

K

keySet() - Method in class org.plumelib.util.WeakIdentityHashMap
Returns a set view of the keys contained in this map.

L

leastUpperBound(Class<T>, Class<T>) - Static method in class org.plumelib.util.ReflectionPlume
Deprecated.
Returns the least upper bound of the given classes.
leastUpperBound(Class<T>[]) - Static method in class org.plumelib.util.ReflectionPlume
Deprecated.
Returns the least upper bound of all the given classes.
leastUpperBound(Object[]) - Static method in class org.plumelib.util.ReflectionPlume
Deprecated.
Returns the least upper bound of the classes of the given objects.
leastUpperBound(List<? extends Object>) - Static method in class org.plumelib.util.ReflectionPlume
Deprecated.
Returns the least upper bound of the classes of the given objects.
length(Object) - Static method in class org.plumelib.util.ArraysPlume
Returns the length of the argument array.
length() - Method in class org.plumelib.util.StringBuilderDelimited
Deprecated.
 
LimitedSizeIntSet - Class in org.plumelib.util
LimitedSizeIntSet stores up to some maximum number of unique values.
LimitedSizeIntSet(int) - Constructor for class org.plumelib.util.LimitedSizeIntSet
Create a new LimitedSizeIntSet that can hold maxValues values.
LimitedSizeSet<T> - Class in org.plumelib.util
LimitedSizeSet stores up to some maximum number of unique values.
LimitedSizeSet(int) - Constructor for class org.plumelib.util.LimitedSizeSet
Create a new LimitedSizeSet that can hold maxValues values.
lineNumber - Variable in class org.plumelib.util.EntryReader.Entry
Line number of first line of entry.
lineNumber - Variable in exception org.plumelib.util.FileIOException
The line being read when the IOException occurred.
lineNumberFileReader(String) - Static method in class org.plumelib.util.UtilPlume
Returns a LineNumberReader for the file, accounting for the possibility that the file is compressed.
lineNumberFileReader(File) - Static method in class org.plumelib.util.UtilPlume
Returns a LineNumberReader for the file, accounting for the possibility that the file is compressed.
logicalAnd(int, int) - Static method in class org.plumelib.util.MathPlume
Returns the logical and of its arguments.
logicalAnd(long, long) - Static method in class org.plumelib.util.MathPlume
Returns the logical and of its arguments.
logicalOr(int, int) - Static method in class org.plumelib.util.MathPlume
Returns the logical or of its arguments.
logicalOr(long, long) - Static method in class org.plumelib.util.MathPlume
Returns the logical or of its arguments.
logicalXor(int, int) - Static method in class org.plumelib.util.MathPlume
Returns the logical xor of its arguments.
logicalXor(long, long) - Static method in class org.plumelib.util.MathPlume
Returns the logical xor of its arguments.
LongArrayComparatorLengthFirst() - Constructor for class org.plumelib.util.ArraysPlume.LongArrayComparatorLengthFirst
 
LongArrayComparatorLexical() - Constructor for class org.plumelib.util.ArraysPlume.LongArrayComparatorLexical
 
lpad(String, int) - Static method in class org.plumelib.util.UtilPlume
Returns a string of the specified length, truncated if necessary, and padded with spaces to the left if necessary.
lshift(int, int) - Static method in class org.plumelib.util.MathPlume
Returns x << y, the left-shift operation applied to its arguments.
lshift(long, long) - Static method in class org.plumelib.util.MathPlume
Returns x << y, the left-shift operation applied to its arguments.
lt(double, double) - Method in class org.plumelib.util.FuzzyFloat
Test d1 and d2 for d1 < d2.
lte(double, double) - Method in class org.plumelib.util.FuzzyFloat
Test d1 and d2 for d1 <= d2.

M

main(String[]) - Static method in class org.plumelib.util.EntryReader
Simple usage example.
makeArrayList(Enumeration<T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns a vector containing the elements of the enumeration.
mapToString(Map<K, V>) - Static method in class org.plumelib.util.CollectionsPlume
Returns a multi-line string representation of a map.
mapToString(Appendable, Map<K, V>, String) - Static method in class org.plumelib.util.CollectionsPlume
Write a multi-line representation of the map into the given Appendable (e.g., a StringBuilder).
mark(int) - Method in class org.plumelib.util.EntryReader
 
MathPlume - Class in org.plumelib.util
Mathematical utilities.
max(int[]) - Static method in class org.plumelib.util.ArraysPlume
Return the largest value in the array.
max(long[]) - Static method in class org.plumelib.util.ArraysPlume
Return the largest value in the array.
max(double[]) - Static method in class org.plumelib.util.ArraysPlume
Return the largest value in the array.
max(Integer[]) - Static method in class org.plumelib.util.ArraysPlume
Return the largest value in the array.
max(Long[]) - Static method in class org.plumelib.util.ArraysPlume
Return the largest value in the array.
max(Double[]) - Static method in class org.plumelib.util.ArraysPlume
Return the largest value in the array.
maxSize() - Method in class org.plumelib.util.LimitedSizeIntSet
An upper bound on how many distinct elements can be individually represented in the set.
maxSize() - Method in class org.plumelib.util.LimitedSizeSet
An upper bound on how many distinct elements can be individually represented in the set.
merge(int, List<LimitedSizeIntSet>) - Static method in class org.plumelib.util.LimitedSizeIntSet
Merges a list of LimitedSizeIntSet objects into a single object that represents the values seen by the entire list.
merge(int, List<LimitedSizeSet<? extends T>>) - Static method in class org.plumelib.util.LimitedSizeSet
Merges a list of LimitedSizeSet<T> objects into a single object that represents the values seen by the entire list.
MergedIterator(Iterator<Iterator<T>>) - Constructor for class org.plumelib.util.CollectionsPlume.MergedIterator
Create an iterator that returns the elements of the given iterators, in turn.
MergedIterator2(Iterator<T>, Iterator<T>) - Constructor for class org.plumelib.util.CollectionsPlume.MergedIterator2
Create an iterator that returns the elements of itor1 then those of itor2.
methodForName(String) - Static method in class org.plumelib.util.ReflectionPlume
Deprecated.
Given a method signature, return the method.
methodForName(String, String, Class<?>[]) - Static method in class org.plumelib.util.ReflectionPlume
Deprecated.
Given a class name and a method name in that class, return the method.
min(int[]) - Static method in class org.plumelib.util.ArraysPlume
Return the smallest value in the array.
min(long[]) - Static method in class org.plumelib.util.ArraysPlume
Return the smallest value in the array.
min(double[]) - Static method in class org.plumelib.util.ArraysPlume
Return the smallest value in the array.
min(Integer[]) - Static method in class org.plumelib.util.ArraysPlume
Return the smallest value in the array.
min(Long[]) - Static method in class org.plumelib.util.ArraysPlume
Return the smallest value in the array.
min(Double[]) - Static method in class org.plumelib.util.ArraysPlume
Return the smallest value in the array.
minAndMax(int[]) - Static method in class org.plumelib.util.ArraysPlume
Return a two-element array containing the smallest and largest values in the array.
minAndMax(long[]) - Static method in class org.plumelib.util.ArraysPlume
Return a two-element array containing the smallest and largest values in the array.
missingNumbers(int[]) - Static method in class org.plumelib.util.MathPlume
Return an array containing all the numbers not in its argument array (which must be non-empty) but in the argument's range; that is, bigger than its argument's minimum value and smaller than its argument's maximum value.
missingNumbers(long[]) - Static method in class org.plumelib.util.MathPlume
Return an array containing all the numbers not in its argument array (which must be non-empty) but in the argument's range; that is, bigger than its argument's minimum value and smaller than its argument's maximum value.
mod(int, int) - Static method in class org.plumelib.util.MathPlume
Returns x % y, the modulus operation applied to its arguments.
mod(long, long) - Static method in class org.plumelib.util.MathPlume
Returns x % y, the modulus operation applied to its arguments.
modNonnegative(int, int) - Static method in class org.plumelib.util.MathPlume
Return z such that (z == x mod y) && (0 <= z < abs(y)).
modNonnegative(long, long) - Static method in class org.plumelib.util.MathPlume
Return z such that (z == x mod y) && (0 <= z < abs(y)).
modPositive(int, int) - Static method in class org.plumelib.util.MathPlume
modPositive(long, long) - Static method in class org.plumelib.util.MathPlume
modulus(int[]) - Static method in class org.plumelib.util.MathPlume
Return an array of two integers (r,m) such that each number in NUMS is equal to r (mod m).
modulus(long[]) - Static method in class org.plumelib.util.MathPlume
Return an array of two integers (r,m) such that each number in NUMS is equal to r (mod m).
modulusInt(Iterator<Integer>) - Static method in class org.plumelib.util.MathPlume
The iterator produces Integer values.
modulusLong(Iterator<Long>) - Static method in class org.plumelib.util.MathPlume
The iterator produces Long values.
modulusStrict(int[], boolean) - Static method in class org.plumelib.util.MathPlume
Return an array of two integers (r,m) such that each number in NUMS is equal to r (mod m).
modulusStrict(long[], boolean) - Static method in class org.plumelib.util.MathPlume
Return an array of two integers (r,m) such that each number in NUMS is equal to r (mod m).
modulusStrictInt(Iterator<Integer>, boolean) - Static method in class org.plumelib.util.MathPlume
The iterator produces Integer values.
modulusStrictLong(Iterator<Long>, boolean) - Static method in class org.plumelib.util.MathPlume
The iterator produces Long values.
mul(int, int) - Static method in class org.plumelib.util.MathPlume
Multiplies its arguments.
mul(long, long) - Static method in class org.plumelib.util.MathPlume
Multiplies its arguments.
mul(double, double) - Static method in class org.plumelib.util.MathPlume
Multiplies its arguments.
MultiRandSelector<T> - Class in org.plumelib.util
Performs uniform random selection over an iterator, where the objects in the iterator may be partitioned so that the random selection chooses the same number from each group.
MultiRandSelector(int, Partitioner<T, T>) - Constructor for class org.plumelib.util.MultiRandSelector
Create a MultiRandSelector that chooses numElts elements from each bucket.
MultiRandSelector(double, Partitioner<T, T>) - Constructor for class org.plumelib.util.MultiRandSelector
Create a MultiRandSelector that chooses each element with probability keepProbability.
MultiRandSelector(int, Random, Partitioner<T, T>) - Constructor for class org.plumelib.util.MultiRandSelector
Create a MultiRandSelector that chooses numElts from each partition, using the given Random.
MultiRandSelector(double, Random, Partitioner<T, T>) - Constructor for class org.plumelib.util.MultiRandSelector
Create a MultiRandSelector that chooses each element with probability keepProbability., using the given Random.

N

ne(double, double) - Method in class org.plumelib.util.FuzzyFloat
Test d1 and d2 for non-equality using the current ratio.
negate(int) - Static method in class org.plumelib.util.MathPlume
Negates its argument.
negate(long) - Static method in class org.plumelib.util.MathPlume
Negates its argument.
negate(double) - Static method in class org.plumelib.util.MathPlume
Negates its argument.
next() - Method in class org.plumelib.util.CollectionsPlume.EnumerationIterator
 
next() - Method in class org.plumelib.util.CollectionsPlume.FilteredIterator
 
next() - Method in class org.plumelib.util.CollectionsPlume.MergedIterator
 
next() - Method in class org.plumelib.util.CollectionsPlume.MergedIterator2
 
next() - Method in class org.plumelib.util.CollectionsPlume.RemoveFirstAndLastIterator
 
next() - Method in class org.plumelib.util.CombinationIterator
 
next() - Method in class org.plumelib.util.EntryReader
Return the next line in the multi-file.
next() - Method in class org.plumelib.util.OrderedPairIterator
 
nextElement() - Method in class org.plumelib.util.CollectionsPlume.IteratorEnumeration
 
nextUid - Static variable in interface org.plumelib.util.UniqueId
The unique ID for the next-created object.
noDuplicates(boolean[]) - Static method in class org.plumelib.util.ArraysPlume
Return true iff a does not contain duplicate elements.
noDuplicates(byte[]) - Static method in class org.plumelib.util.ArraysPlume
Return true iff a does not contain duplicate elements.
noDuplicates(char[]) - Static method in class org.plumelib.util.ArraysPlume
Return true iff a does not contain duplicate elements.
noDuplicates(float[]) - Static method in class org.plumelib.util.ArraysPlume
Return true iff a does not contain duplicate elements.
noDuplicates(short[]) - Static method in class org.plumelib.util.ArraysPlume
Return true iff a does not contain duplicate elements.
noDuplicates(int[]) - Static method in class org.plumelib.util.ArraysPlume
Return true iff a does not contain duplicate elements.
noDuplicates(double[]) - Static method in class org.plumelib.util.ArraysPlume
Return true iff a does not contain duplicate elements.
noDuplicates(long[]) - Static method in class org.plumelib.util.ArraysPlume
Return true iff a does not contain duplicate elements.
noDuplicates(String[]) - Static method in class org.plumelib.util.ArraysPlume
Return true iff a does not contain duplicate elements.
noDuplicates(Object[]) - Static method in class org.plumelib.util.ArraysPlume
Return true iff a does not contain duplicate elements.
noDuplicates(List<T>) - Static method in class org.plumelib.util.ArraysPlume
Return true iff a does not contain duplicate elements.
nonmodulusNonstrict(int[]) - Static method in class org.plumelib.util.MathPlume
Return a tuple of (r,m) where no number in NUMS is equal to r (mod m) but for every number in NUMS, at least one is equal to every non-r remainder.
nonmodulusNonstrict(long[]) - Static method in class org.plumelib.util.MathPlume
Return a tuple of (r,m) where no number in NUMS is equal to r (mod m) but for every number in NUMS, at least one is equal to every non-r remainder.
nonmodulusStrict(int[]) - Static method in class org.plumelib.util.MathPlume
Return a tuple of (r,m) where no number in NUMS is equal to r (mod m) but all missing numbers in their range are.
nonmodulusStrict(long[]) - Static method in class org.plumelib.util.MathPlume
Return a tuple of (r,m) where no number in NUMS is equal to r (mod m) but all missing numbers in their range are.
nonmodulusStrictInt(Iterator<Integer>) - Static method in class org.plumelib.util.MathPlume
Return a tuple of (r,m) where no number in NUMS is equal to r (mod m) but all missing numbers in their range are.
nonmodulusStrictLong(Iterator<Long>) - Static method in class org.plumelib.util.MathPlume
Return a tuple of (r,m) where no number in NUMS is equal to r (mod m) but all missing numbers in their range are.
nplural(int, String) - Static method in class org.plumelib.util.UtilPlume
Return either "n noun" or "n nouns" depending on n.
NullableStringComparator() - Constructor for class org.plumelib.util.UtilPlume.NullableStringComparator
 
numValues - Variable in class org.plumelib.util.LimitedSizeSet
The number of active elements (equivalently, the first unused index).

O

ObjectArrayComparatorLengthFirst() - Constructor for class org.plumelib.util.ArraysPlume.ObjectArrayComparatorLengthFirst
 
ObjectArrayComparatorLexical() - Constructor for class org.plumelib.util.ArraysPlume.ObjectArrayComparatorLexical
 
ObjectComparator() - Constructor for class org.plumelib.util.UtilPlume.ObjectComparator
 
of(A, B) - Static method in class org.plumelib.util.Pair
Factory method with short name and no need to name type parameters.
of(A, B) - Static method in class org.plumelib.util.WeakIdentityPair
Factory method with short name and no need to name type parameters.
OrderedPairIterator<T> - Class in org.plumelib.util
Given two sorted iterators, this class returns a new iterator that pairs equal elements of the inputs, according to the sort order or the given comparator.
OrderedPairIterator(Iterator<T>, Iterator<T>) - Constructor for class org.plumelib.util.OrderedPairIterator
Create an iterator that returns pairs, where each pair contains has an element from each iterator and the two elements are equal.
OrderedPairIterator(Iterator<T>, Iterator<T>, Comparator<T>) - Constructor for class org.plumelib.util.OrderedPairIterator
Create an iterator that returns pairs, where each pair contains has an element from each iterator and the two elements are equal according to the comparator.
org.plumelib.util - package org.plumelib.util
Plume-lib Util: Utility libraries for Java

P

Pair<T1,T2> - Class in org.plumelib.util
Mutable pair class: type-safely holds two objects of possibly-different types.
Pair(T1, T2) - Constructor for class org.plumelib.util.Pair
Make a new pair.
partialFnCompose(int[], int[]) - Static method in class org.plumelib.util.ArraysPlume
Return the composition of the given two (possibly partial) functions, all of which are represented as arrays.
Partitioner<ELEMENT,CLASS> - Interface in org.plumelib.util
A Partitioner accepts Objects and assigns them to an equivalence class.
partitionInto(Collection<T>, int) - Static method in class org.plumelib.util.ArraysPlume
Partition a set of non-null elements into exactly k subsets.
partitionInto(Queue<T>, int) - Static method in class org.plumelib.util.ArraysPlume
Partition a set of elements into exactly k subsets.
partitionIntoHelper(Queue<T>, List<ArraysPlume.Partitioning<T>>, int, int) - Static method in class org.plumelib.util.ArraysPlume
Returns a set of partitionings, each of size numEmptyParts + numNonemptyParts.
pow(int, int) - Static method in class org.plumelib.util.MathPlume
Returns of value of the first argument raised to the power of the second argument.
pow(long, long) - Static method in class org.plumelib.util.MathPlume
Returns of value of the first argument raised to the power of the second argument.
prefixLines(String, Object) - Static method in class org.plumelib.util.UtilPlume
Return the printed represenation of a value, with each line prefixed by another string.
prefixLinesExceptFirst(String, Object) - Static method in class org.plumelib.util.UtilPlume
Return the printed represenation of a value, with each line (except the first) prefixed by another string.
print(Map<T, List<T>>, PrintStream, int) - Static method in class org.plumelib.util.GraphPlume
Print a representation of the graph to ps, indented by intent spaces.
propertyIsTrue(Properties, String) - Static method in class org.plumelib.util.UtilPlume
Determines whether a property has value "true", "yes", or "1".
put(K, V) - Method in class org.plumelib.util.WeakHasherMap
Updates this map so that the given key maps to the given value.
put(K, V) - Method in class org.plumelib.util.WeakIdentityHashMap
Associates the specified value with the specified key in this map.
putAll(Map<? extends K, ? extends V>) - Method in class org.plumelib.util.WeakIdentityHashMap
Copies all of the mappings from the specified map to this map These mappings will replace any mappings that this map had for any of the keys currently in the specified map.
putback(String) - Method in class org.plumelib.util.EntryReader
Puts the specified line back in the input.

R

randomElements(Iterator<T>, int) - Static method in class org.plumelib.util.CollectionsPlume
Return a List containing numElts randomly chosen elements from the iterator, or all the elements of the iterator if there are fewer.
randomElements(Iterator<T>, int, Random) - Static method in class org.plumelib.util.CollectionsPlume
Return a List containing numElts randomly chosen elements from the iterator, or all the elements of the iterator if there are fewer.
RandomSelector<T> - Class in org.plumelib.util
RandomSelector selects k elements uniformly at random from an arbitrary iterator, using O(k) space.
RandomSelector(int) - Constructor for class org.plumelib.util.RandomSelector
 
RandomSelector(int, Random) - Constructor for class org.plumelib.util.RandomSelector
 
RandomSelector(double, Random) - Constructor for class org.plumelib.util.RandomSelector
 
read() - Method in class org.plumelib.util.EntryReader
 
read(char[], int, int) - Method in class org.plumelib.util.EntryReader
 
readerContents(Reader) - Static method in class org.plumelib.util.UtilPlume
Reads the entire contents of the reader and returns it as a string.
readFile(File) - Static method in class org.plumelib.util.UtilPlume
Reads the entire contents of the file and returns it as a string.
readLine() - Method in class org.plumelib.util.EntryReader
Read a line, ignoring comments and processing includes.
readObject(File) - Static method in class org.plumelib.util.UtilPlume
Reads an Object from a File.
ReflectionPlume - Class in org.plumelib.util
Deprecated.
use org.plumelib.reflection.ReflectionPlume
regexError(String) - Static method in class org.plumelib.util.RegexUtil
Returns null if the argument is a syntactically valid regular expression.
regexError(String, int) - Static method in class org.plumelib.util.RegexUtil
Returns null if the argument is a syntactically valid regular expression with at least the given number of groups.
regexException(String) - Static method in class org.plumelib.util.RegexUtil
Returns null if the argument is a syntactically valid regular expression.
regexException(String, int) - Static method in class org.plumelib.util.RegexUtil
Returns null if the argument is a syntactically valid regular expression with at least the given number of groups.
RegexUtil - Class in org.plumelib.util
Utility methods for regular expressions, most notably for testing whether a string is a regular expression.
RegexUtil.CheckedPatternSyntaxException - Exception in org.plumelib.util
A checked version of PatternSyntaxException.
remove() - Method in class org.plumelib.util.CollectionsPlume.EnumerationIterator
 
remove() - Method in class org.plumelib.util.CollectionsPlume.FilteredIterator
 
remove() - Method in class org.plumelib.util.CollectionsPlume.MergedIterator
 
remove() - Method in class org.plumelib.util.CollectionsPlume.MergedIterator2
 
remove() - Method in class org.plumelib.util.CollectionsPlume.RemoveFirstAndLastIterator
 
remove() - Method in class org.plumelib.util.CombinationIterator
 
remove() - Method in class org.plumelib.util.EntryReader
remove() is not supported.
remove() - Method in class org.plumelib.util.OrderedPairIterator
 
remove(Object) - Method in class org.plumelib.util.WeakHasherMap
Removes the mapping for the given key from this map, if present.
remove(Object) - Method in class org.plumelib.util.WeakIdentityHashMap
Removes the mapping for this key from this map if present.
removeDuplicates(List<T>) - Static method in class org.plumelib.util.CollectionsPlume
Return a copy of the list with duplicates removed.
RemoveFirstAndLastIterator(Iterator<T>) - Constructor for class org.plumelib.util.CollectionsPlume.RemoveFirstAndLastIterator
Create an iterator just like itor, except without its first and last elements.
removeWhitespaceAfter(String, String) - Static method in class org.plumelib.util.UtilPlume
Remove all whitespace after instances of delimiter.
removeWhitespaceAround(String, String) - Static method in class org.plumelib.util.UtilPlume
Remove all whitespace before or after instances of delimiter.
removeWhitespaceBefore(String, String) - Static method in class org.plumelib.util.UtilPlume
Remove all whitespace before instances of delimiter.
replacePrefix(String, String, String) - Static method in class org.plumelib.util.UtilPlume
Returns the target with an occurrence of oldStr at the start replaced by newStr.
replaceString(String, String, String) - Static method in class org.plumelib.util.UtilPlume
Deprecated.
use String.replace
replaceSuffix(String, String, String) - Static method in class org.plumelib.util.UtilPlume
Returns the target with an occurrence of oldStr at the end replaced by newStr.
repNulled() - Method in class org.plumelib.util.LimitedSizeIntSet
Returns true if more elements have been added than this set can contain (which is the integer that was passed to the constructor when creating this set).
repNulled() - Method in class org.plumelib.util.LimitedSizeSet
Returns true if more elements have been added than this set can contain (which is the integer that was passed to the constructor when creating this set).
reset() - Method in class org.plumelib.util.EntryReader
 
rpad(String, int) - Static method in class org.plumelib.util.UtilPlume
Returns a string of the specified length, truncated if necessary, and padded with spaces to the right if necessary.
rpad(int, int) - Static method in class org.plumelib.util.UtilPlume
Converts the int to a String, then formats it using UtilPlume.rpad(String,int).
rpad(double, int) - Static method in class org.plumelib.util.UtilPlume
Converts the double to a String, then formats it using UtilPlume.rpad(String,int).
rshiftSigned(int, int) - Static method in class org.plumelib.util.MathPlume
Returns x >> y, the signed right-shift operation applied to its arguments.
rshiftSigned(long, long) - Static method in class org.plumelib.util.MathPlume
Returns x >> y, the signed right-shift operation applied to its arguments.
rshiftUnsigned(int, int) - Static method in class org.plumelib.util.MathPlume
Returns x >>> y, the unsigned right-shift operation applied to its arguments.
rshiftUnsigned(long, long) - Static method in class org.plumelib.util.MathPlume
Returns x >>> y, the unsigned right-shift operation applied to its arguments.

S

setDefaultMaybe(Properties, String, String) - Static method in class org.plumelib.util.UtilPlume
Set the property only if it was not previously set.
setEntryStartStop(String, String) - Method in class org.plumelib.util.EntryReader
Set the regular expressions for the start and stop of long entries (multiple lines that are read as a group by getEntry()).
setEntryStartStop(Pattern, Pattern) - Method in class org.plumelib.util.EntryReader
Set the regular expressions for the start and stop of long entries (multiple lines that are read as a group by getEntry()).
setFinalField(Object, String, Object) - Static method in class org.plumelib.util.ReflectionPlume
Deprecated.
Sets the given field, which may be final and/or private.
setLineNumber(int) - Method in class org.plumelib.util.EntryReader
Set the current line number in the current file.
setRelativeRatio(double) - Method in class org.plumelib.util.FuzzyFloat
Set all the fields of this class.
shortEntry - Variable in class org.plumelib.util.EntryReader.Entry
True if this is a short entry (blank-line-separated).
sign(int) - Static method in class org.plumelib.util.MathPlume
Returns the sign of its argument.
size() - Method in class org.plumelib.util.LimitedSizeIntSet
A lower bound on the number of elements in the set.
size() - Method in class org.plumelib.util.LimitedSizeSet
A lower bound on the number of elements in the set.
size() - Method in class org.plumelib.util.WeakHasherMap
Returns the number of key-value mappings in this map.
size() - Method in class org.plumelib.util.WeakIdentityHashMap
Returns the number of key-value mappings in this map.
skip(long) - Method in class org.plumelib.util.EntryReader
 
sleep(long) - Static method in class org.plumelib.util.UtilPlume
Like Thread.sleep, but does not throw any exceptions, so it is easier for clients to use.
sorted(int[]) - Static method in class org.plumelib.util.ArraysPlume
Returns whether the array is sorted.
sorted(long[]) - Static method in class org.plumelib.util.ArraysPlume
Returns whether the array is sorted.
sortedKeySet(Map<K, V>) - Static method in class org.plumelib.util.CollectionsPlume
Returns a sorted version of m.keySet().
sortedKeySet(Map<K, V>, Comparator<K>) - Static method in class org.plumelib.util.CollectionsPlume
Returns a sorted version of m.keySet().
sortList(List<T>, Comparator<? super T>) - Static method in class org.plumelib.util.CollectionsPlume
Return the sorted version of the list.
split(String, char) - Static method in class org.plumelib.util.UtilPlume
Return an array of Strings representing the characters between successive instances of the delimiter character.
split(String, String) - Static method in class org.plumelib.util.UtilPlume
Return an array of Strings representing the characters between successive instances of the delimiter String.
splitLines(String) - Static method in class org.plumelib.util.UtilPlume
Return an array of Strings, one for each line in the argument.
stackTraceToString(Throwable) - Static method in class org.plumelib.util.UtilPlume
Return a String representation of the stack trace (the backtrace) of the given Throwable.
streamCopy(InputStream, OutputStream) - Static method in class org.plumelib.util.UtilPlume
Copy the contents of the input stream to the output stream.
streamLines(InputStream) - Static method in class org.plumelib.util.UtilPlume
Reads all lines from the stream and returns them in a List<String>.
streamString(InputStream) - Static method in class org.plumelib.util.UtilPlume
Return a String containing all the characters from the input stream.
StringArrayComparatorLexical() - Constructor for class org.plumelib.util.ArraysPlume.StringArrayComparatorLexical
 
StringBuilderDelimited - Class in org.plumelib.util
Deprecated.
use StringJoiner
StringBuilderDelimited(String) - Constructor for class org.plumelib.util.StringBuilderDelimited
Deprecated.
Create a new StringBuilderDelimited.
subarray(Object[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Return a subarray of the given array.
subarray(List<T>, int, int) - Static method in class org.plumelib.util.ArraysPlume
Return a sublist of the given list.
subarray(String[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Return a subarray of the given array.
subarray(byte[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Return a subarray of the given array.
subarray(boolean[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Return a subarray of the given array.
subarray(char[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Return a subarray of the given array.
subarray(double[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Return a subarray of the given array.
subarray(float[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Return a subarray of the given array.
subarray(int[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Return a subarray of the given array.
subarray(long[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Return a subarray of the given array.
subarray(short[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Return a subarray of the given array.
subSequence(int, int) - Method in class org.plumelib.util.StringBuilderDelimited
Deprecated.
Not supported by StringJoiner which will supersede this
sum(int[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the sum of an array of integers.
sum(int[][]) - Static method in class org.plumelib.util.ArraysPlume
Returns the sum of all the elements of a 2d array of integers.
sum(double[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the sum of an array of doubles.
sum(double[][]) - Static method in class org.plumelib.util.ArraysPlume
Returns the sum of all the elements of a 2d array of doubles.

T

tokens(String, String, boolean) - Static method in class org.plumelib.util.UtilPlume
Return a ArrayList of the Strings returned by StringTokenizer.StringTokenizer(String,String,boolean) with the given arguments.
tokens(String, String) - Static method in class org.plumelib.util.UtilPlume
Return a ArrayList of the Strings returned by StringTokenizer.StringTokenizer(String,String) with the given arguments.
tokens(String) - Static method in class org.plumelib.util.UtilPlume
Return a ArrayList of the Strings returned by StringTokenizer.StringTokenizer(String) with the given arguments.
toString(Object) - Static method in class org.plumelib.util.ArraysPlume
Returns a string representation of the contents of the specified array.
toString(Object[]) - Static method in class org.plumelib.util.ArraysPlume
Return a string representation of the array.
toString(Object[], boolean) - Static method in class org.plumelib.util.ArraysPlume
Return a string representation of the array.
toString(Collection<?>) - Static method in class org.plumelib.util.ArraysPlume
Return a string representation of the collection.
toString(Collection<?>, boolean) - Static method in class org.plumelib.util.ArraysPlume
Return a string representation of the collection.
toString() - Method in class org.plumelib.util.FileWriterWithName
Return the name of the file being written by this.
toString() - Method in class org.plumelib.util.LimitedSizeIntSet
 
toString() - Method in class org.plumelib.util.LimitedSizeSet
 
toString() - Method in class org.plumelib.util.Pair
 
toString() - Method in class org.plumelib.util.StringBuilderDelimited
Deprecated.
 
toString() - Method in class org.plumelib.util.WeakIdentityPair
 
toStringQuoted(Object[]) - Static method in class org.plumelib.util.ArraysPlume
Return a string representation of the array.
toStringQuoted(Collection<?>) - Static method in class org.plumelib.util.ArraysPlume
Return a string representation of the collection.

U

unescapeJava(String) - Static method in class org.plumelib.util.UtilPlume
Convert a string from Java source code format (with escape sequences) into the string it would represent at run time.
unescapeNonJava(String) - Static method in class org.plumelib.util.UtilPlume
UniqueId - Interface in org.plumelib.util
An interface for objects that have a unique ID (unique identifier).
UniqueIdMap<E> - Class in org.plumelib.util
Provides a unique ID for classes that you cannot modify.
UniqueIdMap() - Constructor for class org.plumelib.util.UniqueIdMap
 
UtilPlume - Class in org.plumelib.util
Utility functions that do not belong elsewhere in the plume package.
UtilPlume.NullableStringComparator - Class in org.plumelib.util
Same as built-in String comparison, but accept null arguments, and place them at the beginning.
UtilPlume.ObjectComparator - Class in org.plumelib.util
Attempt to order Objects.
UtilPlume.WildcardFilter - Class in org.plumelib.util
A FilenameFilter that accepts files whose name matches the given wildcard.

V

values - Variable in class org.plumelib.util.LimitedSizeIntSet
If null, then at least numValues distinct values have been seen.
values - Variable in class org.plumelib.util.LimitedSizeSet
If null, then at least LimitedSizeSet.numValues distinct values have been seen (and LimitedSizeSet.numValues equals the maxValues argument to the constructor).
values() - Method in class org.plumelib.util.WeakIdentityHashMap
Returns a collection view of the values contained in this map.
valuesIter() - Method in class org.plumelib.util.MultiRandSelector
Returns an iterator of all objects selected.

W

WeakHasherMap<K,V> - Class in org.plumelib.util
This is a modified version of WeakHashMap from JDK 1.2.2, that adds a constructor that takes a Hasher argument.
WeakHasherMap(int, float) - Constructor for class org.plumelib.util.WeakHasherMap
Constructs a new, empty WeakHashMap with the given initial capacity and the given load factor.
WeakHasherMap(int) - Constructor for class org.plumelib.util.WeakHasherMap
Constructs a new, empty WeakHashMap with the given initial capacity and the default load factor, which is 0.75.
WeakHasherMap() - Constructor for class org.plumelib.util.WeakHasherMap
Constructs a new, empty WeakHashMap with the default capacity and the default load factor, which is 0.75.
WeakHasherMap(Hasher) - Constructor for class org.plumelib.util.WeakHasherMap
Constructs a new, empty WeakHashMap with the default capacity and the default load factor, which is 0.75.
WeakIdentityHashMap<K,V> - Class in org.plumelib.util
This class combines the features of WeakHashMap and IdentityHashMap.
WeakIdentityHashMap(int, float) - Constructor for class org.plumelib.util.WeakIdentityHashMap
Constructs a new, empty WeakIdentityHashMap with the given initial capacity and the given load factor.
WeakIdentityHashMap(int) - Constructor for class org.plumelib.util.WeakIdentityHashMap
Constructs a new, empty WeakIdentityHashMap with the given initial capacity and the default load factor, which is 0.75.
WeakIdentityHashMap() - Constructor for class org.plumelib.util.WeakIdentityHashMap
Constructs a new, empty WeakIdentityHashMap with the default initial capacity (16) and the default load factor (0.75).
WeakIdentityHashMap(Map<? extends K, ? extends V>) - Constructor for class org.plumelib.util.WeakIdentityHashMap
Constructs a new WeakIdentityHashMap with the same mappings as the specified Map.
WeakIdentityPair<T1,T2> - Class in org.plumelib.util
Immutable pair class: type-safely holds two objects of possibly-different types.
WeakIdentityPair(T1, T2) - Constructor for class org.plumelib.util.WeakIdentityPair
Creates a new weakly-held pair of a and b.
WildcardFilter(String) - Constructor for class org.plumelib.util.UtilPlume.WildcardFilter
Create a filter that accepts files whose name matches the given wildcard.
writeFile(File, String) - Static method in class org.plumelib.util.UtilPlume
Creates a file with the given name and writes the specified string to it.
writeObject(Object, File) - Static method in class org.plumelib.util.UtilPlume
Writes an Object to a File.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links