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

A

AbstractConnectionSpec - Class in org.arp.javautil.sql
 
AbstractVersion - Class in org.arp.javautil.version
 
AbstractVersion(String) - Constructor for class org.arp.javautil.version.AbstractVersion
 
accept(ConnectionSpecVisitor) - Method in interface org.arp.javautil.sql.ConnectionSpec
Performs some processing on this connection spec.
accept(ConnectionSpecVisitor) - Method in class org.arp.javautil.sql.DataSourceConnectionSpec
 
accept(ConnectionSpecVisitor) - Method in class org.arp.javautil.sql.DriverManagerConnectionSpec
Performs some processing on this connection spec.
add(Object) - Method in class org.arp.javautil.graph.DirectedGraph
Adds a vertex.
add(Weight) - Method in class org.arp.javautil.graph.Weight
Creates a new weight with value equal to the sum of both weights.
addAll(Collection<E>, E[]...) - Static method in class org.arp.javautil.arrays.Arrays
Adds the contents of one or more arrays to a collection.
addList(List<E>) - Method in class org.arp.javautil.collections.CompositeList
 
addPoint(double, double) - Method in class org.arp.javautil.stat.UpdatingCovarCalc
Update the covariance with another point.
addValue(double) - Method in class org.arp.javautil.stat.UpdatingVarCalc
Update the variance with a new value.
Arrays - Class in org.arp.javautil.arrays
Utilities for arrays.
asCollection(Iterator<T>) - Static method in class org.arp.javautil.collections.Iterators
Returns an iterator as a collection.
asList(E[]...) - Static method in class org.arp.javautil.arrays.Arrays
Returns a newly created random access list with the contents of the provided arrays.
asList(Iterator<T>) - Static method in class org.arp.javautil.collections.Iterators
Returns an iterator as a list.
assembleSQLException(List<SQLException>) - Static method in class org.arp.javautil.sql.SQLExecutor
 
asSet(E[]) - Static method in class org.arp.javautil.arrays.Arrays
Returns a Set (specfically, a HashSet) with all the unique elements from the given array of objects.
attempt() - Method in interface org.arp.javautil.io.Retryable
Attempts to execute an operation that may fail under defined circumstances.

B

b - Variable in class org.arp.javautil.stat.Line
 
BdbCacheFactory<E,V> - Class in org.arp.javautil.datastore
 
BdbCacheFactory(String, boolean) - Constructor for class org.arp.javautil.datastore.BdbCacheFactory
 
BdbMap<K,V> - Class in org.arp.javautil.datastore
 
BdbPersistentStoreFactory<E,V> - Class in org.arp.javautil.datastore
 
BdbPersistentStoreFactory(String) - Constructor for class org.arp.javautil.datastore.BdbPersistentStoreFactory
 
BdbStoreFactory<E,V> - Class in org.arp.javautil.datastore
 
BdbStoreFactory(String, boolean) - Constructor for class org.arp.javautil.datastore.BdbStoreFactory
 
BdbStoreShutdownHook - Class in org.arp.javautil.datastore
 
BdbUtil - Class in org.arp.javautil.datastore
 
BdbUtil() - Constructor for class org.arp.javautil.datastore.BdbUtil
 
BellmanFord - Class in org.arp.javautil.graph
An implementation of the Bellman-Ford single-source shortest paths algorithm.
BellmanFord.Mode - Enum in org.arp.javautil.graph
For setting whether the Bellman-Ford algorithm should look for the shortest paths from a source or to a destination.
bind(String, DataSource) - Method in class org.arp.javautil.sql.DataSourceInitialContextBinder
Binds a data source to a name.

C

calcShortestDistances(Object, DirectedGraph, BellmanFord.Mode) - Static method in class org.arp.javautil.graph.BellmanFord
Calculates the distance of every object in a graph from a source object.
ClassServiceLoader - Class in org.arp.javautil.serviceloader
Functions like ServiceLoader except it returns lists of Classes instead of an Iterable of instances.
ClassServiceLoader() - Constructor for class org.arp.javautil.serviceloader.ClassServiceLoader
 
clear() - Method in class org.arp.javautil.datastore.BdbMap
 
clear() - Method in class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 
clear() - Method in class org.arp.javautil.graph.DirectedGraph
Remove all vertices and edges.
close() - Method in class org.arp.javautil.io.DelimitedWriter
Closes the Writer.
close() - Method in class org.arp.javautil.sql.DataSourceInitialContextBinder
Unbinds all data sources currently bound by this instance of this class.
Collections - Class in org.arp.javautil.collections
Extra utilities for collections.
Colors - Class in org.arp.javautil.color
 
colorToHexCode(Color) - Static method in class org.arp.javautil.color.Colors
 
compare(MajorMinorVersion) - Method in class org.arp.javautil.version.MajorMinorVersion
Compares two versions by major then minor number.
compareTo(Weight) - Method in class org.arp.javautil.graph.Weight
Compares two Weight objects numerically.
compareToLong(long) - Method in class org.arp.javautil.graph.Weight
 
CompositeList<E> - Class in org.arp.javautil.collections
 
CompositeList() - Constructor for class org.arp.javautil.collections.CompositeList
 
CompositeList(Collection<List<E>>) - Constructor for class org.arp.javautil.collections.CompositeList
 
ConnectionSpec - Interface in org.arp.javautil.sql
Provides an interface for getting a connection to a relational database.
ConnectionSpecVisitor - Interface in org.arp.javautil.sql
 
construct() - Method in class org.arp.javautil.swing.SwingWorker
Compute the value to be returned by the get method.
contains(Object[], Object) - Static method in class org.arp.javautil.arrays.Arrays
Returns where an object is in a given array.
contains(Object) - Method in class org.arp.javautil.graph.DirectedGraph
Check to see if an object is a vertex.
containsAny(Set<K>, K[]) - Static method in class org.arp.javautil.collections.Collections
Checks whether any of an array's elements are also in the provided set.
containsEdge(Object, Object) - Method in class org.arp.javautil.graph.DirectedGraph
Check to see if an edge has been set between two vertices.
containsKey(Object) - Method in class org.arp.javautil.datastore.BdbMap
 
containsKey(Object) - Method in class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 
containsValue(Object) - Method in class org.arp.javautil.datastore.BdbMap
 
containsValue(Object) - Method in class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 
create(String, String, File) - Method in class org.arp.javautil.io.TempDirectoryCreator
 
create(String, String, File) - Method in class org.arp.javautil.io.UniqueDirectoryCreator
 
createClassCatalog(Environment) - Method in class org.arp.javautil.datastore.BdbCacheFactory
 
createClassCatalog(Environment) - Method in class org.arp.javautil.datastore.BdbPersistentStoreFactory
 
createClassCatalog(Environment) - Method in class org.arp.javautil.datastore.BdbStoreFactory
 
createDatabaseConfig() - Method in class org.arp.javautil.datastore.BdbCacheFactory
 
createDatabaseConfig() - Method in class org.arp.javautil.datastore.BdbPersistentStoreFactory
 
createDatabaseConfig() - Method in class org.arp.javautil.datastore.BdbStoreFactory
 
createEnvConfig() - Method in class org.arp.javautil.datastore.BdbCacheFactory
 
createEnvConfig() - Method in class org.arp.javautil.datastore.BdbPersistentStoreFactory
 
createEnvConfig() - Method in class org.arp.javautil.datastore.BdbStoreFactory
 
createPropertiesFromResource(Class<?>, String) - Static method in class org.arp.javautil.io.IOUtil
Creates a Properties objects and loads the data in the given resource, using the given class' getResourceAsStream method.

D

DatabaseAPI - Enum in org.arp.javautil.sql
An enum of Java's APIs ((DriverManager and DataSource) for connecting to relational databases.
DatabaseError - Exception in org.arp.javautil.datastore
Deprecated.
Replaced by DataStoreError
DatabaseMap<K,V> - Class in org.arp.javautil.datastore
Deprecated.
Implement the DataStore interface to define new caches and permanent stores.
DatabaseMap() - Constructor for class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 
DatabaseMetaDataWrapper - Class in org.arp.javautil.sql
Wraps the DatabaseMetaData class to provide some additional methods for using database metadata.
DatabaseMetaDataWrapper(DatabaseMetaData) - Constructor for class org.arp.javautil.sql.DatabaseMetaDataWrapper
Creates the wrapper.
DatabaseProduct - Enum in org.arp.javautil.sql
 
DatabaseVersion - Class in org.arp.javautil.sql
Represents a database product's version.
DatabaseVersion(int, int) - Constructor for class org.arp.javautil.sql.DatabaseVersion
Creates a version with a major and a minor number and a null version string.
DatabaseVersion(int, int, String) - Constructor for class org.arp.javautil.sql.DatabaseVersion
Creates a version with a major number, a minor number and a version string.
DatabaseVersion(DatabaseMetaData) - Constructor for class org.arp.javautil.sql.DatabaseVersion
Extracts the database product version from database metadata.
DataSourceConnectionSpec - Class in org.arp.javautil.sql
Implements getting a connection to a relational database using Java's DataSource API.
DataSourceConnectionSpec(String, boolean) - Constructor for class org.arp.javautil.sql.DataSourceConnectionSpec
Creates an instance that will get connections from the database with the specified JNDI name.
DataSourceConnectionSpec(String) - Constructor for class org.arp.javautil.sql.DataSourceConnectionSpec
 
DataSourceConnectionSpec(String, String, String, boolean) - Constructor for class org.arp.javautil.sql.DataSourceConnectionSpec
Creates an instance that will get connections from the database with the specified JNDI name using the specified username and password.
DataSourceConnectionSpec(String, String, String) - Constructor for class org.arp.javautil.sql.DataSourceConnectionSpec
 
DataSourceConnectionSpec(String, Hashtable<?, ?>, String, String) - Constructor for class org.arp.javautil.sql.DataSourceConnectionSpec
 
DataSourceConnectionSpec(String, Hashtable<?, ?>, String, String, boolean) - Constructor for class org.arp.javautil.sql.DataSourceConnectionSpec
Creates an instance that will get connections from the database with the specified JNDI name using the specified username and password.
DataSourceInitialContextBinder - Class in org.arp.javautil.sql
Utility class for binding DataSources easily to the usual JNDI names (java:/comp/env/jdbc/<DataSourceName>).
DataSourceInitialContextBinder() - Constructor for class org.arp.javautil.sql.DataSourceInitialContextBinder
Creates an instance of this class, setting up an InitialContext to use.
DataStore<K,V> - Interface in org.arp.javautil.datastore
Represents a data store, which can be either temporary or persistent.
DataStoreError - Exception in org.arp.javautil.datastore
 
DataStoreUtil - Class in org.arp.javautil.datastore
Utility class for the org.arp.javautil.datastore class.
DateTime - Class in org.arp.javautil.datetime
 
defaultValue(Object) - Method in interface org.arp.javautil.map.ImnuMap.DefaultValue
 
DelimitedWriter - Class in org.arp.javautil.io
Convenience class for writing delimited files.
DelimitedWriter(char, Writer) - Constructor for class org.arp.javautil.io.DelimitedWriter
Creates the writer with a column delimiter and the Writer to which to write.
DelimitedWriter(char, Writer, String) - Constructor for class org.arp.javautil.io.DelimitedWriter
Creates the writer with a column delimiter, the Writer to which to write, and a line separator string.
delimiter - Variable in class org.arp.javautil.log.LogFormatterSingleLine
 
DirectedGraph - Class in org.arp.javautil.graph
A directed graph implementation.
DirectedGraph(int) - Constructor for class org.arp.javautil.graph.DirectedGraph
Constructs an empty DirectedGraph with the specified initial vertex capacity.
DirectedGraph() - Constructor for class org.arp.javautil.graph.DirectedGraph
Constructs an empty DirectedGraph with the default initial vertex capacity (10).
doGenerateFile(String, String, File) - Method in class org.arp.javautil.io.UniqueDirectoryCreator
 
Driver - Enum in org.arp.javautil.sql
 
DriverManagerConnectionSpec - Class in org.arp.javautil.sql
Implements getting a connection to a relational database using Java's DriverManager API.
DriverManagerConnectionSpec(String, String, String) - Constructor for class org.arp.javautil.sql.DriverManagerConnectionSpec
 
DriverManagerConnectionSpec(String, String, String, boolean) - Constructor for class org.arp.javautil.sql.DriverManagerConnectionSpec
Creates an instance with a specified JDBC URL, and a username and password.
DriverVersion - Class in org.arp.javautil.sql
Represents a JDBC driver's version.
DriverVersion(int, int) - Constructor for class org.arp.javautil.sql.DriverVersion
Creates a version with a major and a minor number and a null version string.
DriverVersion(int, int, String) - Constructor for class org.arp.javautil.sql.DriverVersion
Creates a version with a major number, a minor number and a version string.
DriverVersion(DatabaseMetaData) - Constructor for class org.arp.javautil.sql.DriverVersion
Extracts the driver version from database metadata.

E

Edge - Class in org.arp.javautil.graph
 
edges() - Method in class org.arp.javautil.graph.DirectedGraph
Create an iterator of edges.
edgesAsArray() - Method in class org.arp.javautil.graph.DirectedGraph
 
ElapsedTime - Class in org.arp.javautil.log
Utilities for elapsed time.
ElapsedTime() - Constructor for class org.arp.javautil.log.ElapsedTime
 
entrySet() - Method in class org.arp.javautil.datastore.BdbMap
 
entrySet() - Method in class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 
equal(Iterator, Iterator) - Static method in class org.arp.javautil.collections.Iterators
Tests two iterators for equality, meaning that they have the same elements enumerated in the same order.
equals(Object) - Method in class org.arp.javautil.datastore.BdbMap
 
equals(Object) - Method in class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 
equals(Object) - Method in class org.arp.javautil.graph.Edge
 
equals(Object) - Method in class org.arp.javautil.graph.Weight
 
equals(String, String) - Static method in class org.arp.javautil.string.StringUtil
 
equals(Object) - Method in class org.arp.javautil.version.AbstractVersion
 
equals(Object) - Method in class org.arp.javautil.version.MajorMinorVersion
 
escapeAndWriteDelimitedColumn(String, char, Map<String, String>, Writer) - Static method in class org.arp.javautil.string.StringUtil
Escapes a column in a delimited file and writes it directly to a Writer.
escapeAndWriteDelimitedColumn(String, char, Writer) - Static method in class org.arp.javautil.string.StringUtil
Escapes a column in a delimited file and writes it directly to a Writer.
escapeAndWriteDelimitedColumns(String[], char, Writer) - Static method in class org.arp.javautil.string.StringUtil
 
escapeAndWriteDelimitedColumns(String[], Map<String, String>, char, Writer) - Static method in class org.arp.javautil.string.StringUtil
 
escapeAndWriteDelimitedColumns(List<String>, char, Writer) - Static method in class org.arp.javautil.string.StringUtil
 
escapeAndWriteDelimitedColumns(List<String>, Map<String, String>, char, Writer) - Static method in class org.arp.javautil.string.StringUtil
 
escapeDelimitedColumn(String, char) - Static method in class org.arp.javautil.string.StringUtil
Escapes a column in a delimited file.
escapeDelimitedColumns(List<String>, char) - Static method in class org.arp.javautil.string.StringUtil
 
escapeDelimitedColumns(List<String>, Map<String, String>, char) - Static method in class org.arp.javautil.string.StringUtil
 
escapeDelimitedColumns(String[], char) - Static method in class org.arp.javautil.string.StringUtil
 
escapeDelimitedColumns(String[], Map<String, String>, char) - Static method in class org.arp.javautil.string.StringUtil
 
escapeDelimitedColumnsInPlace(List<String>, char) - Static method in class org.arp.javautil.string.StringUtil
 
escapeDelimitedColumnsInPlace(List<String>, Map<String, String>, char) - Static method in class org.arp.javautil.string.StringUtil
 
escapeDelimitedColumnsInPlace(String[], char) - Static method in class org.arp.javautil.string.StringUtil
 
escapeDelimitedColumnsInPlace(String[], Map<String, String>, char) - Static method in class org.arp.javautil.string.StringUtil
 
execute(Retryable<E>) - Method in class org.arp.javautil.io.Retryer
Executes a command with retries retries.
execute() - Method in class org.arp.javautil.io.WithBufferedReader
 
execute() - Method in class org.arp.javautil.io.WithBufferedReaderByLine
 
execute() - Method in class org.arp.javautil.io.WithLineNumberReader
 
executeSQL(Connection, PreparedStatement, SQLExecutor.StatementPreparer, SQLExecutor.ResultProcessor) - Static method in class org.arp.javautil.sql.SQLExecutor
 
executeSQL(Connection, Statement, String, SQLExecutor.ResultProcessor) - Static method in class org.arp.javautil.sql.SQLExecutor
 
executeSQL(Connection, String, SQLExecutor.ResultProcessor) - Static method in class org.arp.javautil.sql.SQLExecutor
 
executeSQL(Connection, String, SQLExecutor.StatementPreparer, SQLExecutor.ResultProcessor) - Static method in class org.arp.javautil.sql.SQLExecutor
 
executeSQL(ConnectionSpec, String, SQLExecutor.ResultProcessor) - Static method in class org.arp.javautil.sql.SQLExecutor
 
executeSQL(ConnectionSpec, String, SQLExecutor.ResultProcessor, int) - Static method in class org.arp.javautil.sql.SQLExecutor
 
executeSQL(ConnectionSpec, String, SQLExecutor.StatementPreparer, SQLExecutor.ResultProcessor) - Static method in class org.arp.javautil.sql.SQLExecutor
 
executeSQL(ConnectionSpec, String, SQLExecutor.StatementPreparer, SQLExecutor.ResultProcessor, int) - Static method in class org.arp.javautil.sql.SQLExecutor
 
ExpectedSetOfStringsReader - Class in org.arp.javautil.test
 
ExpectedSetOfStringsReader() - Constructor for class org.arp.javautil.test.ExpectedSetOfStringsReader
 

F

FileUtil - Class in org.arp.javautil.io
 
FileUtil() - Constructor for class org.arp.javautil.io.FileUtil
 
finalize() - Method in class org.arp.javautil.datastore.BdbMap
 
finished() - Method in class org.arp.javautil.swing.SwingWorker
Called on the event dispatching thread (not on the worker thread) after the construct method has returned.
flush() - Method in class org.arp.javautil.io.DelimitedWriter
Calls the provided Writer's Writer.flush() method.
format(LogRecord) - Method in class org.arp.javautil.log.LogFormatterSingleLine
 
fromMetaData(DatabaseMetaData) - Static method in enum org.arp.javautil.sql.DatabaseProduct
 
fromMetaData(DatabaseMetaData) - Static method in enum org.arp.javautil.sql.Driver
 

G

get(Object) - Method in class org.arp.javautil.datastore.BdbMap
 
get(Object) - Method in class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 
get(Object) - Method in class org.arp.javautil.map.ImnuMap
 
get() - Method in class org.arp.javautil.swing.SwingWorker
Return the value created by the construct method.
getAttempts() - Method in class org.arp.javautil.io.Retryer
Gets the number of attempts that have been made to execute the Retryable from the most recent call to Retryer.execute(org.arp.javautil.io.Retryable).
getb() - Method in class org.arp.javautil.stat.Line
Returns the y-intercept of this line.
getCovariance() - Method in class org.arp.javautil.stat.UpdatingCovarCalc
Return the covariance of the list of points specified to this object.
getDatabaseProduct() - Method in class org.arp.javautil.sql.AbstractConnectionSpec
 
getDatabaseProduct() - Method in interface org.arp.javautil.sql.ConnectionSpec
 
getDatabaseVersion() - Method in class org.arp.javautil.sql.AbstractConnectionSpec
 
getDatabaseVersion() - Method in interface org.arp.javautil.sql.ConnectionSpec
 
getDataSource() - Method in class org.arp.javautil.sql.DataSourceConnectionSpec
Gets the specified data source.
getDriver() - Method in class org.arp.javautil.sql.AbstractConnectionSpec
 
getDriver() - Method in interface org.arp.javautil.sql.ConnectionSpec
 
getDriverVersion() - Method in class org.arp.javautil.sql.AbstractConnectionSpec
 
getDriverVersion() - Method in interface org.arp.javautil.sql.ConnectionSpec
 
getEdge(Object, Object) - Method in class org.arp.javautil.graph.DirectedGraph
 
getEdgeCount() - Method in class org.arp.javautil.graph.DirectedGraph
Get the total number of edges.
getElapsedHours(long, long) - Static method in class org.arp.javautil.log.ElapsedTime
 
getElapsedMilliseconds(long, long) - Static method in class org.arp.javautil.log.ElapsedTime
 
getElapsedMinutes(long, long) - Static method in class org.arp.javautil.log.ElapsedTime
 
getElapsedSeconds(long, long) - Static method in class org.arp.javautil.log.ElapsedTime
 
getElapsedTime(long, long) - Static method in class org.arp.javautil.log.ElapsedTime
 
getEmptyOrNull(String) - Static method in class org.arp.javautil.string.StringUtil
Returns whether the given string is null, of length 0, or contains just whitespace.
getErrors() - Method in class org.arp.javautil.io.Retryer
Returns any error codes or exceptions from the most recent call to Retryer.execute(org.arp.javautil.io.Retryable).
getFinish() - Method in class org.arp.javautil.graph.Edge
 
getInstance() - Method in class org.arp.javautil.graph.WeightFactory
 
getInstance(Number) - Method in class org.arp.javautil.graph.WeightFactory
 
getm() - Method in class org.arp.javautil.stat.Line
Returns the slope of this line.
getMajor() - Method in class org.arp.javautil.version.MajorMinorVersion
Returns the major version number.
getMaxVersion() - Method in class org.arp.javautil.version.VersionRange
Returns the upper version bound.
getMinor() - Method in class org.arp.javautil.version.MajorMinorVersion
Returns the minor version number.
getMinVersion() - Method in class org.arp.javautil.version.VersionRange
Returns the lower version bound.
getOrCreate() - Method in interface org.arp.javautil.sql.ConnectionSpec
Returns a connection to a SQL database that may be new or part of a connection pool.
getOrCreate() - Method in class org.arp.javautil.sql.DataSourceConnectionSpec
Creates a database connection or gets an existing connection with the JNDI name, username and password specified in the constructor.
getOrCreate() - Method in class org.arp.javautil.sql.DriverManagerConnectionSpec
Creates a database connection or gets an existing connection with the JDBC URL, username and password specified in the constructor.
getResourceAsStream(String) - Static method in class org.arp.javautil.io.IOUtil
Finds a resource with a given name, using this class' class loader.
getResourceAsStream(String, Class<?>) - Static method in class org.arp.javautil.io.IOUtil
Finds a resource with a given name using the class loader of the specified class.
getRetries() - Method in class org.arp.javautil.io.Retryer
Gets the number of times that Retryer.execute(org.arp.javautil.io.Retryable) will retry the operation.
getStart() - Method in class org.arp.javautil.graph.Edge
 
getStdDev() - Method in class org.arp.javautil.stat.UpdatingVarCalc
Return the standard deviation of the list of values specified to this object.
getSumSquaredDeviations() - Method in class org.arp.javautil.stat.UpdatingCovarCalc
Return the sum squared of the list of points specified to this object.
getSumSquaredDeviations() - Method in class org.arp.javautil.stat.UpdatingVarCalc
Return the sum squared of the list of values specified to this object.
getUserInput(String) - Static method in class org.arp.javautil.io.IOUtil
 
getValue() - Method in class org.arp.javautil.swing.SwingWorker
Get the value produced by the worker thread, or null if it hasn't been constructed yet.
getVariance() - Method in class org.arp.javautil.stat.UpdatingVarCalc
Return the variance of the list of values specified to this object.
getVersionString() - Method in class org.arp.javautil.version.AbstractVersion
 
getVersionString() - Method in interface org.arp.javautil.version.Version
 
getVisited() - Method in class org.arp.javautil.graph.Edge
 
getWeight() - Method in class org.arp.javautil.graph.Edge
 
getx(double) - Method in class org.arp.javautil.stat.Line
Returns the value of x given y.
gety(double) - Method in class org.arp.javautil.stat.Line
Returns the value of y given x.
greaterThan(long) - Method in class org.arp.javautil.graph.Weight
Checks to see if this weight is greater than the given long value.

H

hashCode() - Method in class org.arp.javautil.datastore.BdbMap
 
hashCode() - Method in class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 
hashCode() - Method in class org.arp.javautil.graph.Edge
 
hashCode() - Method in class org.arp.javautil.graph.Weight
 
hashCode() - Method in class org.arp.javautil.version.AbstractVersion
 
hashCode() - Method in class org.arp.javautil.version.MajorMinorVersion
 
hasNegativeCycle(Object, DirectedGraph, BellmanFord.Mode) - Static method in class org.arp.javautil.graph.BellmanFord
Determines if there are any negative cycles found.

I

ImnuMap<K,V> - Class in org.arp.javautil.map
ImnuMap is a HashMap that specifies a default value for keys that are not in the map.
ImnuMap(ImnuMap.DefaultValue<V>) - Constructor for class org.arp.javautil.map.ImnuMap
 
ImnuMap() - Constructor for class org.arp.javautil.map.ImnuMap
Creates a new ImnuMap instance that returns null for all missing keys.
ImnuMap.DefaultValue<V> - Interface in org.arp.javautil.map
 
interrupt() - Method in class org.arp.javautil.swing.SwingWorker
A new method that interrupts the worker thread.
intersection(Collection<Set<K>>) - Static method in class org.arp.javautil.collections.Collections
 
intersection(Set<K>...) - Static method in class org.arp.javautil.collections.Collections
 
InvalidConnectionSpecArguments - Exception in org.arp.javautil.sql
 
invertSign() - Method in class org.arp.javautil.graph.Weight
Creates a new weight with the opposite sign.
IOUtil - Class in org.arp.javautil.io
Convenience routines for reading files, resources, readers, and input streams.
isAutoCommitEnabled() - Method in class org.arp.javautil.sql.AbstractConnectionSpec
 
isAutoCommitEnabled() - Method in interface org.arp.javautil.sql.ConnectionSpec
 
isClosed() - Method in class org.arp.javautil.datastore.BdbMap
 
isClosed() - Method in interface org.arp.javautil.datastore.DataStore
Checks whether the store has already been shut down
isDatabaseCompatible(String, DatabaseVersion, DatabaseVersion) - Method in class org.arp.javautil.sql.DatabaseMetaDataWrapper
Compares database product name and version information to that reported by the database.
isDriverCompatible(String, DriverVersion, DriverVersion) - Method in class org.arp.javautil.sql.DatabaseMetaDataWrapper
Compares JDBC driver name and version information to that reported by the driver.
isEmpty() - Method in class org.arp.javautil.datastore.BdbMap
 
isEmpty() - Method in class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 
isEmpty() - Method in class org.arp.javautil.graph.DirectedGraph
Check to see if there are any vertices defined.
isEqual(long) - Method in class org.arp.javautil.graph.Weight
Checks if this weight has the same value as the given long.
isInfinity() - Method in class org.arp.javautil.graph.Weight
Checks if this weight has value of positive or negative infinity.
isNegativeInfinity() - Method in class org.arp.javautil.graph.Weight
Checks if this weight has value of negative infinity.
isPositiveInfinity() - Method in class org.arp.javautil.graph.Weight
Checks if this weight has value of positive infinity.
isWithinRange(E) - Method in class org.arp.javautil.version.VersionRange
Uses the min and max version's MajorMinorVersion.compare(org.arp.javautil.version.MajorMinorVersion) methods to determine whether the provided version is within range.
iterator() - Method in class org.arp.javautil.graph.DirectedGraph
Create an iterator of vertices.
Iterators - Class in org.arp.javautil.collections
 

J

JUnitUtil - Class in org.arp.javautil.junit
Utilities for JUnit testing.

K

keySet() - Method in class org.arp.javautil.datastore.BdbMap
 
keySet() - Method in class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 

L

lessThan(long) - Method in class org.arp.javautil.graph.Weight
Checks to see if this weight is less than the given long value.
Line - Class in org.arp.javautil.stat
A class for manipulating lines in a cartesian plane.
Line(double, double) - Constructor for class org.arp.javautil.stat.Line
Creates new Line.
Line() - Constructor for class org.arp.javautil.stat.Line
Creates new Line for subclasses only.
listIterator(int) - Method in class org.arp.javautil.collections.CompositeList
 
load(Class<S>) - Static method in class org.arp.javautil.serviceloader.ClassServiceLoader
Loads the classes of the providers of a service.
load(Class<S>, ClassLoader) - Static method in class org.arp.javautil.serviceloader.ClassServiceLoader
Loads the classes of the providers of a service.
load(Class<S>) - Static method in class org.arp.javautil.serviceloader.SingletonServiceLoader
Loads the classes of the providers of a service.
load(Class<S>, ClassLoader) - Static method in class org.arp.javautil.serviceloader.SingletonServiceLoader
Loads a service provider using ServiceLoader, assuming that there is only one instance of the given service provider.
loadPropertiesFromResource(Class<?>, String) - Static method in class org.arp.javautil.io.IOUtil
 
loadPropertiesFromResources(Class<?>, String[]) - Static method in class org.arp.javautil.io.IOUtil
 
logCount(Logger, Level, int, String, String) - Static method in class org.arp.javautil.log.Logging
Prints a count of something to a log with an appropriate singular or plural message.
logCount(Logger, Level, int, String, String, Object[], Object[]) - Static method in class org.arp.javautil.log.Logging
Prints a count of something to a log with an appropriate singular or plural message.
LogFormatterCSV - Class in org.arp.javautil.log
 
LogFormatterCSV() - Constructor for class org.arp.javautil.log.LogFormatterCSV
 
LogFormatterSingleLine - Class in org.arp.javautil.log
 
LogFormatterSingleLine() - Constructor for class org.arp.javautil.log.LogFormatterSingleLine
 
LogFormatterTab - Class in org.arp.javautil.log
 
LogFormatterTab() - Constructor for class org.arp.javautil.log.LogFormatterTab
 
Logging - Class in org.arp.javautil.log
Convenience functions for good logging.
Logging() - Constructor for class org.arp.javautil.log.Logging
 

M

m - Variable in class org.arp.javautil.stat.Line
 
MajorMinorVersion - Class in org.arp.javautil.version
Represents the version of an application.
MajorMinorVersion(int, int) - Constructor for class org.arp.javautil.version.MajorMinorVersion
Creates a version with a major and a minor number and a null version string.
MajorMinorVersion(int, int, String) - Constructor for class org.arp.javautil.version.MajorMinorVersion
Creates a version with a major number, a minor number and a version string.
MapUtil - Class in org.arp.javautil.map
 
matrixCopy(Object[][], Object[][]) - Static method in class org.arp.javautil.arrays.Arrays
Copies a 2D array.
matrixFill(Object[][], Object) - Static method in class org.arp.javautil.arrays.Arrays
Fills a 2D array with a value.
max(Weight, Weight) - Static method in class org.arp.javautil.graph.Weight
Gets the larger of the two given weights.
mergeDateAndTime(Date, Time) - Static method in class org.arp.javautil.datetime.DateTime
Merges Date and Time objects into a single java.util.Date object.
min(Weight, Weight) - Static method in class org.arp.javautil.graph.Weight
Gets the smaller of the two given weights.

N

NEG_EPSILON - Static variable in class org.arp.javautil.graph.WeightFactory
Special value representing the smallest possible negative value.
NEG_INFINITY - Static variable in class org.arp.javautil.graph.WeightFactory
Special value representing negative infinity.
neighbors(Object) - Method in class org.arp.javautil.graph.DirectedGraph
Create an iterator of all vertices that share an edge with a vertex.
newConnectionSpecInstance(String, String, String) - Method in enum org.arp.javautil.sql.DatabaseAPI
Gets a ConnectionSpec implementation that is specific to the selected database API for getting/creating a database Connection.
newConnectionSpecInstance(String, String, String, boolean) - Method in enum org.arp.javautil.sql.DatabaseAPI
Gets a ConnectionSpec implementation that is specific to the selected database API for getting/creating a database Connection.
newInstance(String) - Method in class org.arp.javautil.datastore.BdbStoreFactory
 
newLine() - Method in class org.arp.javautil.io.DelimitedWriter
Writes the provided line separator string (or the default).

O

org.arp.javautil.arrays - package org.arp.javautil.arrays
 
org.arp.javautil.collections - package org.arp.javautil.collections
 
org.arp.javautil.color - package org.arp.javautil.color
 
org.arp.javautil.datastore - package org.arp.javautil.datastore
 
org.arp.javautil.datetime - package org.arp.javautil.datetime
 
org.arp.javautil.graph - package org.arp.javautil.graph
 
org.arp.javautil.io - package org.arp.javautil.io
 
org.arp.javautil.junit - package org.arp.javautil.junit
 
org.arp.javautil.log - package org.arp.javautil.log
 
org.arp.javautil.map - package org.arp.javautil.map
 
org.arp.javautil.serviceloader - package org.arp.javautil.serviceloader
 
org.arp.javautil.sql - package org.arp.javautil.sql
 
org.arp.javautil.stat - package org.arp.javautil.stat
 
org.arp.javautil.string - package org.arp.javautil.string
 
org.arp.javautil.swing - package org.arp.javautil.swing
 
org.arp.javautil.test - package org.arp.javautil.test
 
org.arp.javautil.version - package org.arp.javautil.version
 

P

POS_EPSILON - Static variable in class org.arp.javautil.graph.WeightFactory
Special value representing the smallest possible positive value.
POS_INFINITY - Static variable in class org.arp.javautil.graph.WeightFactory
Special value representing positive infinity.
prepare(PreparedStatement) - Method in interface org.arp.javautil.sql.SQLExecutor.StatementPreparer
 
process(ResultSet) - Method in interface org.arp.javautil.sql.SQLExecutor.ResultProcessor
 
put(K, V) - Method in class org.arp.javautil.datastore.BdbMap
 
put(K, V) - Method in class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 
putAll(Map<? extends K, ? extends V>) - Method in class org.arp.javautil.datastore.BdbMap
 
putAll(Map<? extends K, ? extends V>) - Method in class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 
putList(Map<K, List<V>>, K, V) - Static method in class org.arp.javautil.collections.Collections
Puts a value into a map of key -> list of values.
putListMult(Map<K, List<V>>, K, Collection<? extends V>) - Static method in class org.arp.javautil.collections.Collections
Puts a collection of values into a map of key -> list of values.
putSet(Map<K, Set<V>>, K, V) - Static method in class org.arp.javautil.collections.Collections
Puts a value into a map of key -> set of values.
putSetAll(Map<K, Set<V>>, Map<K, Set<V>>) - Static method in class org.arp.javautil.collections.Collections
Copies all of the mappings from the second map to the first.
putSetMult(Map<K, Set<V>>, K, Collection<? extends V>) - Static method in class org.arp.javautil.collections.Collections
Puts a collection of values into a map of key -> set of values.

R

read(BufferedReader) - Method in class org.arp.javautil.io.WithBufferedReader
 
readAsSet(String, Class) - Method in class org.arp.javautil.test.ExpectedSetOfStringsReader
 
readLine(String) - Method in class org.arp.javautil.io.WithBufferedReaderByLine
 
readLine(int, String) - Method in class org.arp.javautil.io.WithLineNumberReader
 
readPropertiesFromResource(Properties, Class<?>, String) - Static method in class org.arp.javautil.io.IOUtil
Loads properties from the given resource into the given properties object.
readResourceAsLines(Class<?>, String) - Static method in class org.arp.javautil.io.IOUtil
Reads everything from a textual resource as lines.
readResourceAsString(Class<?>, String) - Static method in class org.arp.javautil.io.IOUtil
Reads everything from the given resource into a String.
recover() - Method in interface org.arp.javautil.io.Retryable
Performs some operation between attempts (e.g., wait for a few seconds).
remove(Object) - Method in class org.arp.javautil.datastore.BdbMap
 
remove(Object) - Method in class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 
remove(Object) - Method in class org.arp.javautil.graph.DirectedGraph
Remove a vertex and all edges between the vertex and other vertices.
removeExtension(File) - Static method in class org.arp.javautil.io.FileUtil
 
replaceExtension(File, String) - Static method in class org.arp.javautil.io.FileUtil
 
resourceToFile(String, String, String) - Static method in class org.arp.javautil.io.IOUtil
Converts a resource into a temporary file that can be read by objects that look up files by name.
Retryable<E> - Interface in org.arp.javautil.io
Adds support for automatically retrying an operation whose failure is expected under defined circumstances.
Retryer<E> - Class in org.arp.javautil.io
Retries a data access operation whose failure is expected under defined circumstances.
Retryer(int) - Constructor for class org.arp.javautil.io.Retryer
Constructs a retryer with a number of retries.
run() - Method in class org.arp.javautil.datastore.BdbStoreShutdownHook
 

S

serializeAndDeserialize(Object) - Static method in class org.arp.javautil.junit.JUnitUtil
Serializes and deserializes the given object.
setb(double) - Method in class org.arp.javautil.stat.Line
Sets the value of the intercept for this line.
setDelimiter(String) - Method in class org.arp.javautil.log.LogFormatterSingleLine
 
setEdge(Object, Object, Weight) - Method in class org.arp.javautil.graph.DirectedGraph
Set the edge between two vertices.
setm(double) - Method in class org.arp.javautil.stat.Line
Sets the value of the slope for this line.
setVisited(boolean) - Method in class org.arp.javautil.graph.Edge
 
shutdown() - Method in class org.arp.javautil.datastore.BdbMap
 
shutdown() - Method in class org.arp.javautil.datastore.BdbStoreFactory
 
shutdown() - Method in class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 
shutdown() - Method in interface org.arp.javautil.datastore.DataStore
Performs any clean up of the store and shuts it down.
SingletonServiceLoader - Class in org.arp.javautil.serviceloader
Functions like ServiceLoader except it returns lists of Classes instead of an Iterable of instances.
SingletonServiceLoader() - Constructor for class org.arp.javautil.serviceloader.SingletonServiceLoader
 
size() - Method in class org.arp.javautil.collections.CompositeList
 
size() - Method in class org.arp.javautil.datastore.BdbMap
 
size() - Method in class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 
size() - Method in class org.arp.javautil.graph.DirectedGraph
Get the number of vertices.
SQLExecutor - Class in org.arp.javautil.sql
Convenience class for executing SQL queries.
SQLExecutor() - Constructor for class org.arp.javautil.sql.SQLExecutor
 
SQLExecutor.ResultProcessor - Interface in org.arp.javautil.sql
 
SQLExecutor.StatementPreparer - Interface in org.arp.javautil.sql
 
SQLUtil - Class in org.arp.javautil.sql
 
start() - Method in class org.arp.javautil.swing.SwingWorker
Start the worker thread.
StringUtil - Class in org.arp.javautil.string
 
subtract(Weight) - Method in class org.arp.javautil.graph.Weight
Creates a new weight the value equal to the difference between the two weights.
SwingWorker - Class in org.arp.javautil.swing
This is the 3rd version of SwingWorker (also known as SwingWorker 3), an abstract class that you subclass to perform GUI-related work in a dedicated thread.
SwingWorker() - Constructor for class org.arp.javautil.swing.SwingWorker
Start a thread that will call the construct method and then exit.

T

TempDirectoryCreator - Class in org.arp.javautil.io
Creates temporary directories (i.e., that are deleted upon the exit of the virtual machine).
TempDirectoryCreator() - Constructor for class org.arp.javautil.io.TempDirectoryCreator
 
timeInfo(LogRecord) - Method in class org.arp.javautil.log.LogFormatterSingleLine
 
tmpDirectoryLock - Static variable in class org.arp.javautil.io.UniqueDirectoryCreator
 
toString() - Method in class org.arp.javautil.graph.Edge
 
toString() - Method in class org.arp.javautil.graph.Weight
 
toString() - Method in class org.arp.javautil.version.MajorMinorVersion
 

U

unbind(DataSource) - Method in class org.arp.javautil.sql.DataSourceInitialContextBinder
Unbinds a data source.
unbindAll() - Method in class org.arp.javautil.sql.DataSourceInitialContextBinder
Unbinds all data sources that were previously bound by this instance of this class.
UniqueDirectoryCreator - Class in org.arp.javautil.io
Creates temporary directories (i.e., that are deleted upon the exit of the virtual machine).
UniqueDirectoryCreator() - Constructor for class org.arp.javautil.io.UniqueDirectoryCreator
 
uniqueEnvironment(String, String, File) - Static method in class org.arp.javautil.datastore.BdbUtil
Creates a unique directory for housing a BDB environment, and returns its name.
UpdatingCovarCalc - Class in org.arp.javautil.stat
A class for calculating the covariance of a list of points.
UpdatingCovarCalc(double, double) - Constructor for class org.arp.javautil.stat.UpdatingCovarCalc
Creates new UpdatingCovarianceCalculator.
UpdatingVarCalc - Class in org.arp.javautil.stat
A class for calculating the variance and standard deviation of a list of values.
UpdatingVarCalc(double) - Constructor for class org.arp.javautil.stat.UpdatingVarCalc
Creates new UpdatingVarCalc.

V

value() - Method in class org.arp.javautil.graph.Weight
Gets the value of this weight.
valueOf(String) - Static method in enum org.arp.javautil.graph.BellmanFord.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.arp.javautil.sql.DatabaseAPI
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.arp.javautil.sql.DatabaseProduct
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.arp.javautil.sql.Driver
Returns the enum constant of this type with the specified name.
values() - Method in class org.arp.javautil.datastore.BdbMap
 
values() - Method in class org.arp.javautil.datastore.DatabaseMap
Deprecated.
 
values() - Static method in enum org.arp.javautil.graph.BellmanFord.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.arp.javautil.sql.DatabaseAPI
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.arp.javautil.sql.DatabaseProduct
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.arp.javautil.sql.Driver
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Interface in org.arp.javautil.version
 
VersionRange<E extends MajorMinorVersion> - Class in org.arp.javautil.version
Specifies a range of version numbers and supports checking if a specified version is within that range.
VersionRange(E, E) - Constructor for class org.arp.javautil.version.VersionRange
Creates a version range.
visit(DataSourceConnectionSpec) - Method in interface org.arp.javautil.sql.ConnectionSpecVisitor
 
visit(DriverManagerConnectionSpec) - Method in interface org.arp.javautil.sql.ConnectionSpecVisitor
 

W

Weight - Class in org.arp.javautil.graph
Like a Long except that there are special values representing positive infinity, negative infinity, positive epsilon (smallest positive value), and negative epsilon (smallest negative value).
WeightFactory - Class in org.arp.javautil.graph
 
WeightFactory() - Constructor for class org.arp.javautil.graph.WeightFactory
 
WithBufferedReader - Class in org.arp.javautil.io
Convenience class for reading from a BufferedReader.
WithBufferedReader(InputStream) - Constructor for class org.arp.javautil.io.WithBufferedReader
 
WithBufferedReader(String) - Constructor for class org.arp.javautil.io.WithBufferedReader
 
WithBufferedReader(File) - Constructor for class org.arp.javautil.io.WithBufferedReader
 
WithBufferedReader(Reader) - Constructor for class org.arp.javautil.io.WithBufferedReader
 
WithBufferedReaderByLine - Class in org.arp.javautil.io
Convenience class for reading from a BufferedReader.
WithBufferedReaderByLine(InputStream) - Constructor for class org.arp.javautil.io.WithBufferedReaderByLine
 
WithBufferedReaderByLine(String) - Constructor for class org.arp.javautil.io.WithBufferedReaderByLine
 
WithBufferedReaderByLine(File) - Constructor for class org.arp.javautil.io.WithBufferedReaderByLine
 
WithBufferedReaderByLine(InputStreamReader) - Constructor for class org.arp.javautil.io.WithBufferedReaderByLine
 
WithLineNumberReader - Class in org.arp.javautil.io
Convenience class for reading from a LineNumberReader.
WithLineNumberReader(InputStream) - Constructor for class org.arp.javautil.io.WithLineNumberReader
 
WithLineNumberReader(String) - Constructor for class org.arp.javautil.io.WithLineNumberReader
 
WithLineNumberReader(File) - Constructor for class org.arp.javautil.io.WithLineNumberReader
 
WithLineNumberReader(InputStreamReader) - Constructor for class org.arp.javautil.io.WithLineNumberReader
 
write(String) - Method in class org.arp.javautil.io.DelimitedWriter
Writes a column, inserting a delimiter as needed.

Z

ZERO - Static variable in class org.arp.javautil.graph.WeightFactory
Special value representing zero.
A B C D E F G H I J K L M N O P R S T U V W Z 
Skip navigation links

Copyright © 2012–2016 Emory University. All rights reserved.