A C E F G H I M O P R S T U

A

append(char) - Method in class com.healthmarketscience.common.util.AppendableExt
 
append(CharSequence) - Method in class com.healthmarketscience.common.util.AppendableExt
append(CharSequence, int, int) - Method in class com.healthmarketscience.common.util.AppendableExt
append(Appendee) - Method in class com.healthmarketscience.common.util.AppendableExt
Will call the appendTo() method on the given object.
append(Object) - Method in class com.healthmarketscience.common.util.AppendableExt
Will call append(String.valueOf(o)) with the given object (unless the object is an Appendee or CharSequence in which case it will be passed to the appropriate method).
append(Iterable<?>, Object) - Method in class com.healthmarketscience.common.util.AppendableExt
Will iterate the given Iterable and append each object separated by the given delimiter.
append(char) - Method in class com.healthmarketscience.common.util.StringAppendableExt
 
append(CharSequence) - Method in class com.healthmarketscience.common.util.StringAppendableExt
 
append(CharSequence, int, int) - Method in class com.healthmarketscience.common.util.StringAppendableExt
 
append(Appendee) - Method in class com.healthmarketscience.common.util.StringAppendableExt
 
append(Object) - Method in class com.healthmarketscience.common.util.StringAppendableExt
 
append(Iterable<?>, Object) - Method in class com.healthmarketscience.common.util.StringAppendableExt
 
AppendableExt - Class in com.healthmarketscience.common.util
Wrapper for an Appendable which adds the ability for objects to append themselves directly to the given Appendable instead of creating intermediate CharSequence objects (Strings, etc).
AppendableExt(Appendable) - Constructor for class com.healthmarketscience.common.util.AppendableExt
Initialize a new AppendableExt based on the given Appendable.
AppendableExt(Appendable, Object) - Constructor for class com.healthmarketscience.common.util.AppendableExt
Initialize a new AppendableExt based on the given Appendable and context.
Appendee - Interface in com.healthmarketscience.common.util
Should be implemented by an object which can append itself to an AppendableExt object, where the work of generating a result for toString() would itself involve the appending of multiple CharSequences (Strings, etc).
AppendeeObject - Class in com.healthmarketscience.common.util
Simple subclass for objects wishing to use the AppendableExt/Appendee interface in new class hierarchies.
AppendeeObject() - Constructor for class com.healthmarketscience.common.util.AppendeeObject
 
appendTo(AppendableExt) - Method in interface com.healthmarketscience.common.util.Appendee
Appends this object to the given AppendableExt.
appendTo(AppendableExt) - Method in class com.healthmarketscience.common.util.AppendeeObject
 

C

ClassUtil - Class in com.healthmarketscience.common.util
Static utility methods for working with classes and reflection.
ClassUtil() - Constructor for class com.healthmarketscience.common.util.ClassUtil
 
clone() - Method in class com.healthmarketscience.common.util.Tuple1
Makes a copy of this Tuple1.
clone() - Method in class com.healthmarketscience.common.util.Tuple2
Makes a copy of this Tuple2.
clone() - Method in class com.healthmarketscience.common.util.Tuple3
Makes a copy of this Tuple3.
collection0(Collection<? extends Tuple1<InObjType0>>) - Static method in class com.healthmarketscience.common.util.Tuple1
Returns a Collection adapter for element 0 of the Tuples of the given Collection.
collection1(Collection<? extends Tuple2<?, InObjType1>>) - Static method in class com.healthmarketscience.common.util.Tuple2
Get a Collection adapter for element 1 of the Tuples of the given Collection.
collection2(Collection<? extends Tuple3<?, ?, InObjType2>>) - Static method in class com.healthmarketscience.common.util.Tuple3
Get a Collection adapter for element 2 of the Tuples of the given Collection.
com.healthmarketscience.common.util - package com.healthmarketscience.common.util
 
com.healthmarketscience.common.util.resource - package com.healthmarketscience.common.util.resource
 
convertToSystemURL(URL) - Method in class com.healthmarketscience.common.util.resource.Handler
 
create(Throwable) - Static method in exception com.healthmarketscience.common.util.PassthroughException
Constructs a PassthroughException which will print out a virtually identical stacktrace to the given Throwable.
create(Throwable, Class<ExType>, String) - Static method in exception com.healthmarketscience.common.util.PassthroughException
Creates an exception of the given type, with the given throwable translated to a PassthroughException as the cause.
create(Throwable, Class<ExType>, String, boolean) - Static method in exception com.healthmarketscience.common.util.PassthroughException
Creates an exception of the given type, with the given throwable translated to a PassthroughException as the cause.
create(String, Object...) - Method in class com.healthmarketscience.common.util.ReflectionFactory
Constructs an object of the given type with the given constructor params.
create(String, Object[], Object[]) - Method in class com.healthmarketscience.common.util.ReflectionFactory
Constructs and optionally configures an object of the given type with the given constructor params and optional configuration params.
create(InObjType0) - Static method in class com.healthmarketscience.common.util.Tuple1
Creates a new Tuple1 with the provided object.
create(InObjType0, InObjType1) - Static method in class com.healthmarketscience.common.util.Tuple2
Creates a new Tuple2 with the provided objects
create(Map.Entry<InObjType0, InObjType1>) - Static method in class com.healthmarketscience.common.util.Tuple2
Creates a new Tuple2 with the Map.Entry's key and value as the objects.
create(InObjType0, InObjType1, InObjType2) - Static method in class com.healthmarketscience.common.util.Tuple3
Creates a new Tuple3 object with the provided objects.

E

equals(Object) - Method in class com.healthmarketscience.common.util.Tuple1
Indicates whether the given Object is equal to this Tuple1.
equals(Object) - Method in class com.healthmarketscience.common.util.Tuple2
Indicates whether the given Object is equal to this Tuple2.
equals(Object) - Method in class com.healthmarketscience.common.util.Tuple3
Indicates whether the given Object is equal to this Tuple3.
expandType(String) - Method in class com.healthmarketscience.common.util.ReflectionFactory
May be overridden to provide "custom" expansions of the given type name (default package names, etc).

F

fieldIsBoolean(Field) - Static method in class com.healthmarketscience.common.util.ClassUtil
Test if the field is a Boolean or boolean.
findAnnotatedElements(Class<AType>, MType...) - Static method in class com.healthmarketscience.common.util.ClassUtil
Search for elements (fields or methods) which have the given annotation.
findAnnotatedFields(Object, Class<AType>, boolean) - Static method in class com.healthmarketscience.common.util.ClassUtil
Get a collection of fields of the given object with the given annotation.
findAnnotatedMethods(Object, Class<AType>, boolean) - Static method in class com.healthmarketscience.common.util.ClassUtil
Get a collection of methods of the given object with the given annotation.

G

get(Tuple1<?>) - Method in class com.healthmarketscience.common.util.Tuple1.Accessor
 
get() - Method in class com.healthmarketscience.common.util.Tuple1
Gets the object value of this tuple as an Object array.
get(int) - Method in class com.healthmarketscience.common.util.Tuple1
Get the value of this tuple identified by index, which must always be 0, since this tuple class stores exactly one object.
get() - Method in class com.healthmarketscience.common.util.Tuple2
Get the objects of this tuple as an array.
get(int) - Method in class com.healthmarketscience.common.util.Tuple2
Get the value of this tuple identified by index, which must always be either 0 or 1, since this tuple class stores exactly two objects.
get() - Method in class com.healthmarketscience.common.util.Tuple3
Get the objects of this tuple as an array.
get(int) - Method in class com.healthmarketscience.common.util.Tuple3
Get the value of this tuple identified by index, which must always be 0, 1 or 2, since this tuple class stores exactly three objects.
get0() - Method in class com.healthmarketscience.common.util.Tuple1
Get the object of this tuple.
get1() - Method in class com.healthmarketscience.common.util.Tuple2
Returns the second object of this tuple.
get2() - Method in class com.healthmarketscience.common.util.Tuple3
Returns the third object of this tuple.
getAppendable() - Method in class com.healthmarketscience.common.util.AppendableExt
Get the underlying Appendable.
getClassLoader() - Method in class com.healthmarketscience.common.util.ReflectionFactory
May be overridden to choose an alternate classloader for loading classes of the instantiated objects.
getConfigureMethodName() - Method in class com.healthmarketscience.common.util.ReflectionFactory
 
getConfigureParamTypes() - Method in class com.healthmarketscience.common.util.ReflectionFactory
 
getConstructorMethodName() - Method in class com.healthmarketscience.common.util.ReflectionFactory
 
getConstructorParamTypes() - Method in class com.healthmarketscience.common.util.ReflectionFactory
 
getContext() - Method in class com.healthmarketscience.common.util.AppendableExt
 
getExceptionType() - Method in class com.healthmarketscience.common.util.ReflectionFactory
 
getIOException() - Method in class com.healthmarketscience.common.util.StringAppendableExt
Get the last IOException thrown by an append call, or null if no IOException was caught.
getKey() - Method in class com.healthmarketscience.common.util.Tuple2
Get the first object of this tuple.
getOriginalExceptionName() - Method in exception com.healthmarketscience.common.util.PassthroughException
 
getRequiredType() - Method in class com.healthmarketscience.common.util.ReflectionFactory
 
getValue() - Method in class com.healthmarketscience.common.util.Tuple2
Get the second object of this tuple.

H

Handler - Class in com.healthmarketscience.common.util.resource
Classpath resource URLHandler provides easy access to resources via the classloader system.
Handler() - Constructor for class com.healthmarketscience.common.util.resource.Handler
 
hashCode() - Method in class com.healthmarketscience.common.util.Tuple1
Returns a hash code for this Tuple1, based on the object it contains.
hashCode() - Method in class com.healthmarketscience.common.util.Tuple2
Returns a hash code for this Tuple2, based on the objects it contains.
hashCode() - Method in class com.healthmarketscience.common.util.Tuple3
Returns a hash code for this Tuple3, based on the objects it contains.

I

init() - Static method in class com.healthmarketscience.common.util.resource.Handler
Classes that need to handle resource-style URLs can call this message to ensure that this class is initialized.
isBoolean(Class<?>) - Static method in class com.healthmarketscience.common.util.ClassUtil
Test if the class is Boolean or boolean.
iterable0(Iterable<? extends Tuple1<InObjType0>>) - Static method in class com.healthmarketscience.common.util.Tuple1
Returns an Iterable adapter that returns an Iterator that iterates over element 0 of the tuples within the given Iterable/Iterator.
iterable1(Iterable<? extends Tuple2<?, InObjType1>>) - Static method in class com.healthmarketscience.common.util.Tuple2
Get an Iterable adapter that returns an Iterator that iterates over element 1 of the Tuples within the given Iterable/Iterator.
iterable2(Iterable<? extends Tuple3<?, ?, InObjType2>>) - Static method in class com.healthmarketscience.common.util.Tuple3
Get an Iterable adapter that returns an Iterator that iterates over element 2 of the Tuples within the given Iterable/Iterator.
iterator() - Method in class com.healthmarketscience.common.util.Tuple1.IterableIterator
 

M

methodTakesBoolean(Method) - Static method in class com.healthmarketscience.common.util.ClassUtil
Test if the method takes one and only one arg which is a Boolean or boolean.

O

openConnection(URL) - Method in class com.healthmarketscience.common.util.resource.Handler
Opens a connection to the object referenced by the URL argument.

P

parseURL(URL, String, int, int) - Method in class com.healthmarketscience.common.util.resource.Handler
Parse a string into a URL object.
PassthroughException - Exception in com.healthmarketscience.common.util
This exception is useful for copying internal exceptions within one classloader so that they can be inspected within another classloader (after serialization/deserialization) without throwing ClassNotFoundException (or related exceptions).
PassthroughException(Throwable, PassthroughException) - Constructor for exception com.healthmarketscience.common.util.PassthroughException
Constructs a PassthroughException by copying information from the given original exception.
PassthroughException(String, String, StackTraceElement[], PassthroughException) - Constructor for exception com.healthmarketscience.common.util.PassthroughException
Constructs a PassthroughException with the given information.

R

ReflectionFactory<RetType,ExType extends Throwable> - Class in com.healthmarketscience.common.util
Instead of writing custom factories for custom types, this provides a single factory implementation that uses reflection to instantiate the desired objects.
ReflectionFactory(Class<? extends RetType>, Class<? extends ExType>, Class<?>...) - Constructor for class com.healthmarketscience.common.util.ReflectionFactory
 
ReflectionFactory(Class<? extends RetType>, Class<? extends ExType>, String) - Constructor for class com.healthmarketscience.common.util.ReflectionFactory
 
ReflectionFactory(Class<? extends RetType>, Class<? extends ExType>, Class<?>[], String, Class<?>[]) - Constructor for class com.healthmarketscience.common.util.ReflectionFactory
 
ReflectionFactory(Class<? extends RetType>, Class<? extends ExType>, String, Class<?>[], String, Class<?>[]) - Constructor for class com.healthmarketscience.common.util.ReflectionFactory
 
registerProtocolHandler(String, URLStreamHandler) - Static method in class com.healthmarketscience.common.util.URLProtocolHandlerUtil
Register a protocol handler package with the JVM.

S

set(ObjType0) - Method in class com.healthmarketscience.common.util.Tuple1
Sets the value of this tuple.
set(ObjType0, ObjType1) - Method in class com.healthmarketscience.common.util.Tuple2
Sets the values of this Tuple2.
set(ObjType0, ObjType1, ObjType2) - Method in class com.healthmarketscience.common.util.Tuple3
Sets the values of this Tuple3.
set0(ObjType0) - Method in class com.healthmarketscience.common.util.Tuple1
Sets the object of this tuple.
set1(ObjType1) - Method in class com.healthmarketscience.common.util.Tuple2
Sets the second object of this tuple.
set2(ObjType2) - Method in class com.healthmarketscience.common.util.Tuple3
Sets the third object of this tuple.
setContext(Object) - Method in class com.healthmarketscience.common.util.AppendableExt
Sets the "context" that will be returned from subsequent AppendableExt.getContext() calls.
setValue(ObjType1) - Method in class com.healthmarketscience.common.util.Tuple2
Set the second object of this tuple.
size() - Method in class com.healthmarketscience.common.util.Tuple1
Get the size of this tuple, which is always 1.
size() - Method in class com.healthmarketscience.common.util.Tuple2
Get the size of this tuple, which is always 2.
size() - Method in class com.healthmarketscience.common.util.Tuple3
Get the size of this tuple, which is always 3.
StringAppendableExt - Class in com.healthmarketscience.common.util
Simple extension of AppendableExt that swallows IOExceptions under the assumption that it will generally be used with Appendables which do not actually throw any IOExceptions (i.e.
StringAppendableExt() - Constructor for class com.healthmarketscience.common.util.StringAppendableExt
Initialize a new StringAppendableExt based on a StringBuilder.
StringAppendableExt(int) - Constructor for class com.healthmarketscience.common.util.StringAppendableExt
Initialize a new StringAppendableExt based on a StringBuilder, with a specified initial capacity.
StringAppendableExt(int, Object) - Constructor for class com.healthmarketscience.common.util.StringAppendableExt
Initialize a new StringAppendableExt based on a StringBuilder, with a specified initial capacity and given context.
StringAppendableExt(Appendable) - Constructor for class com.healthmarketscience.common.util.StringAppendableExt
Initialize a new StringAppendableExt based on the given Appendable.
StringAppendableExt(Appendable, Object) - Constructor for class com.healthmarketscience.common.util.StringAppendableExt
Initialize a new StringAppendableExt based on the given Appendable and context.

T

throwException(String, Throwable) - Method in class com.healthmarketscience.common.util.ReflectionFactory
Must throw an exception, either of the desired type for this factory or a RuntimeException (or Error).
toString() - Method in class com.healthmarketscience.common.util.AppendableExt
Get the result of calling toString() on the underlying Appendable.
toString(int) - Method in class com.healthmarketscience.common.util.AppendeeObject
 
toString() - Method in class com.healthmarketscience.common.util.AppendeeObject
 
toString() - Method in exception com.healthmarketscience.common.util.PassthroughException
 
Tuple1<ObjType0> - Class in com.healthmarketscience.common.util
Simple class for holding a single typed object (useful for returning additional objects from a method call).
Tuple1() - Constructor for class com.healthmarketscience.common.util.Tuple1
Initializes a new Tuple1 with a null object.
Tuple1(ObjType0) - Constructor for class com.healthmarketscience.common.util.Tuple1
Initializes a new Tuple1 with the provided object.
Tuple1.Accessor - Class in com.healthmarketscience.common.util
Helper class to enable direct indexed access to the tuple values.
Tuple1.Accessor() - Constructor for class com.healthmarketscience.common.util.Tuple1.Accessor
 
Tuple1.IterableIterator<Type> - Class in com.healthmarketscience.common.util
An Iterable whose iterator method returns itself.
Tuple1.IterableIterator() - Constructor for class com.healthmarketscience.common.util.Tuple1.IterableIterator
 
Tuple2<ObjType0,ObjType1> - Class in com.healthmarketscience.common.util
Simple class for holding a pair of typed objects.
Tuple2() - Constructor for class com.healthmarketscience.common.util.Tuple2
Initializes a new Tuple2 with null objects.
Tuple2(ObjType0, ObjType1) - Constructor for class com.healthmarketscience.common.util.Tuple2
Initializes a new Tuple2 with the given objects.
Tuple2(Map.Entry<? extends ObjType0, ? extends ObjType1>) - Constructor for class com.healthmarketscience.common.util.Tuple2
Initializes a new Tuple2 based on the given Map.Entry.
Tuple3<ObjType0,ObjType1,ObjType2> - Class in com.healthmarketscience.common.util
Simple class for holding 3 typed objects.
Tuple3() - Constructor for class com.healthmarketscience.common.util.Tuple3
Initializes a new Tuple3 with null objects.
Tuple3(ObjType0, ObjType1, ObjType2) - Constructor for class com.healthmarketscience.common.util.Tuple3
Initializes a new Tuple3 with the given objects.

U

UnreachableStatementException - Exception in com.healthmarketscience.common.util
Thrown to indicate that a section of code that should never have been reachable has just been reached.
UnreachableStatementException() - Constructor for exception com.healthmarketscience.common.util.UnreachableStatementException
 
UnreachableStatementException(String) - Constructor for exception com.healthmarketscience.common.util.UnreachableStatementException
 
UnreachableStatementException(Throwable) - Constructor for exception com.healthmarketscience.common.util.UnreachableStatementException
 
UnreachableStatementException(String, Throwable) - Constructor for exception com.healthmarketscience.common.util.UnreachableStatementException
 
URLProtocolHandlerUtil - Class in com.healthmarketscience.common.util
Provides a way to register a custom URL protocol handler.
URLProtocolHandlerUtil() - Constructor for class com.healthmarketscience.common.util.URLProtocolHandlerUtil
 

A C E F G H I M O P R S T U

Copyright © 2006-2016 Health Market Science. All Rights Reserved.