A B C D E F G H I L M N O P R S T U V W 
All Classes All Packages

A

annotatedFields(Class<?>, Class<A>) - Static method in class org.scijava.common3.Annotations
Gets the given class's Fields marked with the annotation of the specified class.
annotatedFields(Class<?>, Class<A>, List<Field>) - Static method in class org.scijava.common3.Annotations
Gets the given class's Fields marked with the annotation of the specified class.
annotatedMethods(Class<?>, Class<A>) - Static method in class org.scijava.common3.Annotations
Gets the given class's Methods marked with the annotation of the specified class.
annotatedMethods(Class<?>, Class<A>, List<Method>) - Static method in class org.scijava.common3.Annotations
Gets the given class's Methods marked with the annotation of the specified class.
Annotations - Class in org.scijava.common3
Useful methods for working with Java annotations.
Any - Class in org.scijava.common3
This Type represents a Type that can be assigned to any other Type.
Any() - Constructor for class org.scijava.common3.Any
 
Any(Type[]) - Constructor for class org.scijava.common3.Any
 
Any(Type[], Type[]) - Constructor for class org.scijava.common3.Any
 
appendContents(Collection<URL>, URL) - Static method in class org.scijava.common3.URLs
Recursively adds contents from the referenced directory to an existing collection.
appendContents(Collection<URL>, URL, boolean, boolean) - Static method in class org.scijava.common3.URLs
Add contents from the referenced directory to an existing collection.
Apps - Class in org.scijava.common3
Useful methods for obtaining details of the SciJava application environment.
array(Class<?>) - Static method in class org.scijava.common3.Classes
Gets the array class corresponding to the given element type.
array(Class<?>, int) - Static method in class org.scijava.common3.Classes
Gets the array class corresponding to the given element type and dimensionality.
array(Type) - Static method in class org.scijava.common3.Types
Gets the array type—which might be a Class or a GenericArrayType depending on the argument—corresponding to the given element type.

B

baseDirectory(File, String) - Static method in class org.scijava.common3.Apps
Gets the base file system directory from the given known class location.
baseDirectory(Class<?>) - Static method in class org.scijava.common3.Apps
Gets the base file system directory containing the given class file.
baseDirectory(Class<?>, String) - Static method in class org.scijava.common3.Apps
Gets the base file system directory containing the given class file.
baseDirectory(String, Class<?>, String) - Static method in class org.scijava.common3.Apps
Gets the application root directory.
box(Class<T>) - Static method in class org.scijava.common3.Classes
Returns the non-primitive Class closest to the given type.

C

cast(Object, Class<T>) - Static method in class org.scijava.common3.Types
Casts the given object to the specified type, or null if the types are incompatible.
Classes - Class in org.scijava.common3
Useful methods for working with Class objects and primitive types.
classLoader() - Static method in class org.scijava.common3.Classes
Gets the class loader to use.
clone() - Method in class org.scijava.common3.MersenneTwisterFast
 
commonSuperTypeOf(Type...) - Static method in class org.scijava.common3.Types
Determines the greatest common supertype of all types in the input array.
compare(Class<?>, Class<?>) - Static method in class org.scijava.common3.Classes
Compares two Class objects using their fully qualified names.
compare(T, T) - Static method in class org.scijava.common3.Comparisons
Compares two comparable objects, even if one or both of them are null.
compare(T, T, boolean) - Static method in class org.scijava.common3.Comparisons
Compares two comparable objects, even if one or both of them are null.
Comparisons - Class in org.scijava.common3
Comparison utility methods.
component(Type) - Static method in class org.scijava.common3.Types
Gets the component type of the given array type, or null if not an array.
containsTypeVars(Type) - Static method in class org.scijava.common3.Types
Learn, recursively, whether any of the type parameters associated with type are bound to variables.

D

dumpAll() - Static method in class org.scijava.common3.Threads
Provides a complete dump of all threads.

E

enumValue(String, Class<T>) - Static method in class org.scijava.common3.Types
Converts the given string value to an enumeration constant of the specified type.
equals(Object) - Method in class org.scijava.common3.Any
This method returns true iff: obj is an Any obj.getUpperBounds is equal to this.getUpperBounds (disregarding the order of each array) obj.getLowerBounds is equal to this.getLowerBounds (disregarding the order of each array) This is a rather strict definition of equality, however it is necessary to preserve transitivity.

F

field(Class<?>, String) - Static method in class org.scijava.common3.Classes
Gets the field with the specified name, of the given class, or superclass thereof.

G

GenericTyped - Interface in org.scijava.common3
An object which knows its generic type.
getLowerBounds() - Method in class org.scijava.common3.Any
 
getUpperBounds() - Method in class org.scijava.common3.Any
 

H

hashCode() - Method in class org.scijava.common3.Any
 

I

is(Object) - Static method in class org.scijava.common3.Any
 
isAssignable(Type, Type) - Static method in class org.scijava.common3.Types
Discerns whether it would be legal to assign a reference of type source to a reference of type target.
isAssignable(Type, Type, Map<TypeVariable<?>, Type>) - Static method in class org.scijava.common3.Types
Checks if the subject type may be implicitly cast to the target type following the Java generics rules.
isBoolean(Class<?>) - Static method in class org.scijava.common3.Classes
 
isByte(Class<?>) - Static method in class org.scijava.common3.Classes
 
isCharacter(Class<?>) - Static method in class org.scijava.common3.Classes
 
isDouble(Class<?>) - Static method in class org.scijava.common3.Classes
 
isFloat(Class<?>) - Static method in class org.scijava.common3.Classes
 
isInstance(Object, Class<?>) - Static method in class org.scijava.common3.Types
Checks whether the given object can be cast to the specified type.
isInteger(Class<?>) - Static method in class org.scijava.common3.Classes
 
isLinux() - Static method in class org.scijava.common3.Platforms
Whether the operating system is Linux-based.
isLong(Class<?>) - Static method in class org.scijava.common3.Classes
 
isMac() - Static method in class org.scijava.common3.Platforms
Whether the operating system is Mac-based.
isNumber(Class<?>) - Static method in class org.scijava.common3.Classes
 
isPOSIX() - Static method in class org.scijava.common3.Platforms
Whether the operating system is POSIX compliant.
isRecursive(Type) - Static method in class org.scijava.common3.Types
Checks if the given Type is recursively typed: that is if it's a ParameterizedType with a self-referential type parameter.
isRecursiveBound(Type, Type) - Static method in class org.scijava.common3.Types
Helper method to detect if a particular bound, typeBound, of a reference type, refType, is a recursive type parameter: that is, if typeBound itself has a type argument equal to refType.
isShort(Class<?>) - Static method in class org.scijava.common3.Classes
 
isText(Class<?>) - Static method in class org.scijava.common3.Classes
 
isWindows() - Static method in class org.scijava.common3.Platforms
Whether the operating system is Windows-based.

L

listContents(URL) - Static method in class org.scijava.common3.URLs
Recursively lists the contents of the referenced directory.
listContents(URL, boolean, boolean) - Static method in class org.scijava.common3.URLs
Lists all contents of the referenced directory.
load(String) - Static method in class org.scijava.common3.Classes
Loads the class with the given name, using the current thread's context class loader, or null if it cannot be loaded.
load(String, boolean) - Static method in class org.scijava.common3.Classes
Loads the class with the given name, using the current thread's context class loader.
load(String, ClassLoader) - Static method in class org.scijava.common3.Classes
Loads the class with the given name, using the specified ClassLoader, or null if it cannot be loaded.
load(String, ClassLoader, boolean) - Static method in class org.scijava.common3.Classes
Loads the class with the given name, using the specified ClassLoader, or null if it cannot be loaded.
location(Class<?>) - Static method in class org.scijava.common3.Classes
Gets the base location of the given class.
location(Class<?>, boolean) - Static method in class org.scijava.common3.Classes
Gets the base location of the given class.

M

mainClass() - Static method in class org.scijava.common3.Apps
Gets the class whose main method launched the application.
MersenneTwisterFast - Class in org.scijava.common3
A faster version of Random functionality, built on the Mersenne Twister algorithm.
MersenneTwisterFast() - Constructor for class org.scijava.common3.MersenneTwisterFast
Constructor using the default seed.
MersenneTwisterFast(int[]) - Constructor for class org.scijava.common3.MersenneTwisterFast
Constructor using an array of integers as seed.
MersenneTwisterFast(long) - Constructor for class org.scijava.common3.MersenneTwisterFast
Constructor using a given seed.
method(Class<?>, String, Class<?>...) - Static method in class org.scijava.common3.Classes
Gets the method with the specified name and argument types, of the given class, or superclass thereof.

N

name(Type) - Static method in class org.scijava.common3.Types
Gets a string representation of the given type.
nextBoolean() - Method in class org.scijava.common3.MersenneTwisterFast
 
nextBoolean(double) - Method in class org.scijava.common3.MersenneTwisterFast
This generates a coin flip with a probability probability of returning true, else returning false.
nextBoolean(float) - Method in class org.scijava.common3.MersenneTwisterFast
This generates a coin flip with a probability probability of returning true, else returning false.
nextByte() - Method in class org.scijava.common3.MersenneTwisterFast
 
nextBytes(byte[]) - Method in class org.scijava.common3.MersenneTwisterFast
 
nextChar() - Method in class org.scijava.common3.MersenneTwisterFast
 
nextDouble() - Method in class org.scijava.common3.MersenneTwisterFast
Returns a random double in the half-open range from [0.0,1.0).
nextDouble(boolean, boolean) - Method in class org.scijava.common3.MersenneTwisterFast
Returns a double in the range from 0.0 to 1.0, possibly inclusive of 0.0 and 1.0 themselves.
nextFloat() - Method in class org.scijava.common3.MersenneTwisterFast
Returns a random float in the half-open range from [0.0f,1.0f).
nextFloat(boolean, boolean) - Method in class org.scijava.common3.MersenneTwisterFast
Returns a float in the range from 0.0f to 1.0f, possibly inclusive of 0.0f and 1.0f themselves.
nextGaussian() - Method in class org.scijava.common3.MersenneTwisterFast
 
nextInt() - Method in class org.scijava.common3.MersenneTwisterFast
 
nextInt(int) - Method in class org.scijava.common3.MersenneTwisterFast
Returns an integer drawn uniformly from 0 to n-1.
nextLong() - Method in class org.scijava.common3.MersenneTwisterFast
 
nextLong(long) - Method in class org.scijava.common3.MersenneTwisterFast
Returns a long drawn uniformly from 0 to n-1.
nextShort() - Method in class org.scijava.common3.MersenneTwisterFast
 
nullValue(Class<T>) - Static method in class org.scijava.common3.Classes
Gets the "null" value for the given type.

O

org.scijava.common3 - module org.scijava.common3
SciJava Common3 Module
org.scijava.common3 - package org.scijava.common3
 

P

parameterize(Class<?>, Type...) - Static method in class org.scijava.common3.Types
Creates a new ParameterizedType of the given class together with the specified type arguments.
parameterize(Class<?>, Map<TypeVariable<?>, Type>) - Static method in class org.scijava.common3.Types
Create a parameterized type instance.
paramTypesOf(Method, Type) - Static method in class org.scijava.common3.Types
Returns the exact parameter types of the given method in the given type.
Platforms - Class in org.scijava.common3
Useful methods for platform-specific interrogation.

R

raw(Type) - Static method in class org.scijava.common3.Types
Gets the (first) raw class of the given type.
raws(Type) - Static method in class org.scijava.common3.Types
Gets all raw classes corresponding to the given type.
readState(DataInputStream) - Method in class org.scijava.common3.MersenneTwisterFast
Reads the entire state of the MersenneTwister RNG from the stream
returnTypeOf(Method, Type) - Static method in class org.scijava.common3.Types
Returns the exact return type of the given method in the given type.

S

setSeed(int[]) - Method in class org.scijava.common3.MersenneTwisterFast
Sets the seed of the MersenneTwister using an array of integers.
setSeed(long) - Method in class org.scijava.common3.MersenneTwisterFast
Initalize the pseudo random number generator.
stackTrace(Thread) - Static method in class org.scijava.common3.Threads
Provides a stack dump of the given thread.
stackTrace(Throwable) - Static method in class org.scijava.common3.Threads
Extracts the given exception's corresponding stack trace to a string.
stateEquals(Object) - Method in class org.scijava.common3.MersenneTwisterFast
 
superTypeOf(Type, Class<?>) - Static method in class org.scijava.common3.Types
Finds the most specific supertype of type whose erasure is searchClass.

T

Threads - Class in org.scijava.common3
Utility class for working with Threads.
toFile(String) - Static method in class org.scijava.common3.URLs
Converts the given URL string to its corresponding File.
toFile(URL) - Static method in class org.scijava.common3.URLs
Converts the given URL to its corresponding File.
toString() - Method in class org.scijava.common3.Any
 
type() - Method in interface org.scijava.common3.GenericTyped
 
typeOf(Field, Class<?>) - Static method in class org.scijava.common3.Types
Returns the exact generic type of the given field, as viewed from the given type.
typeParamsOf(Type, Class<?>) - Static method in class org.scijava.common3.Types
Obtains the type parameters of Type src with respect to the Class dest.
Types - Class in org.scijava.common3
Utility class for working with generic types, fields and methods.

U

unbox(Class<T>) - Static method in class org.scijava.common3.Classes
Returns the primitive Class closest to the given type.
unroll(Type[], Map<TypeVariable<?>, Type>) - Static method in class org.scijava.common3.Types
Map type vars in specified type list to types using the specified map.
unroll(Type, Map<TypeVariable<?>, Type>) - Static method in class org.scijava.common3.Types
Map type vars in the specified type to a type using the specified map.
unroll(Map<TypeVariable<?>, Type>, Type, boolean) - Static method in class org.scijava.common3.Types
Get a type representing type with variable assignments "unrolled."
URLs - Class in org.scijava.common3
 

V

varsSatisfied(Map<TypeVariable<?>, Type>) - Static method in class org.scijava.common3.Types
Determines whether or not specified types satisfy the bounds of their mapped type variables.
version() - Method in interface org.scijava.common3.Versioned
Gets the version of the object.
Versioned - Interface in org.scijava.common3
An object that knows its version.

W

wildcard(Type...) - Static method in class org.scijava.common3.Types
Creates a new WildcardType with the given upper bound(s).
wildcard(Type[], Type[]) - Static method in class org.scijava.common3.Types
Creates a new WildcardType with the given upper and/or lower bounds.
writeState(DataOutputStream) - Method in class org.scijava.common3.MersenneTwisterFast
Writes the entire state of the MersenneTwister RNG to the stream
A B C D E F G H I L M N O P R S T U V W 
All Classes All Packages