Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form

A

a - Variable in class org.plumelib.util.Pair
Deprecated.
The first element of the pair.
abbreviateNumber(long) - Static method in class org.plumelib.util.StringsPlume
Convert a number into an abbreviation such as "5.00K" for 5000 or "65.0M" for 65000000.
abbreviateNumber(long) - Static method in class org.plumelib.util.UtilPlume
AbstractMostlySingletonSet<T extends @Signed Object> - Class in org.plumelib.util
Base class for arbitrary-size sets that is very efficient (more efficient than HashSet) for 0 and 1 elements.
AbstractMostlySingletonSet(AbstractMostlySingletonSet.State) - Constructor for class org.plumelib.util.AbstractMostlySingletonSet
Create an AbstractMostlySingletonSet.
AbstractMostlySingletonSet(AbstractMostlySingletonSet.State, T) - Constructor for class org.plumelib.util.AbstractMostlySingletonSet
Create an AbstractMostlySingletonSet.
AbstractMostlySingletonSet.State - Enum in org.plumelib.util
The possible states of this set.
accept(File, String) - Method in class org.plumelib.util.FilesPlume.WildcardFilter
 
accept(File, String) - Method in class org.plumelib.util.UtilPlume.WildcardFilter
Deprecated.
 
accept(T) - Method in interface org.plumelib.util.Filter
Deprecated.
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'.
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(long) - Method in class org.plumelib.util.LimitedSizeLongSet
Add an element to this set.
add(E) - Method in class org.plumelib.util.ArraySet
 
add(E) - Method in class org.plumelib.util.IdentityArraySet
 
add(T) - Method in class org.plumelib.util.IdentityMostlySingletonSet
 
add(T) - Method in class org.plumelib.util.LimitedSizeSet
Add an element to this set.
add(T) - Method in class org.plumelib.util.MostlySingletonSet
 
addAll(Collection<? extends E>) - Method in class org.plumelib.util.ArraySet
 
addAll(Collection<? extends E>) - Method in class org.plumelib.util.IdentityArraySet
 
addAll(Collection<? extends T>) - Method in class org.plumelib.util.AbstractMostlySingletonSet
 
addAll(LimitedSizeIntSet) - Method in class org.plumelib.util.LimitedSizeIntSet
Add all elements of s to this set.
addAll(LimitedSizeLongSet) - Method in class org.plumelib.util.LimitedSizeLongSet
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.
adjoin(Collection<T>, T) - Static method in class org.plumelib.util.CollectionsPlume
Adds an element to the given collection, but only if it is not already present.
adjoinAll(Collection<T>, Collection<? extends T>) - Static method in class org.plumelib.util.CollectionsPlume
Adds elements to the given collection, but only ones that are not already present.
allMatch(Iterable<T>, Predicate<? super T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns true if all elements of the collection match the predicate.
allNull(Object[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true if all elements of a are null.
allNull(List<?>) - Static method in class org.plumelib.util.ArraysPlume
Returns true if all elements of a are null.
ANY - Enum constant in enum org.plumelib.util.AbstractMostlySingletonSet.State
A set of arbitrary size.
anyMatch(Iterable<T>, Predicate<? super T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns true if any element of the collection matches the predicate.
anyNull(Object[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true if a contains null.
anyNull(List<? extends Object>) - Static method in class org.plumelib.util.ArraysPlume
Returns true if a contains null.
append(Collection<T>, T) - Static method in class org.plumelib.util.CollectionsPlume
Concatenates a list and an element into a new list.
append(T[], T) - Static method in class org.plumelib.util.ArraysPlume
Concatenates an array and an element into a new array.
appendProperty(Properties, String, String) - Static method in class org.plumelib.util.UtilPlume
Set the property to its previous value concatenated to the given value.
ArrayMap<K extends @UnknownSignedness Object,V extends @UnknownSignedness Object> - Class in org.plumelib.util
A map backed by two arrays.
ArrayMap() - Constructor for class org.plumelib.util.ArrayMap
Constructs an empty ArrayMap with the default initial capacity.
ArrayMap(int) - Constructor for class org.plumelib.util.ArrayMap
Constructs an empty ArrayMap with the specified initial capacity.
ArrayMap(Map<? extends K, ? extends V>) - Constructor for class org.plumelib.util.ArrayMap
Constructs a new ArrayMap with the same mappings as the given Map.
ArraySet<E extends @UnknownSignedness Object> - Class in org.plumelib.util
A set backed by an array.
ArraySet() - Constructor for class org.plumelib.util.ArraySet
Constructs an empty ArraySet with the default initial capacity.
ArraySet(int) - Constructor for class org.plumelib.util.ArraySet
Constructs an empty ArraySet with the specified initial capacity.
ArraySet(Collection<? extends E>) - Constructor for class org.plumelib.util.ArraySet
Constructs a new ArraySet with the same elements as the given collection.
ArraysPlume - Class in org.plumelib.util
Utilities for manipulating arrays.
ArraysPlume.ComparableArrayComparatorLengthFirst<T extends 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 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).
arrayToStringAndClass(Object) - Static method in class org.plumelib.util.StringsPlume
Returns a string representation of the contents of the specified array.
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.
available(InputStream) - Static method in class org.plumelib.util.FilesPlume
Calls InputStream.available(), but returns null instead of throwing an IOException.

B

b - Variable in class org.plumelib.util.Pair
Deprecated.
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
bufferedFileReader(File) - Static method in class org.plumelib.util.UtilPlume
bufferedFileReader(File, String) - Static method in class org.plumelib.util.UtilPlume
bufferedFileReader(String) - Static method in class org.plumelib.util.UtilPlume
bufferedFileReader(String, String) - Static method in class org.plumelib.util.UtilPlume
bufferedFileWriter(String) - Static method in class org.plumelib.util.UtilPlume
bufferedFileWriter(String, boolean) - Static method in class org.plumelib.util.UtilPlume

C

canCreateAndWrite(File) - Static method in class org.plumelib.util.FilesPlume
Returns true if the file exists and is writable, or if the file can be created.
canCreateAndWrite(File) - Static method in class org.plumelib.util.UtilPlume
charLiteral(char) - Static method in class org.plumelib.util.StringsPlume
Given a character, returns a Java character literal denoting the character.
charLiteral(Character) - Static method in class org.plumelib.util.StringsPlume
Given a character, returns a Java character literal denoting the character.
CheckedPatternSyntaxException(String, String, int) - Constructor for exception org.plumelib.util.RegexUtil.CheckedPatternSyntaxException
Constructs a new CheckedPatternSyntaxException.
CheckedPatternSyntaxException(PatternSyntaxException) - Constructor for exception org.plumelib.util.RegexUtil.CheckedPatternSyntaxException
Constructs a new CheckedPatternSyntaxException equivalent to the given PatternSyntaxException.
checkRep() - Method in class org.plumelib.util.AbstractMostlySingletonSet
Throw an exception if the internal representation is corrupted.
ClassDeterministic - Class in org.plumelib.util
Deterministic versions of java.lang.Class methods, which return arrays in sorted order.
clear() - Method in class org.plumelib.util.AbstractMostlySingletonSet
 
clear() - Method in class org.plumelib.util.ArrayMap
 
clear() - Method in class org.plumelib.util.ArraySet
 
clear() - Method in class org.plumelib.util.IdentityArraySet
 
clear() - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
clone() - Method in class org.plumelib.util.ArrayMap
Returns a copy of this.
clone() - Method in class org.plumelib.util.ArraySet
Returns a copy of this.
clone() - Method in class org.plumelib.util.IdentityArraySet
Returns a copy of this.
clone() - Method in class org.plumelib.util.LimitedSizeIntSet
 
clone() - Method in class org.plumelib.util.LimitedSizeLongSet
 
clone() - Method in class org.plumelib.util.LimitedSizeSet
 
clone(T) - Static method in class org.plumelib.util.UtilPlume
Clones the given object by calling clone() reflectively.
cloneElements(C) - Static method in class org.plumelib.util.CollectionsPlume
Returns a copy of orig, where each element of the result is a clone of the corresponding element of orig.
cloneElements(M) - Static method in class org.plumelib.util.CollectionsPlume
Returns a copy of orig, where each key and value in the result is a clone of the corresponding element of orig.
cloneElements(IPair<T1, T2>) - Static method in class org.plumelib.util.IPair
Returns a copy of this in which each element is a clone of the corresponding element of this.
cloneElements(MPair<T1, T2>) - Static method in class org.plumelib.util.MPair
Returns a copy of this in which each element is a clone of the corresponding element of this.
cloneValues(M) - Static method in class org.plumelib.util.CollectionsPlume
Returns a copy of orig, where each value of the result is a clone of the corresponding value of orig, but the keys are the same objects.
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 extends @Nullable Object> - Class in org.plumelib.util
An iterator that only returns elements that match the given predicate.
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.
CollectionsPlume.Replacement<T> - Class in org.plumelib.util
Represents a replacement of one range of a collection by another collection.
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
Create a new ComparableArrayComparatorLengthFirst.
ComparableArrayComparatorLexical() - Constructor for class org.plumelib.util.ArraysPlume.ComparableArrayComparatorLexical
Create a new ComparableArrayComparatorLexical.
compare(double[], double[]) - Method in class org.plumelib.util.ArraysPlume.DoubleArrayComparatorLexical
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(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.ToStringComparator
 
compare(Object, Object) - Method in class org.plumelib.util.StringsPlume.ObjectComparator
Compare two Objects based on their string representations.
compare(Object, Object) - Method in class org.plumelib.util.UtilPlume.ObjectComparator
Deprecated.
 
compare(String, String) - Method in class org.plumelib.util.StringsPlume.NullableStringComparator
Deprecated.
Compare two Strings lexicographically.
compare(String, String) - Method in class org.plumelib.util.UtilPlume.NullableStringComparator
Deprecated.
 
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(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).
compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class org.plumelib.util.ArrayMap
 
compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class org.plumelib.util.ArrayMap
 
computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class org.plumelib.util.ArrayMap
 
computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
concat(boolean[], boolean[]) - Static method in class org.plumelib.util.ArraysPlume
Returns an array that contains all the elements of both argument arrays, in order.
concat(byte[], byte[]) - Static method in class org.plumelib.util.ArraysPlume
Returns an array that contains all the elements of both argument arrays, in order.
concat(char[], char[]) - Static method in class org.plumelib.util.ArraysPlume
Returns an array that contains all the elements of both argument arrays, in order.
concat(double[], double[]) - Static method in class org.plumelib.util.ArraysPlume
Returns an array that contains all the elements of both argument arrays, in order.
concat(float[], float[]) - Static method in class org.plumelib.util.ArraysPlume
Returns an array that contains all the elements of both argument arrays, in order.
concat(int[], int[]) - Static method in class org.plumelib.util.ArraysPlume
Returns an array that contains all the elements of both argument arrays, in order.
concat(long[], long[]) - Static method in class org.plumelib.util.ArraysPlume
Returns an array that contains all the elements of both argument arrays, in order.
concat(short[], short[]) - Static method in class org.plumelib.util.ArraysPlume
Returns an array that contains all the elements of both argument arrays, in order.
concat(String[], String[]) - Static method in class org.plumelib.util.ArraysPlume
Returns an array that contains all the elements of both argument arrays, in order.
concat(List<T>, List<T>) - Static method in class org.plumelib.util.ArraysPlume
Returns an array that contains all the elements of both arguments, in order.
concat(List<T>, T[]) - Static method in class org.plumelib.util.ArraysPlume
Returns an array that contains all the elements of both arguments, in order.
concat(T[], List<T>) - Static method in class org.plumelib.util.ArraysPlume
Returns an array that contains all the elements of both arguments, in order.
concat(T[], T[]) - Static method in class org.plumelib.util.ArraysPlume
Returns an array that contains all the elements of both arguments, in order.
concatenate(Collection<T>, Collection<T>) - Static method in class org.plumelib.util.CollectionsPlume
Concatenates two lists into a new list.
concatenate(T[], T...) - Static method in class org.plumelib.util.ArraysPlume
Concatenates two arrays.
conjunction(String, List<? extends Object>) - Static method in class org.plumelib.util.StringsPlume
Creates a conjunction or disjunction, like "a", "a or b", and "a, b, or c".
contains(int) - Method in class org.plumelib.util.LimitedSizeIntSet
Returns true if this set contains the given element.
contains(long) - Method in class org.plumelib.util.LimitedSizeLongSet
Returns true if this set contains the given element.
contains(Object) - Method in class org.plumelib.util.ArraySet
 
contains(Object) - Method in class org.plumelib.util.IdentityArraySet
 
contains(Object) - Method in class org.plumelib.util.IdentityMostlySingletonSet
 
contains(Object) - Method in class org.plumelib.util.MostlySingletonSet
 
contains(T) - Method in class org.plumelib.util.LimitedSizeSet
Returns true if this set contains the given element.
containsAll(Collection<?>) - Method in class org.plumelib.util.AbstractMostlySingletonSet
 
containsKey(Object) - Method in class org.plumelib.util.ArrayMap
 
containsKey(Object) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
containsValue(Object) - Method in class org.plumelib.util.ArrayMap
 
containsValue(Object) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
count(String, int) - Static method in class org.plumelib.util.StringsPlume
Returns the number of times the character appears in the string.
count(String, int) - Static method in class org.plumelib.util.UtilPlume
count(String, String) - Static method in class org.plumelib.util.StringsPlume
Returns the number of times the second string appears in the first.
count(String, String) - Static method in class org.plumelib.util.UtilPlume
countFormatArguments(String) - Static method in class org.plumelib.util.StringsPlume
Returns the number of arguments that the given format string takes.
countFormatArguments(String) - Static method in class org.plumelib.util.UtilPlume
countLines(String) - Static method in class org.plumelib.util.FilesPlume
Count the number of lines in the specified file.
countLines(String) - Static method in class org.plumelib.util.UtilPlume
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.
createLruCache(int) - Static method in class org.plumelib.util.CollectionsPlume
Creates a LRU cache.
createTempDir(String, String) - Static method in class org.plumelib.util.FilesPlume
Creates an empty directory in the default temporary-file directory, using the given prefix and suffix to generate its name.
createTempDir(String, String) - Static method in class org.plumelib.util.UtilPlume
createTempFile(String, String, FileAttribute<?>...) - Static method in class org.plumelib.util.FilesPlume
Creates a new empty file in the default temporary-file directory, using the given prefix and suffix strings to generate its name.
createTempFile(Path, String, String, FileAttribute<?>...) - Static method in class org.plumelib.util.FilesPlume
Creates a new empty file in the specified directory, using the given prefix and suffix strings to generate its name.

D

deepCopy() - Method in interface org.plumelib.util.DeepCopyable
Returns a deep copy of this.
deepCopy(C) - Static method in class org.plumelib.util.CollectionsPlume
Returns a copy of orig, where each element of the result is a deep copy (according to the DeepCopyable interface) of the corresponding element of orig.
deepCopy(M) - Static method in class org.plumelib.util.CollectionsPlume
Returns a copy of orig, where each key and value in the result is a deep copy (according to the DeepCopyable interface) of the corresponding element of orig.
deepCopy(IPair<T1, T2>) - Static method in class org.plumelib.util.IPair
Returns a deep copy of this: each element is a deep copy (according to the DeepCopyable interface) of the corresponding element of this.
deepCopy(MPair<T1, T2>) - Static method in class org.plumelib.util.MPair
Returns a deep copy of this: each element is a deep copy (according to the DeepCopyable interface) of the corresponding element of this.
DeepCopyable<T> - Interface in org.plumelib.util
An interface for types that implement the DeepCopyable.deepCopy() method.
deepCopyFirst(IPair<T1, T2>) - Static method in class org.plumelib.util.IPair
Returns a copy, where the first element is deep: the first element is a deep copy (according to the DeepCopyable interface), and the second element is identical to the argument.
deepCopyFirst(MPair<T1, T2>) - Static method in class org.plumelib.util.MPair
Returns a copy, where the first element is deep: the first element is a deep copy (according to the DeepCopyable interface), and the second element is identical to the argument.
deepCopyOrNull(T2) - Static method in interface org.plumelib.util.DeepCopyable
Returns the deep copy of a non-null argument, or null for a null argument.
deepCopySecond(IPair<T1, T2>) - Static method in class org.plumelib.util.IPair
Returns a copy, where the second element is deep: the first element is identical to the argument, and the second element is a deep copy (according to the DeepCopyable interface).
deepCopySecond(MPair<T1, T2>) - Static method in class org.plumelib.util.MPair
Returns a copy, where the second element is deep: the first element is identical to the argument, and the second element is a deep copy (according to the DeepCopyable interface).
deepCopyValues(M) - Static method in class org.plumelib.util.CollectionsPlume
Returns a copy of orig, where each value of the result is a deep copy (according to the DeepCopyable interface) of the corresponding value of orig, but the keys are the same objects.
deepEquals(Object, Object) - Static method in class org.plumelib.util.CollectionsPlume
Determines deep equality for the elements.
deleteDir(File) - Static method in class org.plumelib.util.FilesPlume
Deletes the directory at dir and all its files.
deleteDir(File) - Static method in class org.plumelib.util.UtilPlume
deleteDir(String) - Static method in class org.plumelib.util.FilesPlume
Deletes the directory at dirName and all its files.
deleteDir(String) - Static method in class org.plumelib.util.UtilPlume
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(double, double) - Static method in class org.plumelib.util.MathPlume
Divides its arguments.
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.
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
Create a new DoubleArrayComparatorLexical.
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.
DumpHeap - Class in org.plumelib.util
Defines a static method DumpHeap.dumpHeap(java.lang.String) that dumps the heap to an .hprof file.
duplicates(Collection<T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns the elements (once each) that appear more than once in the given collection.

E

elementRange(int[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the difference between the smallest and largest array elements.
elementRange(long[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the difference between the smallest and largest array elements.
EMPTY - Enum constant in enum org.plumelib.util.AbstractMostlySingletonSet.State
An empty set.
end - Variable in class org.plumelib.util.CollectionsPlume.Replacement
The last line to replace, inclusive.
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) - Constructor for class org.plumelib.util.EntryReader
Create an EntryReader that does not support comments or include directives.
EntryReader(InputStream, String) - Constructor for class org.plumelib.util.EntryReader
Create an EntryReader that uses the default character set and does not support comments or include directives.
EntryReader(InputStream, String, String, String) - Constructor for class org.plumelib.util.EntryReader
Create an EntryReader.
EntryReader(InputStream, String, String) - Constructor for class org.plumelib.util.EntryReader
Create an EntryReader that does not support comments or include directives.
EntryReader(InputStream, String, String, String, String) - Constructor for class org.plumelib.util.EntryReader
Create an EntryReader that uses the given character set.
EntryReader(Reader) - Constructor for class org.plumelib.util.EntryReader
Create an EntryReader that does not support comments or include directives.
EntryReader(Reader, String, String, String) - Constructor for class org.plumelib.util.EntryReader
Create an EntryReader.
EntryReader(File) - Constructor for class org.plumelib.util.EntryReader
Create an 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, String) - Constructor for class org.plumelib.util.EntryReader
Create an EntryReader that does not support comments or include directives.
EntryReader(String) - Constructor for class org.plumelib.util.EntryReader
Create an 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, String) - Constructor for class org.plumelib.util.EntryReader
Create an EntryReader that does not support comments or include directives.
EntryReader(Path) - Constructor for class org.plumelib.util.EntryReader
Create an 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, String) - Constructor for class org.plumelib.util.EntryReader
Create an 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.ArrayMap
 
entrySet() - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
entryStartRegex - Variable in class org.plumelib.util.EntryReader
Regular expression that starts a long entry.
entryStopRegex - Variable in class org.plumelib.util.EntryReader
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.FilesPlume
Returns true iff files have the same contents.
equalFiles(String, String) - Static method in class org.plumelib.util.UtilPlume
equalFiles(String, String, boolean) - Static method in class org.plumelib.util.FilesPlume
Returns true iff the files have the same contents.
equalFiles(String, String, boolean) - Static method in class org.plumelib.util.UtilPlume
equals(Object) - Method in class org.plumelib.util.IPair
 
equals(Object) - Method in class org.plumelib.util.MPair
 
equals(Object) - Method in class org.plumelib.util.Pair
Deprecated.
 
equals(Object) - Method in class org.plumelib.util.WeakIdentityPair
 
equals(Object) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
escapeJava(char) - Static method in class org.plumelib.util.StringsPlume
escapeJava(char) - Static method in class org.plumelib.util.UtilPlume
escapeJava(Character) - Static method in class org.plumelib.util.StringsPlume
escapeJava(Character) - Static method in class org.plumelib.util.UtilPlume
escapeJava(String) - Static method in class org.plumelib.util.StringsPlume
Escapes a String so that it is expressible in a string literal in Java source code.
escapeJava(String) - Static method in class org.plumelib.util.UtilPlume
escapeNonASCII(String) - Static method in class org.plumelib.util.StringsPlume
Escape unprintable characters in the target, following the usual Java backslash conventions, so that the result is sure to be printable ASCII.
escapeNonASCII(String) - Static method in class org.plumelib.util.UtilPlume
escapeNonJava(Character) - Static method in class org.plumelib.util.UtilPlume
escapeNonJava(String) - Static method in class org.plumelib.util.UtilPlume
everyStringMatchesSomeRegex(Collection<String>, Collection<String>) - Static method in class org.plumelib.util.RegexUtil
Return true if every string is matched by at least one regex.
expandFilename(File) - Static method in class org.plumelib.util.FilesPlume
Does tilde expansion on a file name (to the user's home directory).
expandFilename(File) - Static method in class org.plumelib.util.UtilPlume
expandFilename(String) - Static method in class org.plumelib.util.FilesPlume
Does tilde expansion on a file name (to the user's home directory).
expandFilename(String) - Static method in class org.plumelib.util.UtilPlume

F

fileContents(File) - Static method in class org.plumelib.util.FilesPlume
fileInputStream(File) - Static method in class org.plumelib.util.UtilPlume
fileInputStream(Path) - Static method in class org.plumelib.util.UtilPlume
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(LineNumberReader, String, Throwable) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
FileIOException(LineNumberReader, 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.
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, LineNumberReader) - 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(String, LineNumberReader, String, Throwable) - 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, 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(String, String, int) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
FileIOException(String, Throwable) - 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(Throwable) - Constructor for exception org.plumelib.util.FileIOException
Create a FileIOException.
fileLines(String) - Static method in class org.plumelib.util.UtilPlume
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(File) - Static method in class org.plumelib.util.UtilPlume
fileReader(File, String) - Static method in class org.plumelib.util.UtilPlume
fileReader(String) - Static method in class org.plumelib.util.UtilPlume
fileReader(Path) - Static method in class org.plumelib.util.UtilPlume
fileReader(Path, String) - Static method in class org.plumelib.util.UtilPlume
FilesPlume - Class in org.plumelib.util
Utility methods that create and manipulate files, directories, streams, readers, and writers.
FilesPlume.WildcardFilter - Class in org.plumelib.util
A FilenameFilter that accepts files whose name matches the given wildcard.
FileWriterWithName - Class in org.plumelib.util
Just like FileWriter, but adds a FileWriterWithName.getFileName() method and overrides #toString() to give the file name.
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.
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.
filter(Iterable<T>, Predicate<? super T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns a new list containing only the elements for which the filter returns true.
Filter<T extends @Nullable Object> - Interface in org.plumelib.util
Deprecated.
use java.util.function.Predicate
FilteredIterator(Iterator<T>, Predicate<T>) - Constructor for class org.plumelib.util.CollectionsPlume.FilteredIterator
Create an iterator that only returns elements of itor that match the given predicate.
first - Variable in class org.plumelib.util.IPair
The first element of the pair.
first - Variable in class org.plumelib.util.MPair
The first element of the pair.
firstLine - Variable in class org.plumelib.util.EntryReader.Entry
First line of the entry.
firstLineSeparator(String) - Static method in class org.plumelib.util.StringsPlume
Returns the first line separator in the given string, or "\n" if the string contains none.
firstNonNull(T, T) - Static method in class org.plumelib.util.UtilPlume
Return the first argument if it is non-null, otherwise return the second argument.
fnCompose(int[], int[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the composition of the given two functions, all of which are represented as arrays.
fnIdentity(int) - Static method in class org.plumelib.util.ArraysPlume
Returns an array [0..length).
fnInverse(int[], int) - Static method in class org.plumelib.util.ArraysPlume
Returns 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
Returns true iff the array does not contain -1.
forEach(BiConsumer<? super K, ? super V>) - Method in class org.plumelib.util.ArrayMap
 
forEach(BiConsumer<? super K, ? super V>) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
forEach(Consumer<? super E>) - Method in class org.plumelib.util.ArraySet
 
forEach(Consumer<? super E>) - Method in class org.plumelib.util.IdentityArraySet
 
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

gc() - Static method in class org.plumelib.util.SystemPlume
Perform garbage collection.
gc() - Static method in class org.plumelib.util.UtilPlume
Deprecated.
gcd(double[]) - Static method in class org.plumelib.util.MathPlume
Returns the greatest common divisor of the elements of double array a.
gcd(double, double) - Static method in class org.plumelib.util.MathPlume
Returns the greatest common divisor of the two arguments.
gcd(int[]) - Static method in class org.plumelib.util.MathPlume
Returns the greatest common divisor of the elements of int array a.
gcd(int, int) - Static method in class org.plumelib.util.MathPlume
Returns the greatest common divisor of the two arguments.
gcd(long[]) - Static method in class org.plumelib.util.MathPlume
Returns the greatest common divisor of the elements of long array a.
gcd(long, long) - Static method in class org.plumelib.util.MathPlume
Returns the greatest common divisor of the two arguments.
gcdDifferences(double[]) - Static method in class org.plumelib.util.MathPlume
Returns the gcd (greatest common divisor) of the differences between the elements of double array a.
gcdDifferences(int[]) - Static method in class org.plumelib.util.MathPlume
Returns 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
Returns the gcd (greatest common divisor) of the differences between the elements of long array a.
gcPercentage() - Static method in class org.plumelib.util.SystemPlume
Calls `gcPercentage(60)`.
gcPercentage(int) - Static method in class org.plumelib.util.SystemPlume
Returns the fraction of time spent garbage collecting, in the past seconds seconds.
gcUsageMessage(double, int) - Static method in class org.plumelib.util.SystemPlume
If the fraction of time spent garbage collecting in the past seconds seconds is less than cpuThreshold, returns null.
get(Object) - Method in class org.plumelib.util.ArrayMap
 
get(Object) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
get(E) - Method in class org.plumelib.util.UniqueIdMap
Get the unique ID for the given object.
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.
getBooleanProperty(Properties, String) - Static method in class org.plumelib.util.UtilPlume
Determines whether a property has a string value that represents true: "true", "yes", or "1".
getBooleanProperty(Properties, String, boolean) - Static method in class org.plumelib.util.UtilPlume
Determines whether a property has a string value that represents true: "true", "yes", or "1".
getBooleanSystemProperty(String) - Static method in class org.plumelib.util.SystemPlume
Determines whether a system property has a string value that represents true: "true", "yes", or "1".
getBooleanSystemProperty(String, boolean) - Static method in class org.plumelib.util.SystemPlume
Determines whether a system property has a string value that represents true: "true", "yes", or "1".
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() - Method in exception org.plumelib.util.RegexUtil.CheckedPatternSyntaxException
Retrieves the description of the error.
getDescription(Pattern) - Method in class org.plumelib.util.EntryReader.Entry
Returns a substring of the entry body that matches the specified regular expression.
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
Returns the name of the file being written by this.
getFirst() - Method in class org.plumelib.util.CollectionsPlume.RemoveFirstAndLastIterator
Returns the first element of the iterator that was used to construct this.
getFromSet(Set<? extends Object>, Object) - Static method in class org.plumelib.util.CollectionsPlume
Returns the object in the given 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
Returns the last element of the iterator that was used to construct this.
getLineNumber() - Method in class org.plumelib.util.EntryReader
Returns 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.
getOrDefault(Object, V) - Method in class org.plumelib.util.ArrayMap
 
getOrDefault(Object, V) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
getPattern() - Method in exception org.plumelib.util.RegexUtil.CheckedPatternSyntaxException
Retrieves the erroneous regular-expression pattern.
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

hasDuplicates(boolean[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a contains duplicate elements.
hasDuplicates(byte[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a contains duplicate elements.
hasDuplicates(char[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a contains duplicate elements.
hasDuplicates(double[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a contains duplicate elements.
hasDuplicates(float[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a contains duplicate elements.
hasDuplicates(int[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a contains duplicate elements.
hasDuplicates(long[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a contains duplicate elements.
hasDuplicates(short[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a contains duplicate elements.
hasDuplicates(Object[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a contains duplicate elements.
hasDuplicates(String[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a contains duplicate elements.
hasDuplicates(List<T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns true iff the list does not contain duplicate elements, according to equals().
hash(double) - Static method in class org.plumelib.util.UtilPlume
Deprecated.
hash(double[]) - Static method in class org.plumelib.util.UtilPlume
Deprecated.
hash(double[], double[]) - Static method in class org.plumelib.util.UtilPlume
Returns a hash of the arguments.
hash(double, double) - Static method in class org.plumelib.util.UtilPlume
hash(double, double, double) - Static method in class org.plumelib.util.UtilPlume
hash(long) - Static method in class org.plumelib.util.UtilPlume
Deprecated.
hash(long[]) - Static method in class org.plumelib.util.UtilPlume
Deprecated.
hash(long[], long[]) - Static method in class org.plumelib.util.UtilPlume
Returns a hash of the arguments.
hash(long, long) - Static method in class org.plumelib.util.UtilPlume
hash(long, long, long) - Static method in class org.plumelib.util.UtilPlume
hash(String) - Static method in class org.plumelib.util.UtilPlume
Deprecated.
hash(String[]) - Static method in class org.plumelib.util.UtilPlume
Deprecated.
hash(String, String) - Static method in class org.plumelib.util.UtilPlume
hash(String, String, String) - Static method in class org.plumelib.util.UtilPlume
hashCode() - Method in class org.plumelib.util.DeterministicObject
hashCode() - Method in class org.plumelib.util.IPair
 
hashCode() - Method in class org.plumelib.util.MPair
 
hashCode() - Method in class org.plumelib.util.Pair
Deprecated.
 
hashCode() - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
hashCode() - Method in class org.plumelib.util.WeakIdentityPair
 
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
 
hasNoDuplicates(boolean[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a does not contain duplicate elements.
hasNoDuplicates(byte[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a does not contain duplicate elements.
hasNoDuplicates(char[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a does not contain duplicate elements.
hasNoDuplicates(double[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a does not contain duplicate elements.
hasNoDuplicates(float[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a does not contain duplicate elements.
hasNoDuplicates(int[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a does not contain duplicate elements.
hasNoDuplicates(long[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a does not contain duplicate elements.
hasNoDuplicates(short[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a does not contain duplicate elements.
hasNoDuplicates(Object[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a does not contain duplicate elements.
hasNoDuplicates(String[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true iff a does not contain duplicate elements.
hasNoDuplicates(List<T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns true iff the list does not contain duplicate elements, according to equals().

I

IdentityArraySet<E extends @UnknownSignedness Object> - Class in org.plumelib.util
A set backed by an array.
IdentityArraySet() - Constructor for class org.plumelib.util.IdentityArraySet
Constructs an empty IdentityArraySet with the default initial capacity.
IdentityArraySet(int) - Constructor for class org.plumelib.util.IdentityArraySet
Constructs an empty IdentityArraySet with the specified initial capacity.
IdentityArraySet(Collection<? extends E>) - Constructor for class org.plumelib.util.IdentityArraySet
Constructs a new IdentityArraySet with the same elements as the given collection.
IdentityMostlySingletonSet<T> - Class in org.plumelib.util
An arbitrary-size set that is very efficient (more efficient than HashSet) for 0 and 1 elements.
IdentityMostlySingletonSet() - Constructor for class org.plumelib.util.IdentityMostlySingletonSet
Create an IdentityMostlySingletonSet.
IdentityMostlySingletonSet(T) - Constructor for class org.plumelib.util.IdentityMostlySingletonSet
Create an IdentityMostlySingletonSet containing one value.
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.
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.StringsPlume
Returns the printed representation of a value, with each line indented by indent spaces.
indentLines(int, Object) - Static method in class org.plumelib.util.UtilPlume
indentLinesExceptFirst(int, Object) - Static method in class org.plumelib.util.StringsPlume
Returns the printed representation of a value, with each line (except the first) indented by indent spaces.
indentLinesExceptFirst(int, Object) - Static method in class org.plumelib.util.UtilPlume
indexOf(int[], int) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the array.
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(int[], int, int, int) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the array, within the given boundaries.
indexOf(long[], long) - 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 subsequence of the array that matches the given array elementwise.
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, within the given boundaries.
indexOf(boolean[], boolean) - 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 subsequence of the array that matches the given array elementwise.
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, within the given boundaries.
indexOf(double[], double) - Static method in class org.plumelib.util.ArraysPlume
Searches for the first occurrence of the given element in the array.
indexOf(double[], double) - Method in class org.plumelib.util.FuzzyFloat
Searches for the first occurrence of elt in a.
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(double[], double[]) - Method in class org.plumelib.util.FuzzyFloat
Searches for the first subsequence of a that matches sub elementwise.
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(Object[], List<? extends Object>) - 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(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, within the given boundaries, testing for equality using the equals method.
indexOf(List<?>, Object, int) - Static method in class org.plumelib.util.CollectionsPlume
Returns the first index of the given value in the list, starting at the given index.
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, within the given boundaries, testing for equality using the equals method.
indexOf(List<? extends Object>, 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(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<T>, List<T>) - 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.
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, within the given boundaries, 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(Object[], List<T>) - 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<? 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, within the given boundaries, testing for equality using == (not the equals method).
indexOfEq(List<T>, 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(List<T>, List<T>) - 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(File) - Static method in class org.plumelib.util.FilesPlume
Tries to infer the line separator used in a file.
inferLineSeparator(File) - Static method in class org.plumelib.util.UtilPlume
inferLineSeparator(String) - Static method in class org.plumelib.util.FilesPlume
Tries to infer the line separator used in a file.
inferLineSeparator(String) - Static method in class org.plumelib.util.UtilPlume
instance - Static variable in class org.plumelib.util.ToStringComparator
The unique instance (this class is a singleton).
IntArrayComparatorLengthFirst() - Constructor for class org.plumelib.util.ArraysPlume.IntArrayComparatorLengthFirst
IntArrayComparatorLexical() - Constructor for class org.plumelib.util.ArraysPlume.IntArrayComparatorLexical
intern(double) - Static method in class org.plumelib.util.Intern
Interns a double A no-op.
intern(double[]) - Static method in class org.plumelib.util.Intern
Intern (canonicalize) a double[].
intern(int[]) - Static method in class org.plumelib.util.Intern
Intern (canonicalize) an int[].
intern(long) - Static method in class org.plumelib.util.Intern
Interns a long.
intern(long[]) - Static method in class org.plumelib.util.Intern
Intern (canonicalize) a long[].
intern(Object[]) - Static method in class org.plumelib.util.Intern
Intern (canonicalize) an Object[].
intern(String[]) - Static method in class org.plumelib.util.Intern
Intern (canonicalize) a String[].
intern(String) - Static method in class org.plumelib.util.Intern
Interns a String.
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.
intern(Double) - Static method in class org.plumelib.util.Intern
Intern (canonicalize) a Double.
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 - Class in org.plumelib.util
Utilities for interning objects.
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(double[], int, int) - Static method in class org.plumelib.util.Intern
Returns a subsequence of seq from start to end that is interned.
internSubsequence(int[], int, int) - Static method in class org.plumelib.util.Intern
Returns 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(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.CollectionsPlume
Returns the cardinality of the intersection of the two BitSets.
intersectionCardinality(BitSet, BitSet) - Static method in class org.plumelib.util.UtilPlume
Deprecated.
use CollectionsPlume.intersectionCardinality
intersectionCardinality(BitSet, BitSet, BitSet) - Static method in class org.plumelib.util.CollectionsPlume
Returns the cardinality of the intersection of the three BitSets.
intersectionCardinality(BitSet, BitSet, BitSet) - Static method in class org.plumelib.util.UtilPlume
Deprecated.
use CollectionsPlume.intersectionCardinality
intersectionCardinalityAtLeast(BitSet, BitSet, int) - Static method in class org.plumelib.util.CollectionsPlume
Returns true if the cardinality of the intersection of the two BitSets is at least the given value.
intersectionCardinalityAtLeast(BitSet, BitSet, int) - Static method in class org.plumelib.util.UtilPlume
Deprecated.
use CollectionsPlume.intersectionCardinalityAtLeast
intersectionCardinalityAtLeast(BitSet, BitSet, BitSet, int) - Static method in class org.plumelib.util.CollectionsPlume
Returns true if the cardinality of the intersection of the three BitSets is at least the given value.
intersectionCardinalityAtLeast(BitSet, BitSet, BitSet, int) - Static method in class org.plumelib.util.UtilPlume
Deprecated.
use CollectionsPlume.intersectionCardinalityAtLeast
IPair<V1,V2> - Class in org.plumelib.util
Immutable pair class.
isBlank(String) - Static method in class org.plumelib.util.StringsPlume
Returns true if the string contains only white space codepoints, otherwise false.
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.AbstractMostlySingletonSet
 
isEmpty() - Method in class org.plumelib.util.ArrayMap
 
isEmpty() - Method in class org.plumelib.util.ArraySet
 
isEmpty() - Method in class org.plumelib.util.IdentityArraySet
 
isEmpty() - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
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
Returns true if the argument is interned (is canonical among all objects equal to itself).
isRegex(char) - Static method in class org.plumelib.util.RegexUtil
Returns true if the argument is a syntactically valid regular expression.
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.
isSorted(List<T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns true if the given list is sorted.
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.
isSortedNoDuplicates(List<T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns true if the given list is sorted and has no duplicates
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(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.
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(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<? extends 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<? extends 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(List<T>, List<T>, 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.
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<T>, 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<T>, 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<T>, List<T>, 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).
isSubsequenceMaybeNonContiguous(Iterable<T>, Iterable<T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns true if the second list is a subsequence (not necessarily contiguous) of the first.
isSubset(long[], long[]) - Static method in class org.plumelib.util.ArraysPlume
Returns whether smaller is a subset of bigger.
isSubset(double[], double[]) - Static method in class org.plumelib.util.ArraysPlume
Returns 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.
isSubset(String[], String[]) - Static method in class org.plumelib.util.ArraysPlume
Returns whether smaller is a subset of bigger.
isWhitespaceOnly(InputStream, int) - Static method in class org.plumelib.util.FilesPlume
Returns true if the first readLimit bytes of the input stream consist only of whitespace.
it - Static variable in class org.plumelib.util.ArraysPlume.DoubleArrayComparatorLexical
The canonical DoubleArrayComparatorLexical.
it - Static variable in class org.plumelib.util.ArraysPlume.IntArrayComparatorLengthFirst
The canonical IntArrayComparatorLengthFirst.
it - Static variable in class org.plumelib.util.ArraysPlume.IntArrayComparatorLexical
The canonical IntArrayComparatorLexical.
it - Static variable in class org.plumelib.util.ArraysPlume.LongArrayComparatorLengthFirst
The canonical LongArrayComparatorLengthFirst.
it - Static variable in class org.plumelib.util.ArraysPlume.LongArrayComparatorLexical
The canonical LongArrayComparatorLexical.
it - Static variable in class org.plumelib.util.ArraysPlume.ObjectArrayComparatorLengthFirst
The canonical ObjectArrayComparatorLengthFirst.
it - Static variable in class org.plumelib.util.ArraysPlume.ObjectArrayComparatorLexical
The canonical ObjectArrayComparatorLexical.
it - Static variable in class org.plumelib.util.ArraysPlume.StringArrayComparatorLexical
The canonical StringArrayComparatorLexical.
it - Static variable in class org.plumelib.util.StringsPlume.ObjectComparator
The canonical ObjectComparator.
iterator() - Method in class org.plumelib.util.AbstractMostlySingletonSet
 
iterator() - Method in class org.plumelib.util.ArraySet
 
iterator() - Method in class org.plumelib.util.EntryReader
Returns a line-by-line iterator for this file.
iterator() - Method in class org.plumelib.util.IdentityArraySet
 
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.FilesPlume
Returns a string version of the filename that can be used in Java source.
javaSource(File) - Static method in class org.plumelib.util.UtilPlume
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, Iterable<? extends Object>) - Static method in class org.plumelib.util.StringsPlume
Concatenate the string representations of the objects, placing the delimiter between them.
join(CharSequence, T...) - Static method in class org.plumelib.util.StringsPlume
Concatenate the string representations of the array elements, placing the delimiter between them.
join(CharSequence, T...) - Static method in class org.plumelib.util.UtilPlume
join(CharSequence, Iterable<? extends Object>) - Static method in class org.plumelib.util.UtilPlume
join(Iterable<? extends Object>, CharSequence) - Static method in class org.plumelib.util.UtilPlume
Deprecated.
use UtilPlume.join(CharSequence, Iterable) which has the arguments in the other order
joinLines(Iterable<? extends Object>) - Static method in class org.plumelib.util.StringsPlume
Concatenate the string representations of the objects, placing the system-specific line separator between them.
joinLines(T...) - Static method in class org.plumelib.util.StringsPlume
Concatenate the string representations of the objects, placing the system-specific line separator between them.
joinLines(T...) - Static method in class org.plumelib.util.UtilPlume
joinLines(Iterable<? extends Object>) - Static method in class org.plumelib.util.UtilPlume

K

keySet() - Method in class org.plumelib.util.ArrayMap
 
keySet() - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 

L

length(Object) - Static method in class org.plumelib.util.ArraysPlume
Returns the length of the argument array.
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.
LimitedSizeLongSet - Class in org.plumelib.util
LimitedSizeLongSet stores up to some maximum number of unique values.
LimitedSizeLongSet(int) - Constructor for class org.plumelib.util.LimitedSizeLongSet
Create a new LimitedSizeLongSet that can hold maxValues values.
LimitedSizeSet<T extends @Nullable Object> - 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(File) - Static method in class org.plumelib.util.UtilPlume
lineNumberFileReader(String) - Static method in class org.plumelib.util.UtilPlume
listFilter(Iterable<T>, Predicate<? super T>) - Static method in class org.plumelib.util.CollectionsPlume
listIntersection(Collection<T>, Collection<T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns a new list that is the intersection of the given collections.
listOf(E, E) - Static method in class org.plumelib.util.CollectionsPlume
Creates an immutable list containing two elements.
listToString(List<? extends Object>) - Static method in class org.plumelib.util.StringsPlume
For use by toStringAndClass.
listToStringAndClass(List<? extends Object>) - Static method in class org.plumelib.util.StringsPlume
Gives a string representation of the value and its class.
listUnion(Collection<T>, Collection<T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns a new list that is the union of the given collections.
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.StringsPlume
Returns a string of the specified length, truncated if necessary (in which case the last 3 non-truncated characters are replaced by "..."), and padded with spaces to the left if necessary.
lpad(String, int) - Static method in class org.plumelib.util.UtilPlume
lpad(String, int, char) - Static method in class org.plumelib.util.StringsPlume
Returns a string of the specified length, truncated if necessary (in which case the last 3 non-truncated characters are replaced by "..."), and padded with `c` to the left if necessary.
lpad(String, int, char, boolean) - Static method in class org.plumelib.util.StringsPlume
Returns a string of the specified length, truncated if necessary (in which case the last 3 non-truncated characters are replaced by "..."), 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.
mapCapacity(int) - Static method in class org.plumelib.util.CollectionsPlume
Given an expected number of elements, returns the capacity that should be passed to a HashMap or HashSet constructor, so that the set or map will not resize.
mapCapacity(Collection<?>) - Static method in class org.plumelib.util.CollectionsPlume
Given a collection, returns the capacity that should be passed to a HashMap or HashSet constructor, so that the set or map will not resize.
mapCapacity(Map<?, ?>) - Static method in class org.plumelib.util.CollectionsPlume
Given a map, returns the capacity that should be passed to a HashMap or HashSet constructor, so that the set or map will not resize.
mapCapacity(T[]) - Static method in class org.plumelib.util.CollectionsPlume
Given an array, returns the capacity that should be passed to a HashMap or HashSet constructor, so that the set or map will not resize.
mapList(Function<? super FROM, ? extends TO>, FROM[]) - Static method in class org.plumelib.util.CollectionsPlume
Applies the function to each element of the given array, producing a list of the results.
mapList(Function<? super FROM, ? extends TO>, Iterable<FROM>) - Static method in class org.plumelib.util.CollectionsPlume
Applies the function to each element of the given iterable, producing a new list of the results.
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).
mapToString(Map<K, V>) - Static method in class org.plumelib.util.CollectionsPlume
Returns a multi-line string representation of a map.
mapToStringAndClass(Map<? extends Object, ? extends Object>) - Static method in class org.plumelib.util.StringsPlume
Convert a map to a string, printing the runtime class of keys and values.
mapToStringAndClass(Map<? extends Object, ? extends Object>) - Static method in class org.plumelib.util.UtilPlume
mark(int) - Method in class org.plumelib.util.EntryReader
 
matchesNoRegex(Collection<String>, Collection<String>) - Static method in class org.plumelib.util.RegexUtil
Return the strings that are matched by no regex.
matchesSomeRegex(Collection<String>, Collection<String>) - Static method in class org.plumelib.util.RegexUtil
Return the strings such that any one of the regexes matches it.
MathPlume - Class in org.plumelib.util
Mathematical utilities.
max(double[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the largest value in the array.
max(int[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the largest value in the array.
max(long[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the largest value in the array.
max(Double[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the largest value in the array.
max(Integer[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the largest value in the array.
max(Long[]) - Static method in class org.plumelib.util.ArraysPlume
Returns 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.LimitedSizeLongSet
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<LimitedSizeLongSet>) - Static method in class org.plumelib.util.LimitedSizeLongSet
Merges a list of LimitedSizeLongSet 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.
merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in class org.plumelib.util.ArrayMap
 
merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
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.
min(double[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the smallest value in the array.
min(int[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the smallest value in the array.
min(long[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the smallest value in the array.
min(Double[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the smallest value in the array.
min(Integer[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the smallest value in the array.
min(Long[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the smallest value in the array.
minAndMax(int[]) - Static method in class org.plumelib.util.ArraysPlume
Returns a two-element array containing the smallest and largest values in the array.
minAndMax(long[]) - Static method in class org.plumelib.util.ArraysPlume
Returns a two-element array containing the smallest and largest values in the array.
missingNumbers(int[]) - Static method in class org.plumelib.util.MathPlume
Returns 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
Returns 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
Returns z such that (z == x mod y) && (0 <= z < abs(y)).
modNonnegative(long, long) - Static method in class org.plumelib.util.MathPlume
Returns 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
Returns 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
Returns 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
Returns 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
Returns 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.
MostlySingletonSet<T> - Class in org.plumelib.util
A set that is more efficient than HashSet for 0 and 1 elements.
MostlySingletonSet() - Constructor for class org.plumelib.util.MostlySingletonSet
Create a MostlySingletonSet.
MostlySingletonSet(T) - Constructor for class org.plumelib.util.MostlySingletonSet
Create a MostlySingletonSet containing one value.
MPair<V1,V2> - Class in org.plumelib.util
Mutable pair class.
mul(double, double) - Static method in class org.plumelib.util.MathPlume
Multiplies its arguments.
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.
MultiRandSelector<T extends @Nullable Object> - 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(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.
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(int, Partitioner<T, T>) - Constructor for class org.plumelib.util.MultiRandSelector
Create a MultiRandSelector that chooses numElts elements from each bucket.

N

nCopies(int, T) - Static method in class org.plumelib.util.ArraysPlume
Returns an array consisting of n copies of the specified object.
ne(double, double) - Method in class org.plumelib.util.FuzzyFloat
Test d1 and d2 for non-equality using the current ratio.
negate(double) - Static method in class org.plumelib.util.MathPlume
Negates its argument.
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.
newArrayMapOrHashMap(int) - Static method in class org.plumelib.util.ArrayMap
Returns a new ArrayMap or HashMap with the given capacity.
newArrayMapOrHashMap(Map<K, V>) - Static method in class org.plumelib.util.ArrayMap
Returns a new ArrayMap or HashMap with the given elements.
newArrayMapOrLinkedHashMap(int) - Static method in class org.plumelib.util.ArrayMap
Returns a new ArrayMap or LinkedHashMap with the given capacity.
newArrayMapOrLinkedHashMap(Map<K, V>) - Static method in class org.plumelib.util.ArrayMap
Returns a new ArrayMap or LinkedHashMap with the given elements.
newArraySetOrHashSet(int) - Static method in class org.plumelib.util.ArraySet
Returns a new ArraySet or HashSet with the given capacity.
newArraySetOrHashSet(Collection<E>) - Static method in class org.plumelib.util.ArraySet
Returns a new ArraySet or HashSet with the given elements.
newArraySetOrLinkedHashSet(int) - Static method in class org.plumelib.util.ArraySet
Returns a new ArraySet or LinkedHashSet with the given capacity.
newArraySetOrLinkedHashSet(Collection<E>) - Static method in class org.plumelib.util.ArraySet
Returns a new ArraySet or LinkedHashSet with the given elements.
newBufferedFileOutputStream(String, boolean) - Static method in class org.plumelib.util.FilesPlume
Returns a BufferedOutputStream for the file, accounting for the possibility that the file is compressed.
newBufferedFileReader(File) - Static method in class org.plumelib.util.FilesPlume
Returns a BufferedReader for the file, accounting for the possibility that the file is compressed.
newBufferedFileReader(File, String) - Static method in class org.plumelib.util.FilesPlume
Returns a BufferedReader for the file, accounting for the possibility that the file is compressed.
newBufferedFileReader(String) - Static method in class org.plumelib.util.FilesPlume
Returns a BufferedReader for the file, accounting for the possibility that the file is compressed.
newBufferedFileReader(String, String) - Static method in class org.plumelib.util.FilesPlume
Returns a BufferedReader for the file, accounting for the possibility that the file is compressed.
newBufferedFileWriter(String) - Static method in class org.plumelib.util.FilesPlume
Returns a BufferedWriter for the file, accounting for the possibility that the file is compressed.
newBufferedFileWriter(String, boolean) - Static method in class org.plumelib.util.FilesPlume
Returns a BufferedWriter for the file, accounting for the possibility that the file is compressed.
newFileInputStream(File) - Static method in class org.plumelib.util.FilesPlume
Returns an InputStream for the file, accounting for the possibility that the file is compressed.
newFileInputStream(Path) - Static method in class org.plumelib.util.FilesPlume
Returns an InputStream for the file, accounting for the possibility that the file is compressed.
newFileOutputStream(File) - Static method in class org.plumelib.util.FilesPlume
Returns an OutputStream for the file, accounting for the possibility that the file is compressed.
newFileOutputStream(Path) - Static method in class org.plumelib.util.FilesPlume
Returns an OutputStream for the file, accounting for the possibility that the file is compressed.
newFileOutputStream(Path, boolean) - Static method in class org.plumelib.util.FilesPlume
Returns an OutputStream for the file, accounting for the possibility that the file is compressed.
newFileReader(File) - Static method in class org.plumelib.util.FilesPlume
Returns a Reader for the file, accounting for the possibility that the file is compressed.
newFileReader(File, String) - Static method in class org.plumelib.util.FilesPlume
Returns a Reader for the file, accounting for the possibility that the file is compressed.
newFileReader(String) - Static method in class org.plumelib.util.FilesPlume
Returns a Reader for the file, accounting for the possibility that the file is compressed.
newFileReader(Path) - Static method in class org.plumelib.util.FilesPlume
Returns a Reader for the file, accounting for the possibility that the file is compressed.
newFileReader(Path, String) - Static method in class org.plumelib.util.FilesPlume
Returns a Reader for the file, accounting for the possibility that the file is compressed.
newFileWriter(File) - Static method in class org.plumelib.util.FilesPlume
Returns a Writer for the file, accounting for the possibility that the file is compressed.
newFileWriter(File, String) - Static method in class org.plumelib.util.FilesPlume
Returns a Writer for the file, accounting for the possibility that the file is compressed.
newFileWriter(String) - Static method in class org.plumelib.util.FilesPlume
Returns a Writer for the file, accounting for the possibility that the file is compressed.
newFileWriter(Path) - Static method in class org.plumelib.util.FilesPlume
Returns a Writer for the file, accounting for the possibility that the file is compressed.
newFileWriter(Path, String) - Static method in class org.plumelib.util.FilesPlume
Returns a Writer for the file, accounting for the possibility that the file is compressed.
newLineNumberFileReader(File) - Static method in class org.plumelib.util.FilesPlume
Returns a LineNumberReader for the file, accounting for the possibility that the file is compressed.
newLineNumberFileReader(String) - Static method in class org.plumelib.util.FilesPlume
Returns a LineNumberReader for the file, accounting for the possibility that the file is compressed.
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
Returns the next line in the multi-file.
next() - Method in class org.plumelib.util.OrderedPairIterator
 
nextElement() - Method in class org.plumelib.util.CollectionsPlume.IteratorEnumeration
 
noDuplicates(boolean[]) - Static method in class org.plumelib.util.ArraysPlume
Deprecated.
use hasNoDuplicates
noDuplicates(byte[]) - Static method in class org.plumelib.util.ArraysPlume
Deprecated.
use hasNoDuplicates
noDuplicates(char[]) - Static method in class org.plumelib.util.ArraysPlume
Deprecated.
use hasNoDuplicates
noDuplicates(double[]) - Static method in class org.plumelib.util.ArraysPlume
Deprecated.
use hasNoDuplicates
noDuplicates(float[]) - Static method in class org.plumelib.util.ArraysPlume
Deprecated.
use hasNoDuplicates
noDuplicates(int[]) - Static method in class org.plumelib.util.ArraysPlume
Deprecated.
use hasNoDuplicates
noDuplicates(long[]) - Static method in class org.plumelib.util.ArraysPlume
Deprecated.
use hasNoDuplicates
noDuplicates(short[]) - Static method in class org.plumelib.util.ArraysPlume
Deprecated.
use hasNoDuplicates
noDuplicates(Object[]) - Static method in class org.plumelib.util.ArraysPlume
Deprecated.
use hasNoDuplicates
noDuplicates(String[]) - Static method in class org.plumelib.util.ArraysPlume
Deprecated.
use hasNoDuplicates
noDuplicates(List<T>) - Static method in class org.plumelib.util.ArraysPlume
noDuplicates(List<T>) - Static method in class org.plumelib.util.CollectionsPlume
noneMatch(Iterable<T>, Predicate<? super T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns true if no element of the collection matches the predicate.
nonmodulusNonstrict(int[]) - Static method in class org.plumelib.util.MathPlume
Returns 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
Returns 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
Returns 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
Returns 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
Returns 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
Returns a tuple of (r,m) where no number in NUMS is equal to r (mod m) but all missing numbers in their range are.
noStringMatchesAnyRegex(Collection<String>, Collection<String>) - Static method in class org.plumelib.util.RegexUtil
Return true if no string is matched by any regex.
nplural(int, String) - Static method in class org.plumelib.util.StringsPlume
Returns either "n noun" or "n nouns" depending on n.
nplural(int, String) - Static method in class org.plumelib.util.UtilPlume
NullableStringComparator() - Constructor for class org.plumelib.util.StringsPlume.NullableStringComparator
Deprecated.
Create a new NullableStringComparator.
NullableStringComparator() - Constructor for class org.plumelib.util.UtilPlume.NullableStringComparator
Deprecated.
Create a new 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.StringsPlume.ObjectComparator
ObjectComparator() - Constructor for class org.plumelib.util.UtilPlume.ObjectComparator
Deprecated.
Create a new ObjectComparator.
of(int, int, Collection<T>) - Static method in class org.plumelib.util.CollectionsPlume.Replacement
Creates a new Replacement.
of(A, B) - Static method in class org.plumelib.util.Pair
Deprecated.
Factory method with short name and no need to name type parameters.
of(T1, T2) - Static method in class org.plumelib.util.IPair
Creates a new immutable pair.
of(T1, T2) - Static method in class org.plumelib.util.MPair
Creates a new mutable pair.
of(T1, T2) - Static method in class org.plumelib.util.WeakIdentityPair
Creates a new weakly-held immutable pair.
OrderedPairIterator<T extends @Nullable Object> - 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 extends @Nullable Object,T2 extends @Nullable Object> - Class in org.plumelib.util
Deprecated.
use MPair instead, or IPair for an immutable pair
Pair(T1, T2) - Constructor for class org.plumelib.util.Pair
Deprecated.
Make a new pair.
partialFnCompose(int[], int[]) - Static method in class org.plumelib.util.ArraysPlume
Returns the composition of the given two (possibly partial) functions, all of which are represented as arrays.
Partitioner<ELEMENT extends @Nullable Object,CLASS extends @Nullable Object> - 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.StringsPlume
Returns the printed represenation of a value, with each line prefixed by another string.
prefixLines(String, Object) - Static method in class org.plumelib.util.UtilPlume
prefixLinesExceptFirst(String, Object) - Static method in class org.plumelib.util.StringsPlume
Returns the printed represenation of a value, with each line (except the first) prefixed by another string.
prefixLinesExceptFirst(String, Object) - Static method in class org.plumelib.util.UtilPlume
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
put(K, V) - Method in class org.plumelib.util.ArrayMap
 
put(K, V) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
putAll(Map<? extends K, ? extends V>) - Method in class org.plumelib.util.ArrayMap
 
putAll(Map<? extends K, ? extends V>) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
putback(String) - Method in class org.plumelib.util.EntryReader
Puts the specified line back in the input.
putIfAbsent(K, V) - Method in class org.plumelib.util.ArrayMap
 
putIfAbsent(K, V) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 

R

randomElements(Iterator<T>, int) - Static method in class org.plumelib.util.CollectionsPlume
Returns 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
Returns 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(double, Random) - Constructor for class org.plumelib.util.RandomSelector
Creates a new RandomSelector.
RandomSelector(int) - Constructor for class org.plumelib.util.RandomSelector
Creates a new RandomSelector.
RandomSelector(int, Random) - Constructor for class org.plumelib.util.RandomSelector
Creates a new RandomSelector.
read() - Method in class org.plumelib.util.EntryReader
 
read(char[], int, int) - Method in class org.plumelib.util.EntryReader
 
readCodePoint(InputStream) - Static method in class org.plumelib.util.FilesPlume
Reads a Unicode code point from an input stream.
readerContents(Reader) - Static method in class org.plumelib.util.FilesPlume
Reads the entire contents of the reader and returns it as a string.
readerContents(Reader) - Static method in class org.plumelib.util.UtilPlume
readFile(File) - Static method in class org.plumelib.util.FilesPlume
readFile(File) - Static method in class org.plumelib.util.UtilPlume
readLine() - Method in class org.plumelib.util.EntryReader
Read a line, ignoring comments and processing includes.
readLinesRetainingSeparators(Path) - Static method in class org.plumelib.util.FilesPlume
Read the entire contents of the file and return it as a list of lines.
readObject(File) - Static method in class org.plumelib.util.FilesPlume
Reads an Object from a File.
readObject(File) - Static method in class org.plumelib.util.UtilPlume
readString(Path) - Static method in class org.plumelib.util.FilesPlume
Reads the entire contents of the file and returns it as a string.
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.ArrayMap
 
remove(Object) - Method in class org.plumelib.util.ArraySet
 
remove(Object) - Method in class org.plumelib.util.IdentityArraySet
 
remove(Object) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
remove(Object, Object) - Method in class org.plumelib.util.ArrayMap
 
remove(Object, Object) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
remove(Object) - Method in class org.plumelib.util.AbstractMostlySingletonSet
 
removeAll(Collection<?>) - Method in class org.plumelib.util.AbstractMostlySingletonSet
 
removeAll(Collection<?>) - Method in class org.plumelib.util.ArraySet
 
removeAll(Collection<?>) - Method in class org.plumelib.util.IdentityArraySet
 
removeDuplicates(List<T>) - Static method in class org.plumelib.util.CollectionsPlume
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.StringsPlume
Remove all whitespace after instances of delimiter.
removeWhitespaceAfter(String, String) - Static method in class org.plumelib.util.UtilPlume
removeWhitespaceAround(String, String) - Static method in class org.plumelib.util.StringsPlume
Remove all whitespace before or after instances of delimiter.
removeWhitespaceAround(String, String) - Static method in class org.plumelib.util.UtilPlume
removeWhitespaceBefore(String, String) - Static method in class org.plumelib.util.StringsPlume
Remove all whitespace before instances of delimiter.
removeWhitespaceBefore(String, String) - Static method in class org.plumelib.util.UtilPlume
replace(Iterable<T>, Iterable<CollectionsPlume.Replacement<T>>) - Static method in class org.plumelib.util.CollectionsPlume
Performs a set of replacements on the given collection, returning the transformed result (as a list).
replace(K, V) - Method in class org.plumelib.util.ArrayMap
 
replace(K, V) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
replace(K, V, V) - Method in class org.plumelib.util.ArrayMap
 
replace(K, V, V) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
replace(T[], Collection<CollectionsPlume.Replacement<T>>) - Static method in class org.plumelib.util.CollectionsPlume
Performs a set of replacements on the given array, returning the transformed result (as a list).
replaceAll(String, Pattern, String) - Static method in class org.plumelib.util.StringsPlume
Replaces every (non-overlapping) match for a regexp.
replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class org.plumelib.util.ArrayMap
 
replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
replacePrefix(String, String, String) - Static method in class org.plumelib.util.StringsPlume
Returns the target with an occurrence of oldStr at the start replaced by newStr.
replacePrefix(String, String, String) - Static method in class org.plumelib.util.UtilPlume
replaceString(String, String, String) - Static method in class org.plumelib.util.UtilPlume
replaceSuffix(String, String, String) - Static method in class org.plumelib.util.StringsPlume
Returns the target with an occurrence of oldStr at the end replaced by newStr.
replaceSuffix(String, String, String) - Static method in class org.plumelib.util.UtilPlume
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.LimitedSizeLongSet
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
 
retainAll(Collection<?>) - Method in class org.plumelib.util.AbstractMostlySingletonSet
 
rpad(double, int) - Static method in class org.plumelib.util.StringsPlume
Converts the double to a String, then formats it using StringsPlume.rpad(String,int).
rpad(double, int) - Static method in class org.plumelib.util.UtilPlume
rpad(int, int) - Static method in class org.plumelib.util.StringsPlume
Converts the int to a String, then formats it using StringsPlume.rpad(String,int).
rpad(int, int) - Static method in class org.plumelib.util.UtilPlume
rpad(String, int) - Static method in class org.plumelib.util.StringsPlume
Returns a string of the specified length, truncated if necessary (in which case the last 3 non-truncated characters are replaced by "..."), and padded with spaces to the right if necessary.
rpad(String, int) - Static method in class org.plumelib.util.UtilPlume
rpad(String, int, char) - Static method in class org.plumelib.util.StringsPlume
Returns a string of the specified length, truncated if necessary (in which case the last 3 non-truncated characters are replaced by "..."), and padded with the given character to the right if necessary.
rpad(String, int, char, boolean) - Static method in class org.plumelib.util.StringsPlume
Returns a string of the specified length, truncated if necessary (in which case the last 3 non-truncated characters are replaced by "..."), and padded with the given character to the right if necessary.
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

sameContents(T[], T[]) - Static method in class org.plumelib.util.ArraysPlume
Returns true if the arrays contain the same contents, treated as a set (order and duplicates do not matter).
second - Variable in class org.plumelib.util.IPair
The second element of the pair.
second - Variable in class org.plumelib.util.MPair
The second element of the pair.
set - Variable in class org.plumelib.util.AbstractMostlySingletonSet
The wrapped set, non-null when the state is ANY.
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()).
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.
SINGLETON - Enum constant in enum org.plumelib.util.AbstractMostlySingletonSet.State
A singleton set.
size() - Method in class org.plumelib.util.AbstractMostlySingletonSet
 
size() - Method in class org.plumelib.util.ArrayMap
 
size() - Method in class org.plumelib.util.ArraySet
 
size() - Method in class org.plumelib.util.IdentityArraySet
 
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.LimitedSizeLongSet
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.UnmodifiableIdentityHashMap
 
skip(long) - Method in class org.plumelib.util.EntryReader
 
sleep(long) - Static method in class org.plumelib.util.SystemPlume
Like Thread.sleep, but does not throw any checked exceptions, so it is easier for clients to use.
sleep(long) - Static method in class org.plumelib.util.UtilPlume
Deprecated.
sort() - Method in class org.plumelib.util.ArraySet
Sorts the internal representation of this.
sort(Comparator<? super E>) - Method in class org.plumelib.util.ArraySet
Sorts the internal representation of this, using the given comparator.
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.
sorted(Iterable<T>) - Static method in class org.plumelib.util.ToStringComparator
Returns a copy of the input, sorted according to the elements' toString().
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().
sortedSetContainsAll(SortedSet<T>, SortedSet<T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns true if the two sets contain the same elements in the same order.
sortedSetEquals(SortedSet<T>, SortedSet<T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns true if the two sets contain the same elements in the same order.
sortList(List<T>, Comparator<? super T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns the sorted version of the list.
split(String, char) - Static method in class org.plumelib.util.UtilPlume
split(String, String) - Static method in class org.plumelib.util.UtilPlume
splitLines(String) - Static method in class org.plumelib.util.StringsPlume
Returns an array of Strings, one for each line in the argument.
splitLines(String) - Static method in class org.plumelib.util.UtilPlume
splitLinesRetainSeparators(String) - Static method in class org.plumelib.util.StringsPlume
Splits a String into lines, keeping the line separator at the end of each substring.
splitRetainSeparators(String, String) - Static method in class org.plumelib.util.StringsPlume
Splits a String according to a regex, keeping the separator at the end of each substring.
splitRetainSeparators(String, Pattern) - Static method in class org.plumelib.util.StringsPlume
Splits a String according to a pattern, keeping the separator at the end of each substring.
stackTraceToString(Throwable) - Static method in class org.plumelib.util.UtilPlume
Returns a String representation of the stack trace (the backtrace) of the given Throwable.
start - Variable in class org.plumelib.util.CollectionsPlume.Replacement
The first line to replace, inclusive.
state - Variable in class org.plumelib.util.AbstractMostlySingletonSet
The current state.
streamCopy(InputStream, OutputStream) - Static method in class org.plumelib.util.FilesPlume
Copy the contents of the input stream to the output stream.
streamCopy(InputStream, OutputStream) - Static method in class org.plumelib.util.UtilPlume
streamLines(InputStream) - Static method in class org.plumelib.util.FilesPlume
Reads all lines from the stream and returns them in a List<String>.
streamLines(InputStream) - Static method in class org.plumelib.util.UtilPlume
streamString(InputStream) - Static method in class org.plumelib.util.FilesPlume
Returns a String containing all the characters from the input stream.
streamString(InputStream) - Static method in class org.plumelib.util.UtilPlume
StringArrayComparatorLexical() - Constructor for class org.plumelib.util.ArraysPlume.StringArrayComparatorLexical
StringsPlume - Class in org.plumelib.util
Utility functions that manipulate Strings: replacement; prefixing and indentation; splitting and joining; quoting and escaping; whitespace; comparisons; StringTokenizer; debugging variants of toString; diagnostic output; miscellaneous.
StringsPlume.NullableStringComparator - Class in org.plumelib.util
Deprecated.
use Comparator.nullsFirst(Comparator.naturalOrder())
StringsPlume.ObjectComparator - Class in org.plumelib.util
Orders Objects according to their toString() representation.
subarray(boolean[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Returns a subarray of the given array.
subarray(byte[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Returns a subarray of the given array.
subarray(char[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Returns a subarray of the given array.
subarray(double[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Returns a subarray of the given array.
subarray(float[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Returns a subarray of the given array.
subarray(int[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Returns a subarray of the given array.
subarray(long[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Returns a subarray of the given array.
subarray(short[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Returns a subarray of the given array.
subarray(Object[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Returns a subarray of the given array.
subarray(String[], int, int) - Static method in class org.plumelib.util.ArraysPlume
Returns a subarray of the given array.
subarray(List<T>, int, int) - Static method in class org.plumelib.util.ArraysPlume
Returns a sublist of the given list.
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.
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.
SystemPlume - Class in org.plumelib.util
Utility methods relating to the JVM runtime system: sleep and garbage collection.

T

toArray() - Method in class org.plumelib.util.AbstractMostlySingletonSet
 
toArray(S[]) - Method in class org.plumelib.util.AbstractMostlySingletonSet
 
tokens(String) - Static method in class org.plumelib.util.StringsPlume
Returns a ArrayList of the Strings returned by StringTokenizer(String) with the given arguments.
tokens(String) - Static method in class org.plumelib.util.UtilPlume
tokens(String, String) - Static method in class org.plumelib.util.StringsPlume
Returns a ArrayList of the Strings returned by StringTokenizer(String,String) with the given arguments.
tokens(String, String) - Static method in class org.plumelib.util.UtilPlume
tokens(String, String, boolean) - Static method in class org.plumelib.util.StringsPlume
Returns a ArrayList of the Strings returned by StringTokenizer(String,String,boolean) with the given arguments.
tokens(String, String, boolean) - Static method in class org.plumelib.util.UtilPlume
toString() - Method in class org.plumelib.util.AbstractMostlySingletonSet
 
toString() - Method in class org.plumelib.util.CollectionsPlume.Replacement
 
toString() - Method in class org.plumelib.util.FileWriterWithName
Returns the name of the file being written by this.
toString() - Method in class org.plumelib.util.IPair
 
toString() - Method in class org.plumelib.util.LimitedSizeIntSet
 
toString() - Method in class org.plumelib.util.LimitedSizeLongSet
 
toString() - Method in class org.plumelib.util.LimitedSizeSet
 
toString() - Method in class org.plumelib.util.MPair
 
toString() - Method in class org.plumelib.util.Pair
Deprecated.
 
toString() - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
toString() - Method in class org.plumelib.util.WeakIdentityPair
 
toString(Object) - Static method in class org.plumelib.util.ArraysPlume
Returns a string representation of the contents of the specified array.
toString(Collection<? extends Object>, boolean) - Static method in class org.plumelib.util.ArraysPlume
Returns a string representation of the collection.
toString(Collection<? extends Object>) - Static method in class org.plumelib.util.ArraysPlume
Returns a string representation of the collection.
toString(Object[]) - Static method in class org.plumelib.util.ArraysPlume
Returns a string representation of the array.
toString(Object[], boolean) - Static method in class org.plumelib.util.ArraysPlume
Returns a string representation of the array.
toStringAndClass(Object) - Static method in class org.plumelib.util.StringsPlume
Gives a string representation of the value and its class.
toStringAndClass(Object) - Static method in class org.plumelib.util.UtilPlume
toStringAndClass(Object, boolean) - Static method in class org.plumelib.util.StringsPlume
Gives a string representation of the value and its class.
ToStringComparator - Class in org.plumelib.util
A comparator that orders values based on the lexicographic ordering of their toString().
toStringQuoted(Collection<? extends Object>) - Static method in class org.plumelib.util.ArraysPlume
Returns a string representation of the collection.
toStringQuoted(Object[]) - Static method in class org.plumelib.util.ArraysPlume
Returns a string representation of the array.
toStringTruncated(Object, int) - Static method in class org.plumelib.util.StringsPlume
If the string representation of the given object is greater than the given length, truncate it to that length.
transform(Iterable<FROM>, Function<? super FROM, ? extends TO>) - Static method in class org.plumelib.util.CollectionsPlume
Applies the function to each element of the given iterable, producing a new list of the results.

U

unescapeJava(String) - Static method in class org.plumelib.util.StringsPlume
Convert a string from Java source code format (with escape sequences) into the string it would represent at run time.
unescapeJava(String) - Static method in class org.plumelib.util.UtilPlume
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
Create a new UniqueIdMap.
UnmodifiableIdentityHashMap<K,V> - Class in org.plumelib.util
A wrapper around an IdentityHashMap that makes it unmodifiable.
usedMemory() - Static method in class org.plumelib.util.SystemPlume
Returns the amount of used memory in the JVM.
usedMemory() - Static method in class org.plumelib.util.UtilPlume
Deprecated.
usedMemory(boolean) - Static method in class org.plumelib.util.SystemPlume
Returns the amount of used memory in the JVM.
usedMemory(boolean) - Static method in class org.plumelib.util.UtilPlume
UtilPlume - Class in org.plumelib.util
Utility methods that do not belong elsewhere in the plume package: BitSet; hashing; ProcessBuilder; properties; Throwable.
UtilPlume.NullableStringComparator - Class in org.plumelib.util
UtilPlume.ObjectComparator - Class in org.plumelib.util
UtilPlume.WildcardFilter - Class in org.plumelib.util
Deprecated.

V

value - Variable in class org.plumelib.util.AbstractMostlySingletonSet
The current value, non-null when the state is SINGLETON.
valueOf(String) - Static method in enum org.plumelib.util.AbstractMostlySingletonSet.State
Returns the enum constant of this type with the specified name.
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.LimitedSizeLongSet
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() - Static method in enum org.plumelib.util.AbstractMostlySingletonSet.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.plumelib.util.ArrayMap
 
values() - Method in class org.plumelib.util.UnmodifiableIdentityHashMap
 
valuesIter() - Method in class org.plumelib.util.MultiRandSelector
Returns an iterator of all objects selected.

W

WeakIdentityPair<V1 extends @NonNull Object,V2 extends @NonNull Object> - Class in org.plumelib.util
Immutable pair class with weakly-held values.
WeakIdentityPair(V1, V2) - Constructor for class org.plumelib.util.WeakIdentityPair
Deprecated.
WildcardFilter(String) - Constructor for class org.plumelib.util.FilesPlume.WildcardFilter
Create a filter that accepts files whose name matches the given wildcard.
WildcardFilter(String) - Constructor for class org.plumelib.util.UtilPlume.WildcardFilter
Deprecated.
Create a filter that accepts files whose name matches the given wildcard.
withoutDuplicates(List<T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns a copy of the list with duplicates (according to equals()) removed, but retaining the original order.
withoutDuplicatesComparable(List<T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns a list with the same contents as its argument, but without duplicates.
withoutDuplicatesSorted(List<T>) - Static method in class org.plumelib.util.CollectionsPlume
Returns a list with the same contents as its argument, but sorted and without duplicates (according to equals()).
wrap(IdentityHashMap<K, V>) - Static method in class org.plumelib.util.UnmodifiableIdentityHashMap
Create an UnmodifiableIdentityHashMap wrapper for a map.
writeFile(File, String) - Static method in class org.plumelib.util.FilesPlume
writeFile(File, String) - Static method in class org.plumelib.util.UtilPlume
writeObject(Object, File) - Static method in class org.plumelib.util.FilesPlume
Writes an Object to a File.
writeObject(Object, File) - Static method in class org.plumelib.util.UtilPlume
writeString(File, String) - Static method in class org.plumelib.util.FilesPlume
Creates a file with the given name and writes the specified string to it.
writeString(Path, String) - Static method in class org.plumelib.util.FilesPlume
Creates a file with the given name and writes the specified string to it.
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Serialized Form