SoftNet-Consult Java Utility Library
A B C D E F G H I J L M N O P R S T U V W

A

APIProperties - Interface in com.softnetConsult.utils
This interface contains information required for documenting, building and using this library; no methods are defined.
apiVersion - Static variable in interface com.softnetConsult.utils.APIProperties
Specifies the version of this SoftNet-Consult Java Utility Library distribution.
array - Variable in class com.softnetConsult.utils.collections.ArrayIterator
Array being iterated.
array - Variable in class com.softnetConsult.utils.collections.ArrayIteratorBoolean
Array being iterated.
array - Variable in class com.softnetConsult.utils.collections.ArrayIteratorByte
Array being iterated.
array - Variable in class com.softnetConsult.utils.collections.ArrayIteratorChar
Array being iterated.
array - Variable in class com.softnetConsult.utils.collections.ArrayIteratorDouble
Array being iterated.
array - Variable in class com.softnetConsult.utils.collections.ArrayIteratorFloat
Array being iterated.
array - Variable in class com.softnetConsult.utils.collections.ArrayIteratorInt
Array being iterated.
array - Variable in class com.softnetConsult.utils.collections.ArrayIteratorLong
Array being iterated.
array - Variable in class com.softnetConsult.utils.collections.ArrayIteratorShort
Array being iterated.
arrayClose - Static variable in class com.softnetConsult.utils.collections.ArrayTools
Closing bracket when converting arrays to Strings.
ArrayIterator<ET> - Class in com.softnetConsult.utils.collections
Implements an iterator over an array.
ArrayIterator(AET[]) - Constructor for class com.softnetConsult.utils.collections.ArrayIterator
Creates an array iterator over the specified array.
ArrayIteratorBoolean - Class in com.softnetConsult.utils.collections
Implements an iterator over a boolean array.
ArrayIteratorBoolean(boolean[]) - Constructor for class com.softnetConsult.utils.collections.ArrayIteratorBoolean
Creates an array iterator over the specified array.
ArrayIteratorByte - Class in com.softnetConsult.utils.collections
Implements an iterator over a byte array.
ArrayIteratorByte(byte[]) - Constructor for class com.softnetConsult.utils.collections.ArrayIteratorByte
Creates an array iterator over the specified array.
ArrayIteratorChar - Class in com.softnetConsult.utils.collections
Implements an iterator over a char array.
ArrayIteratorChar(char[]) - Constructor for class com.softnetConsult.utils.collections.ArrayIteratorChar
Creates an array iterator over the specified array.
ArrayIteratorDouble - Class in com.softnetConsult.utils.collections
Implements an iterator over a double array.
ArrayIteratorDouble(double[]) - Constructor for class com.softnetConsult.utils.collections.ArrayIteratorDouble
Creates an array iterator over the specified array.
ArrayIteratorFloat - Class in com.softnetConsult.utils.collections
Implements an iterator over a float array.
ArrayIteratorFloat(float[]) - Constructor for class com.softnetConsult.utils.collections.ArrayIteratorFloat
Creates an array iterator over the specified array.
ArrayIteratorInt - Class in com.softnetConsult.utils.collections
Implements an iterator over a int array.
ArrayIteratorInt(int[]) - Constructor for class com.softnetConsult.utils.collections.ArrayIteratorInt
Creates an array iterator over the specified array.
ArrayIteratorLong - Class in com.softnetConsult.utils.collections
Implements an iterator over a long array.
ArrayIteratorLong(long[]) - Constructor for class com.softnetConsult.utils.collections.ArrayIteratorLong
Creates an array iterator over the specified array.
ArrayIteratorPrimitive - Interface in com.softnetConsult.utils.collections
An abstract superinterface for array iterators over primitive arrays.
ArrayIteratorShort - Class in com.softnetConsult.utils.collections
Implements an iterator over a short array.
ArrayIteratorShort(short[]) - Constructor for class com.softnetConsult.utils.collections.ArrayIteratorShort
Creates an array iterator over the specified array.
ArrayListRemovableRange<E> - Class in com.softnetConsult.utils.collections
Extends the default Java ArrayList by exposing its already present method removeRange for public access.
ArrayListRemovableRange() - Constructor for class com.softnetConsult.utils.collections.ArrayListRemovableRange
Constructs an empty list.
ArrayListRemovableRange(int) - Constructor for class com.softnetConsult.utils.collections.ArrayListRemovableRange
Constructs an empty list with the specified initial capacity.
ArrayListRemovableRange(Collection<? extends E>) - Constructor for class com.softnetConsult.utils.collections.ArrayListRemovableRange
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.
arrayOpen - Static variable in class com.softnetConsult.utils.collections.ArrayTools
Opening bracket when converting arrays to Strings.
ArrayTools - Class in com.softnetConsult.utils.collections
A collection of static utility functions for array processing.
ArrayTools() - Constructor for class com.softnetConsult.utils.collections.ArrayTools
Prevents instances of this class from being created as this class contains only static utility methods.
arrayToString(AET[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using ", " as delimeter.
arrayToString(AET[], char) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using the specified character as delimeter.
arrayToString(AET[], String) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using '[' and ']' as start and end indicators, "null" as null element indicator and the specified listSeparator} as element delimeter.
arrayToString(AET[], String, Set<Object>) - Static method in class com.softnetConsult.utils.collections.ArrayTools
This private method is used internally by ArrayTools.arrayToString(Object[], String) and has an additional parameter used to keep track or recursively processed arrays in order to avoid infinite recursion.
arrayToString(Object) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using ", " as delimeter.
arrayToString(Object, char) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using the specified character as delimeter.
arrayToString(Object, String) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using '[' and ']' as start and end indicators, "null" as null element indicator and the specified listSeparator} as element delimeter.
arrayToString(Object, String, Set<Object>) - Static method in class com.softnetConsult.utils.collections.ArrayTools
This private method is used internally by ArrayTools.arrayToString(Object, String) and has an additional parameter used to keep track or recursively processed arrays in order to avoid infinite recursion.
arrayToString(boolean[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using ", " as delimeter.
arrayToString(boolean[], char) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using the specified character as delimeter.
arrayToString(boolean[], String) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using '[' and ']' as start and end indicators and the specified listSeparator} as element delimeter.
arrayToString(byte[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using ", " as delimeter.
arrayToString(byte[], char) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using the specified character as delimeter.
arrayToString(byte[], String) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using '[' and ']' as start and end indicators and the specified listSeparator} as element delimeter.
arrayToString(char[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using ", " as delimeter.
arrayToString(char[], char) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using the specified character as delimeter.
arrayToString(char[], String) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using '[' and ']' as start and end indicators and the specified listSeparator} as element delimeter.
arrayToString(short[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using ", " as delimeter.
arrayToString(short[], char) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using the specified character as delimeter.
arrayToString(short[], String) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using '[' and ']' as start and end indicators and the specified listSeparator} as element delimeter.
arrayToString(int[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using ", " as delimeter.
arrayToString(int[], char) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using the specified character as delimeter.
arrayToString(int[], String) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using '[' and ']' as start and end indicators and the specified listSeparator} as element delimeter.
arrayToString(long[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using ", " as delimeter.
arrayToString(long[], char) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using the specified character as delimeter.
arrayToString(long[], String) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using '[' and ']' as start and end indicators and the specified listSeparator} as element delimeter.
arrayToString(float[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using ", " as delimeter.
arrayToString(float[], char) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using the specified character as delimeter.
arrayToString(float[], String) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using '[' and ']' as start and end indicators and the specified listSeparator} as element delimeter.
arrayToString(double[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using ", " as delimeter.
arrayToString(double[], char) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using the specified character as delimeter.
arrayToString(double[], String) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts the specified array to a string using '[' and ']' as start and end indicators and the specified listSeparator} as element delimeter.
asLine(Class<? extends Attributes>) - Static method in class com.softnetConsult.utils.attributes.AttributeManager
Converts an attribute collection to a human readable form.
asProperties(Class<? extends Attributes>) - Static method in class com.softnetConsult.utils.attributes.AttributeManager
Converts an attribute collection to a set of properties.
asString(String, Class<? extends Attributes>) - Static method in class com.softnetConsult.utils.attributes.AttributeManager
Converts an attribute collection to a human readable form.
asStrings(Class<? extends Attributes>) - Static method in class com.softnetConsult.utils.attributes.AttributeManager
Converts an attribute collection to a human readable form.
AttributeManager - Class in com.softnetConsult.utils.attributes
This class allows creating a behaviour similar to java.util.Properties for a Java-compilable collection of values; in other words it provides an interface between the java.util.Properties-API and a collection of attributes implemented as a set of public variables of a class.
AttributeManager() - Constructor for class com.softnetConsult.utils.attributes.AttributeManager
Prevents instances of this class from being created as this class contains only static utility methods.
Attributes - Interface in com.softnetConsult.utils.attributes
A static collection of attributes to work with AttributeManager.

B

BitmapTools - Class in com.softnetConsult.utils.math
This class provides implementations for various bit-level operations of Java types that can be used as bit-maps.
BitmapTools() - Constructor for class com.softnetConsult.utils.math.BitmapTools
Prevents instances of this class from being created as this class contains only static utility methods.
booleanBuffer - Variable in class com.softnetConsult.utils.random.FastRandom
The buffer for random booleans.
booleanCursor - Variable in class com.softnetConsult.utils.random.FastRandom
Cursor for the boolean random numbers buffer.
booleanValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableByte
 
booleanValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableDouble
 
booleanValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableFloat
 
booleanValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableInt
 
booleanValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableLong
 
booleanValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableShort
 
booleanValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableString
 
booleanValue() - Method in interface com.softnetConsult.utils.mutableWrappers.MutableWrapper
 
Bug - Error in com.softnetConsult.utils.exceptions
A Throwable Error that should be thrown to report a condition that indicates that there is a bug in the program.
Bug() - Constructor for error com.softnetConsult.utils.exceptions.Bug
Constructs a new Bug with null as its detail message.
Bug(String) - Constructor for error com.softnetConsult.utils.exceptions.Bug
Constructs a new Bug with the specified detail message.
Bug(Throwable) - Constructor for error com.softnetConsult.utils.exceptions.Bug
Constructs a new Bug with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
Bug(String, Throwable) - Constructor for error com.softnetConsult.utils.exceptions.Bug
Constructs a new Bug with the specified detail message and cause.
byteValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableByte
 
byteValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableDouble
 
byteValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableFloat
 
byteValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableInt
 
byteValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableLong
 
byteValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableShort
 
byteValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableString
 
byteValue() - Method in interface com.softnetConsult.utils.mutableWrappers.MutableWrapper
 

C

calcPopupSize() - Method in class com.softnetConsult.utils.swing.ResizablePopupComboBox
Gets the actual size for the drop-down popup component of this combo box.
checkBit(byte, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Checks the state of a specified bit in the specified bit-map.
checkBit(short, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Checks the state of a specified bit in the specified bit-map.
checkBit(int, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Checks the state of a specified bit in the specified bit-map.
checkBit(long, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Checks the state of a specified bit in the specified bit-map.
ClassFileVersionTool - Class in com.softnetConsult.utils.reflect
This class implements a small executable tool that can analyse a Java class file, a directory, or a Java archive (JAR or ZIP) and print version information for Java class binaries found.
ClassFileVersionTool() - Constructor for class com.softnetConsult.utils.reflect.ClassFileVersionTool
 
ClassTools - Class in com.softnetConsult.utils.reflect
Defines static utilities for dealing with classes and reflection.
ClassTools() - Constructor for class com.softnetConsult.utils.reflect.ClassTools
Prevents instances of this class from being created as this class contains only static utility methods.
ClassVersionInfo - Class in com.softnetConsult.utils.reflect
Objects of this class encapsulate information about a physical Java class file including the major class file version, the minor class file version, and the minimum version of the Java virtual machine required to execute a class file with the specified major and minor version.
ClassVersionInfo(int, int, String) - Constructor for class com.softnetConsult.utils.reflect.ClassVersionInfo
Constructs a new immutable ClassVersionInfo with the specified major and minor version numbers and the minumum required JVM version number.
clearBit(byte, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Clears a specified bit in the specified bit-map to 0.
clearBit(short, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Clears a specified bit in the specified bit-map to 0.
clearBit(int, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Clears a specified bit in the specified bit-map to 0.
clearBit(long, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Clears a specified bit in the specified bit-map to 0.
close() - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Closes this logger and a possibly open file stream.
com.softnetConsult.utils - package com.softnetConsult.utils
This is the root package for the SoftNet-Consult Java Utility Library.
com.softnetConsult.utils.attributes - package com.softnetConsult.utils.attributes
This package contains classes and tools that allow using classes with static public variables in a way similar to Java's Properties files while improving performance.
com.softnetConsult.utils.collections - package com.softnetConsult.utils.collections
This package contains classes and utilities that are commonly required when dealing with collections and are missing in the standard java API.
com.softnetConsult.utils.exceptions - package com.softnetConsult.utils.exceptions
This package contains utilities for commonly occuring tasks in exception handling and defines some often occuring exception classes.
com.softnetConsult.utils.files - package com.softnetConsult.utils.files
This package contains commonly used utilities for file prosessing.
com.softnetConsult.utils.log - package com.softnetConsult.utils.log
This package contains a smart text logger that can log all output to both, the standard output and a specified file, while providing convenience methods for structured output and indentation.
com.softnetConsult.utils.math - package com.softnetConsult.utils.math
This package contains commonly used mathematical and statistical functions, finctions for bit-map processing and futher mathematical classes.
com.softnetConsult.utils.mutableWrappers - package com.softnetConsult.utils.mutableWrappers
This package contains wrappers for primitive types that allow to emulate passing primitives my reference.
com.softnetConsult.utils.random - package com.softnetConsult.utils.random
This package contains various specialised pseudorandom numbers generators.
com.softnetConsult.utils.reflect - package com.softnetConsult.utils.reflect
This package contains commonly used utilities for reflection and class binary processing as well as an executable tool for determining version information of Java class binaries from the command line.
com.softnetConsult.utils.string - package com.softnetConsult.utils.string
This package contains commonly used utilities for string processing.
com.softnetConsult.utils.swing - package com.softnetConsult.utils.swing
This package contains commonly used utilities for Swing programming as well as a number of often required Swing components that are not present in the standard API.
com.softnetConsult.utils.sys - package com.softnetConsult.utils.sys
This package contains commonly used system and JVM related utilities.
comparator - Static variable in class com.softnetConsult.utils.math.Distribution
A comparator object for all Number types.
compare(TX, TY) - Static method in class com.softnetConsult.utils.math.MathTools
Compares the specified parameters.
concatDirFile(String, String) - Static method in class com.softnetConsult.utils.files.FileTools
Concatenates a directory name and a file name to build a path by inserting a file separator ('/' or '\\') between them if necessary.
For example all of the following calls will produce the same result:
- concatDirFile("dir/subdir", "file.name")
- concatDirFile("dir/subdir/", "file.name")
- concatDirFile("dir/subdir", "/file.name")
- concatDirFile("dir/subdir/", "/file.name")
RESULT: "dir/subdir/file.name"
Note that '/' is used in the example, but '\\' is equally supported.
concatFileExt(String, String) - Static method in class com.softnetConsult.utils.files.FileTools
Concatenates a file base nameand a file extension to build a full file name by inserting a file extension separator ('.') between them if necessary.
For example all of the following calls will produce the same result:
- concatDirFile("basename", "ext")
- concatDirFile("basename.", "ext")
- concatDirFile("basename", ".ext")
- concatDirFile("basename.", ".ext")
RESULT: "basename.ext"
correlation(double[], double[]) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the linear resgression correlation of the specified data.
countObservations(T) - Method in class com.softnetConsult.utils.math.Distribution
Gets the number of times the specified observation was encountered.
countObservations(T, T) - Method in class com.softnetConsult.utils.math.Distribution
Gets the total number of times that any observation within the specified range was encountered.
countObservations() - Method in class com.softnetConsult.utils.math.Distribution
Gets the total number of observations in this sample.
countObservationsL() - Method in class com.softnetConsult.utils.math.Distribution
Gets the total number of observations in this sample.
countProportion(T) - Method in class com.softnetConsult.utils.math.Distribution
Gets the proportion of the specified observation out of all observations in this sample.
countProportion(T, T) - Method in class com.softnetConsult.utils.math.Distribution
Gets proportion of observations within the specified range out of all observations in this sample.
covariance(double[], double[]) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the covariance of the specified data sequences.
createBuffers(int, int, int) - Method in class com.softnetConsult.utils.random.FastRandom
Allocates the random buffer arrays.
createLogger() - Static method in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Creates a new logger that logs to screen only.
createLogger(char[]) - Static method in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Creates a new logger that logs to screen only.
createLogger(String, boolean, int) - Static method in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Creates a new logger that logs to screen only.
createLogger(String, String, boolean, int) - Static method in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Creates a new logger that logs to screen only.
createLogger(File, boolean, int) - Static method in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Creates a new logger that logs to screen only.
createLogger(String) - Static method in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Creates a new logger that logs to screen only.
createLogger(String, String) - Static method in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Creates a new logger that logs to screen only.
createLogger(File) - Static method in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Creates a new logger that logs to screen only.
createLogger(String, boolean) - Static method in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Creates a new logger that logs to screen only.
createLogger(String, String, boolean) - Static method in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Creates a new logger that logs to screen only.
createLogger(File, boolean) - Static method in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Creates a new logger that logs to screen only.
createLogger(String, int) - Static method in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Creates a new logger that logs to screen only.
createLogger(String, String, int) - Static method in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Creates a new logger that logs to screen only.
createLogger(File, int) - Static method in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Creates a new logger that logs to screen only.
cursor - Variable in class com.softnetConsult.utils.collections.ArrayIterator
Cursor into the array.
cursor - Variable in class com.softnetConsult.utils.collections.ArrayIteratorBoolean
Cursor into the array.
cursor - Variable in class com.softnetConsult.utils.collections.ArrayIteratorByte
Cursor into the array.
cursor - Variable in class com.softnetConsult.utils.collections.ArrayIteratorChar
Cursor into the array.
cursor - Variable in class com.softnetConsult.utils.collections.ArrayIteratorDouble
Cursor into the array.
cursor - Variable in class com.softnetConsult.utils.collections.ArrayIteratorFloat
Cursor into the array.
cursor - Variable in class com.softnetConsult.utils.collections.ArrayIteratorInt
Cursor into the array.
cursor - Variable in class com.softnetConsult.utils.collections.ArrayIteratorLong
Cursor into the array.
cursor - Variable in class com.softnetConsult.utils.collections.ArrayIteratorShort
Cursor into the array.

D

decIndentLevel() - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Decrements the current indentation level.
DEFAULT_EPSILON - Static variable in class com.softnetConsult.utils.random.Poisson
Default value for epsilon when no other value is specified.
defaultArraySeparator - Static variable in class com.softnetConsult.utils.collections.ArrayTools
Default separator when converting arrays to Strings.
defaultBooleanBufferSize - Static variable in class com.softnetConsult.utils.random.FastRandom
Default buffer size for random booleans.
defaultDoubleBufferSize - Static variable in class com.softnetConsult.utils.random.FastRandom
Default buffer size for random doubles.
defaultIndentationLen - Static variable in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Default indentation length in characters.
defaultIntBufferSize - Static variable in class com.softnetConsult.utils.random.FastRandom
Default buffer size for random ints.
defaultLogfileExt - Static variable in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Default file extension for log files.
defaultLogfileName - Static variable in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Default base name for log files.
deleteAllRecursively(String) - Static method in class com.softnetConsult.utils.files.FileTools
Deletes the specified file; if the path specifies a directory all contained files and subdirectories are also deleted recursively.
deleteAllRecursively(String, List<File>, List<File>) - Static method in class com.softnetConsult.utils.files.FileTools
Deletes the specified file; if the path specifies a directory all contained files and subdirectories are also deleted recursively.
deleteAllRecursively(File) - Static method in class com.softnetConsult.utils.files.FileTools
Deletes the specified file; if the file specifies a directory all contained files and subdirectories are also deleted recursively.
deleteAllRecursively(File, List<File>, List<File>) - Static method in class com.softnetConsult.utils.files.FileTools
Deletes the specified file; if the file specifies a directory all contained files and subdirectories are also deleted recursively.
deleteRecursively(String) - Static method in class com.softnetConsult.utils.files.FileTools
Deletes the specified file, if the file specifies a directory all contained files and subdirectories are also deleted recursively.
deleteRecursively(File) - Static method in class com.softnetConsult.utils.files.FileTools
Deletes the specified file, if the file specifies a directory all contained files and subdirectories are also deleted recursively.
discretise(double) - Method in class com.softnetConsult.utils.math.Distribution
Discretises this sample into intervals of the specified length.
discretise(T, T, double) - Method in class com.softnetConsult.utils.math.Distribution
Discretises this sample into intervals of the specified length while only considering the observations between min and max (inclusive).

If S = (max - min) / interval, the resulting distribution will contain S observations if (max - min) is not exactly dividable by interval, otherwise it will contain S + 1 observations.
The first observation of the resulting distrinution will be min and the corresponding frequency will be the sum of the frequencies of all observations between min (inclusive) and min + inverval (exclusive) in this original distribution.
The n-th observation of the resulting distrinution will be (min + (n-1) * interval and the corresponding frequency will be the sum of the frequencies of all observations between min + (n-1) * inverval (inclusive) and min + n * inverval (exclusive) in this original distribution.
discretise(int) - Method in class com.softnetConsult.utils.math.Distribution
Discretises this sample into intervals of the specified length.
discretise(T, T, int) - Method in class com.softnetConsult.utils.math.Distribution
Discretises this sample into intervals of the specified length while only considering the observations between min and max (inclusive).

If S = (max - min) / interval, the resulting distribution will contain S observations if (max - min) is not exactly dividable by interval, otherwise it will contain S + 1 observations.
The first observation of the resulting distrinution will be min and the corresponding frequency will be the sum of the frequencies of all observations between min (inclusive) and min + inverval (exclusive) in this original distribution.
The n-th observation of the resulting distrinution will be (min + (n-1) * interval and the corresponding frequency will be the sum of the frequencies of all observations between min + (n-1) * inverval (inclusive) and min + n * inverval (exclusive) in this original distribution.
DisEnablingPanel - Class in com.softnetConsult.utils.swing
A JPanel which forwards its enabled state to all its child components.
DisEnablingPanel() - Constructor for class com.softnetConsult.utils.swing.DisEnablingPanel
 
DisEnablingPanel(boolean) - Constructor for class com.softnetConsult.utils.swing.DisEnablingPanel
 
DisEnablingPanel(LayoutManager) - Constructor for class com.softnetConsult.utils.swing.DisEnablingPanel
 
DisEnablingPanel(LayoutManager, boolean) - Constructor for class com.softnetConsult.utils.swing.DisEnablingPanel
 
dist - Variable in class com.softnetConsult.utils.math.Distribution
Stores the observed sample (MAP: observation -> number of times observed).
Distribution<T extends java.lang.Number> - Class in com.softnetConsult.utils.math
This class implements a sample distribution; it is a useful tool when undertaking a statistical analysis of value producing processes: it counts the number of times each value is observed (method Distribution.observe(Number)) and can be used conveniently for obtaining the number of observations within a certain range, discretising the observed sample, calculating mean, variance and other sample properties, printing and plotting the distribution, and so on.
Where possible, the methods provided by the class type of the sample values are used directly, for other computations the values are converted to double; be careful as this might have consequences if the type of the sampled variable cannot be exactly converted to double.
Distribution() - Constructor for class com.softnetConsult.utils.math.Distribution
Creates a new empty distribution sample.
Distribution(TreeMap<T, Integer>) - Constructor for class com.softnetConsult.utils.math.Distribution
Used internally for creating discretised sammples and sub-samples of this distribution.
doIndentation() - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Used internally to generate a correct indentation string.
doubleBuffer - Variable in class com.softnetConsult.utils.random.FastRandom
The buffer for random doubles.
doubleCursor - Variable in class com.softnetConsult.utils.random.FastRandom
Cursor for the double random numbers buffer.
doubleValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableByte
 
doubleValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableDouble
 
doubleValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableFloat
 
doubleValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableInt
 
doubleValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableLong
 
doubleValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableShort
 
doubleValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableString
 
doubleValue() - Method in interface com.softnetConsult.utils.mutableWrappers.MutableWrapper
 

E

elem1 - Variable in class com.softnetConsult.utils.collections.Pair
The first object of this Pair.
elem2 - Variable in class com.softnetConsult.utils.collections.Pair
The second object of this Pair.
enforceNumberFormatterReset() - Static method in class com.softnetConsult.utils.string.StringTools
Resets the internal number formatter such that next time it is required (e.g.
ensureMinLength(String, int) - Static method in class com.softnetConsult.utils.string.StringTools
Ensures that the specified string is not shorter than the specified length by prefixing it with a white spaces.
ensureMinLength(String, int, char) - Static method in class com.softnetConsult.utils.string.StringTools
Ensures that the specified string is not shorter than the specified length by prefixing it with the specified character as necessary.
epsilon - Variable in class com.softnetConsult.utils.random.Poisson
Specifies the completeness of the CDF table - the table is calculated until the approximated CDF value reaches 1.0 - epsilon.
equals(Object) - Method in class com.softnetConsult.utils.collections.Pair
Returns whether this Pair is equal to a specified object.
equals(Pair<?, ?>) - Method in class com.softnetConsult.utils.collections.Pair
Returns whether this Pair is equal to a specified Pair.
exec(String, boolean) - Static method in class com.softnetConsult.utils.reflect.ClassFileVersionTool
The actual main program.

F

factorial(int) - Static method in class com.softnetConsult.utils.math.MathTools
Computes the factorial of a specified number.
factorial(long) - Static method in class com.softnetConsult.utils.math.MathTools
Computes the factorial of a specified number.
factorial(double) - Static method in class com.softnetConsult.utils.math.MathTools
Computes an approximation to the factorial of a specified number using the fact that x! = gamma(x + 1).
factorialsInt - Static variable in class com.softnetConsult.utils.math.MathTools
Lookup tables of factorials that can be represented as an int.
factorialsLong - Static variable in class com.softnetConsult.utils.math.MathTools
Lookup tables of factorials that can be represented as a long.
FastRandom - Class in com.softnetConsult.utils.random
Provides a fast pseudorandom number generator by trading off memory for speed.
FastRandom() - Constructor for class com.softnetConsult.utils.random.FastRandom
Creates a new FastRandom with default buffer sizes.
FastRandom(long) - Constructor for class com.softnetConsult.utils.random.FastRandom
Creates a new FastRandom with default buffer sizes and a specified random seed.
FastRandom(int) - Constructor for class com.softnetConsult.utils.random.FastRandom
Creates a new FastRandom with buffers of the specified size.
FastRandom(long, int) - Constructor for class com.softnetConsult.utils.random.FastRandom
Creates a new FastRandom with buffers of the specified size a specified random seed.
FastRandom(int, int, int) - Constructor for class com.softnetConsult.utils.random.FastRandom
Creates a new FastRandom with buffers of the specified size.
FastRandom(long, int, int, int) - Constructor for class com.softnetConsult.utils.random.FastRandom
Creates a new FastRandom with buffers of the specified size a specified random seed.
FILE_EXTENSION_SEPARATOR - Static variable in class com.softnetConsult.utils.files.FileTools
 
FILE_NAME_UNIQUE_MAKER_TAG - Static variable in class com.softnetConsult.utils.files.FileTools
 
fileAppend - Variable in class com.softnetConsult.utils.log.ScreenFileLogger
Whether to append or overwrite when output file is (re)opened.
fileStream - Variable in class com.softnetConsult.utils.log.ScreenFileLogger
Output file stream.
FileTools - Class in com.softnetConsult.utils.files
This is a collection of static utility methods for dealing with files and parths.
FileTools() - Constructor for class com.softnetConsult.utils.files.FileTools
Prevents instances of this class from being created as this class contains only static utility methods.
finalize() - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Ensures that all associated streams are closed when this logger is finalised.
findUniqueFile(String, String, boolean) - Static method in class com.softnetConsult.utils.files.FileTools
Creates a File object describing a file with the specified base name and extension as well as an optional timestamp and an optional counter to make the file name unique; the program start directory is used for the path.
This methos works generally in the same way as FileTools.findUniqueFileName(String, String, String, boolean) and is equivalent to findUniqueFile(System.getProperty("user.dir"), fileName, fileExt, alwaysUseTimestamp).
findUniqueFile(String, String, String, boolean) - Static method in class com.softnetConsult.utils.files.FileTools
Creates a File object describing a file with the specified base name, extension and directory as well as an optional timestamp and an optional counter to make the file name unique.
findUniqueFileName(String, String, boolean) - Static method in class com.softnetConsult.utils.files.FileTools
Creates an absolute file name describing a file with the specified base name and extension as well as an optional timestamp and an optional counter to make the file name unique; the program start directory is used for the path.
This methos works generally in the same way as FileTools.findUniqueFileName(String, String, String, boolean) and is equivalent to findUniqueFile(fileName, fileExt, alwaysUseTimestamp).getAbsolutePath().
findUniqueFileName(String, String, String, boolean) - Static method in class com.softnetConsult.utils.files.FileTools
Creates an absolute file name describing a file with the specified base name, extension and directory as well as an optional timestamp and an optional counter to make the file name unique.
This methos works generally in the same way as FileTools.findUniqueFileName(String, String, String, boolean) and is equivalent to findUniqueFile(fileDir, fileName, fileExt, alwaysUseTimestamp).getAbsolutePath().
firePopupMenuWillBecomeVisible() - Method in class com.softnetConsult.utils.swing.ResizablePopupComboBox
 
floatValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableByte
 
floatValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableDouble
 
floatValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableFloat
 
floatValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableInt
 
floatValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableLong
 
floatValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableShort
 
floatValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableString
 
floatValue() - Method in interface com.softnetConsult.utils.mutableWrappers.MutableWrapper
 
formatTime(int, int, int, int, int) - Static method in class com.softnetConsult.utils.sys.SystemTools
Formats a time interval to a nicely readable format without the need to involve a formatter.
formatTimePeriod(long, long) - Static method in class com.softnetConsult.utils.sys.SystemTools
Formats the specified time period as specified in formatTime(int, int, int, int, int); note that timePeriod(long, long) is used to process the time period and therefore the same restrictions as in that method apply to this method.

G

gamma(double) - Static method in class com.softnetConsult.utils.math.MathTools
Computes an approximation to the gamma function.
gammaCoefficients - Static variable in class com.softnetConsult.utils.math.MathTools
Used for fast calculation of the gamma function.
generateDebugPrintout - Static variable in class com.softnetConsult.utils.random.FastRandom
Used internally for debug purposes.
getBaseName(String) - Static method in class com.softnetConsult.utils.files.FileTools
Gets the base name of the specified file name.
getBaseName(File) - Static method in class com.softnetConsult.utils.files.FileTools
Gets the base name of the specified name.
getClassVersionInfo(InputStream) - Static method in class com.softnetConsult.utils.reflect.ClassTools
Parses the version information from a a Java class binary.
getClassVersionInfo(File) - Static method in class com.softnetConsult.utils.sys.SystemTools
Gets the class version info of the specified Java class file.
getClassVersionInfo(String) - Static method in class com.softnetConsult.utils.sys.SystemTools
Gets the class version info of the specified Java class file.
getComboPopup() - Method in class com.softnetConsult.utils.swing.ResizablePopupComboBox
Gets the drop-down popup component for this combo box.
getData() - Method in class com.softnetConsult.utils.math.Distribution
Gets the data of this distribution as two arrays - one containing the observations, and the other containing the corresponding frequencies.
getEpsilon() - Method in class com.softnetConsult.utils.random.Poisson
The epsilon value used during the calculation of the CDF table.
getExtension(String) - Static method in class com.softnetConsult.utils.files.FileTools
Gets the extension of the specified file name including the extension delimeter (".").
getExtension(String, boolean) - Static method in class com.softnetConsult.utils.files.FileTools
Gets the extension of the specified file name.
getExtension(File) - Static method in class com.softnetConsult.utils.files.FileTools
Gets the extension of the specified file including the extension delimeter (".").
getExtension(File, boolean) - Static method in class com.softnetConsult.utils.files.FileTools
Gets the extension of the specified file.
getFile() - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Gets the file associated with this logger (regardless of whether this logger currently logs to a file).
getIndentLevel() - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Gets the current indentation level.
getIndentStr(int) - Static method in class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Constructs an indentation string of the required length.
getLambda() - Method in class com.softnetConsult.utils.random.Poisson
Returns expected mean and variance of this Poisson distribution.
getLogDistribution(double) - Method in class com.softnetConsult.utils.math.Distribution
Returns a new Distribution in which each observation frequency equals to the logarithm of the corresponding observation frequency of this distribution; all resulting non-integer frequencies are rounded to the nearest integer.
getLogToFile() - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Checks whether this logger currently writes to a file.
getLogToScreen() - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Checks whether this logger currently writes to the screen (std-out).
getMax() - Method in class com.softnetConsult.utils.math.Distribution
Gets the largest observation in this sample.
getMaximumPopupSize() - Method in class com.softnetConsult.utils.swing.ResizablePopupComboBox
Gets the maximum size for this combo box drop-down popup.
getMean() - Method in class com.softnetConsult.utils.math.Distribution
Computes the mean of this sample.
getMemInfoString() - Static method in class com.softnetConsult.utils.sys.SystemTools
Fetches the current memory information and formats the data in a human readable string.
getMin() - Method in class com.softnetConsult.utils.math.Distribution
Gets the smallest observation in this sample.
getMinimumPopupSize() - Method in class com.softnetConsult.utils.swing.ResizablePopupComboBox
Gets the minimum size for this combo box drop-down popup.
getMinimumRequiredJavaVersion(int, int) - Static method in class com.softnetConsult.utils.reflect.ClassTools
Determines the minimum JVM version required to run a class binary of the specified version.
getNameValueMap(Class<? extends Attributes>) - Static method in class com.softnetConsult.utils.attributes.AttributeManager
Takes an attribute class object and returns a mapping from the names of variables defined for the specified class (not object of that class) and their current (static) values.
getNewLine() - Static method in class com.softnetConsult.utils.math.Distribution
 
getObservations() - Method in class com.softnetConsult.utils.math.Distribution
Returns an unmodifiable Set view of the observations contained in this distribution sample.
getPlainFont(Component) - Static method in class com.softnetConsult.utils.swing.SwingTools
Returns a font which is the came as the font of the component, but with PLAIN style.
getSingeltonInstance() - Static method in class com.softnetConsult.utils.collections.NullIterator
Returns a singleton instance of NullIterator.
getSingeltonInstance(Class<T>) - Static method in class com.softnetConsult.utils.collections.NullIterator
Returns a singleton instance of NullIterator.
getSingeltonNumberFormatter() - Static method in class com.softnetConsult.utils.string.StringTools
Used internally to access a singelton instance of a default number formatter.
getStdDeviation() - Method in class com.softnetConsult.utils.math.Distribution
Computes the standard deviation of this sample.
getStringLiveGraphPlot() - Method in class com.softnetConsult.utils.math.Distribution
This method creates a string that - if saved to a file - can be loaded by the LiveGraph-plotter in order to plot this dirtribution sample.

The LiveGraph plotter framework is an open-source project written in Java available from http://www.live-graph.org.

The string returned by this method encodes all observations of this sample.
getStringLiveGraphPlot(String) - Method in class com.softnetConsult.utils.math.Distribution
This method creates a string that - if saved to a file - can be loaded by the LiveGraph-plotter in order to plot this dirtribution sample.

The LiveGraph plotter framework is an open-source project written in Java available from http://www.live-graph.org.

The string returned by this method encodes all observations of this sample.
getStringLiveGraphPlot(String[]) - Method in class com.softnetConsult.utils.math.Distribution
This method creates a string that - if saved to a file - can be loaded by the LiveGraph-plotter in order to plot this dirtribution sample.

The LiveGraph plotter framework is an open-source project written in Java available from http://www.live-graph.org.

The string returned by this method encodes all observations of this sample.
getStringStats() - Method in class com.softnetConsult.utils.math.Distribution
Creates a String that contains some basic statistical information about this sample, such as the number of observations, mean, variance and standard deviation.
getStringTable(boolean) - Method in class com.softnetConsult.utils.math.Distribution
Creates a String with a distribution table of this sample.
getStringTable() - Method in class com.softnetConsult.utils.math.Distribution
This is equivalent to getStringTable(true).
getStringTableD(boolean) - Method in class com.softnetConsult.utils.math.Distribution
Creates a String with a distribution table of this sample.
getStringTableD() - Method in class com.softnetConsult.utils.math.Distribution
This is equivalent to getStringTableD(true).
getStringTableI(boolean) - Method in class com.softnetConsult.utils.math.Distribution
Creates a String with a distribution table of this sample.
getStringTableI() - Method in class com.softnetConsult.utils.math.Distribution
This is equivalent to getStringTableI(true).
getVariance() - Method in class com.softnetConsult.utils.math.Distribution
Computes the variance of this sample.
getWrapperClass(Class<?>) - Static method in class com.softnetConsult.utils.reflect.ClassTools
Find the correct wrapper class for a primitive type.

H

hammingDistance(int, int, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Computes the haming distance between the bit-patterns that represent a and b, only len rightmost bits are considered.
hammingDistance(int, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Computes the haming distance between the bit-patterns that represent a and b.
hammingDistance(long, long, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Computes the haming distance between the bit-patterns that represent a and b, only len rightmost bits are considered.
hammingDistance(long, long) - Static method in class com.softnetConsult.utils.math.BitmapTools
Computes the haming distance between the bit-patterns that represent a and b.
hammingDistance(boolean[], boolean[]) - Static method in class com.softnetConsult.utils.math.BitmapTools
Computes the hamming distance between two boolean arrays of the same length.
hammingDistance(boolean[], int, boolean[], int, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Computes the hamming distance between specified sections of two boolean arrays.
hasNext() - Method in class com.softnetConsult.utils.collections.ArrayIterator
Returns true if this iteration has more elements.
hasNext() - Method in class com.softnetConsult.utils.collections.ArrayIteratorBoolean
Returns true if this iteration has more elements.
hasNext() - Method in class com.softnetConsult.utils.collections.ArrayIteratorByte
Returns true if this iteration has more elements.
hasNext() - Method in class com.softnetConsult.utils.collections.ArrayIteratorChar
Returns true if this iteration has more elements.
hasNext() - Method in class com.softnetConsult.utils.collections.ArrayIteratorDouble
Returns true if this iteration has more elements.
hasNext() - Method in class com.softnetConsult.utils.collections.ArrayIteratorFloat
Returns true if this iteration has more elements.
hasNext() - Method in class com.softnetConsult.utils.collections.ArrayIteratorInt
Returns true if this iteration has more elements.
hasNext() - Method in class com.softnetConsult.utils.collections.ArrayIteratorLong
Returns true if this iteration has more elements.
hasNext() - Method in class com.softnetConsult.utils.collections.ArrayIteratorShort
Returns true if this iteration has more elements.
hasNext() - Method in class com.softnetConsult.utils.collections.NullIterator
Returns false as the NullIterator has nothing to iterate over.
hasNext() - Method in class com.softnetConsult.utils.collections.ReadOnlyIterator
Returns true if the iteration has more elements.

I

incIndentLevel() - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Increments the current indentation level.
indentation - Variable in class com.softnetConsult.utils.log.ScreenFileLogger
Indentation string (one copy per level).
indentLevel - Variable in class com.softnetConsult.utils.log.ScreenFileLogger
Current indentation level.
indentNext - Variable in class com.softnetConsult.utils.log.ScreenFileLogger
Whether to indent next output.
intBuffer - Variable in class com.softnetConsult.utils.random.FastRandom
The buffer for random ints.
intCursor - Variable in class com.softnetConsult.utils.random.FastRandom
Cursor for the int random numbers buffer.
intValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableByte
 
intValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableDouble
 
intValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableFloat
 
intValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableInt
 
intValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableLong
 
intValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableShort
 
intValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableString
 
intValue() - Method in interface com.softnetConsult.utils.mutableWrappers.MutableWrapper
 
iterate(AET[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Creates an array iterator over the specified array.
iterate(boolean[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Creates an array iterator over the specified array.
iterate(byte[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Creates an array iterator over the specified array.
iterate(char[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Creates an array iterator over the specified array.
iterate(short[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Creates an array iterator over the specified array.
iterate(int[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Creates an array iterator over the specified array.
iterate(long[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Creates an array iterator over the specified array.
iterate(float[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Creates an array iterator over the specified array.
iterate(double[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Creates an array iterator over the specified array.
iterate(Object) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Creates an array iterator over the specified array.
iterator - Variable in class com.softnetConsult.utils.collections.ReadOnlyIterator
The encapsulated generic iterator;

J

JAVA_CLASSFILE_MAGIC_NUMBER - Static variable in class com.softnetConsult.utils.reflect.ClassTools
The magic number that must be contained in the first two bytes of all Java class binaries.
javaComplianceVersion - Static variable in interface com.softnetConsult.utils.APIProperties
Specifies the minimum Java version for this this SoftNet-Consult Java Utility Library distribution was built.

L

lambda - Variable in class com.softnetConsult.utils.random.Poisson
The lambda parameter of this Poisson distribution.
linearLeastSquaresDisplacement(double[], double[], double) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the displacement of the linear least squares fit to the specified data.
linearLeastSquaresDisplacement(double[], double[]) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the displacement of the linear least squares fit to the specified data.
linearLeastSquaresSlope(double[], double[]) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the slope of the linear least squares fit to the specified data.
LIST_SEPARATOR - Static variable in class com.softnetConsult.utils.attributes.AttributeManager
Separator used when printing a list of attributes.
ln2Pi - Static variable in class com.softnetConsult.utils.math.MathTools
Constant used for the canculation of the natural logarithm of the gamma function.
lnFactorial(double) - Static method in class com.softnetConsult.utils.math.MathTools
Computes an approximation to the natural logarithm of the factorial of a specified number.
lnGamma(double) - Static method in class com.softnetConsult.utils.math.MathTools
Computes an approximation to the natiral logarithm of the gamma function.
lnTransform(T1[], T2[]) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes a linear transform of the specified data.
lnTransform(Distribution<? extends Number>) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes a linear transform of the specified distribution sample by using the observed values as x-values and observation frequencies as y-values of a data series.
load(Class<? extends Attributes>, String) - Static method in class com.softnetConsult.utils.attributes.AttributeManager
Sets the values of the public static variables of an attribute class to the values loaded from the specified properties file.
log(double, double) - Static method in class com.softnetConsult.utils.math.MathTools
Returns the logarithm of the specified value to the specified base.
logFile - Variable in class com.softnetConsult.utils.log.ScreenFileLogger
Output file.
longValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableByte
 
longValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableDouble
 
longValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableFloat
 
longValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableInt
 
longValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableLong
 
longValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableShort
 
longValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableString
 
longValue() - Method in interface com.softnetConsult.utils.mutableWrappers.MutableWrapper
 

M

main(String[]) - Static method in class com.softnetConsult.utils.reflect.ClassFileVersionTool
This executable program prints version information about all Java class files within a specified subdirectory.
majorClassVersion - Variable in class com.softnetConsult.utils.reflect.ClassVersionInfo
The major version number of a Java class binary.
MathTools - Class in com.softnetConsult.utils.math
This class is a collection of static mathematical utility methods and functions.
MathTools() - Constructor for class com.softnetConsult.utils.math.MathTools
Prevents instances of this class from being created as this class contains only static utility methods.
MAX_INDENT_LEVEL - Static variable in class com.softnetConsult.utils.log.ScreenFileLogger
Maximum indentation level permitted.
maxObservation - Variable in class com.softnetConsult.utils.math.Distribution
Largest observation in this sample.
maxPopupSize - Variable in class com.softnetConsult.utils.swing.ResizablePopupComboBox
 
mean - Variable in class com.softnetConsult.utils.math.Distribution
Sample mean.
mean(Iterable<? extends Number>) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the mean of a specified number sequence.
mean(Iterator<? extends Number>) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the mean of a number sequence returned by the specified iterator.
mean(double[]) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the mean of an double number sequence.
mean(int[]) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the mean of an integer sequence.
minObservation - Variable in class com.softnetConsult.utils.math.Distribution
Smallest observation in this sample.
minorClassVersion - Variable in class com.softnetConsult.utils.reflect.ClassVersionInfo
The minor version number of a Java class binary.
minPopupSize - Variable in class com.softnetConsult.utils.swing.ResizablePopupComboBox
 
MutableByte - Class in com.softnetConsult.utils.mutableWrappers
This class wraps a single public variable of type byte - it can be used to emulate passing byte values by reference.
MutableByte() - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableByte
 
MutableByte(byte) - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableByte
 
MutableByte(String) - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableByte
 
MutableDouble - Class in com.softnetConsult.utils.mutableWrappers
This class wraps a single public variable of type double - it can be used to emulate passing double values by reference.
MutableDouble() - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableDouble
 
MutableDouble(double) - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableDouble
 
MutableDouble(String) - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableDouble
 
MutableFloat - Class in com.softnetConsult.utils.mutableWrappers
This class wraps a single public variable of type float - it can be used to emulate passing float values by reference.
MutableFloat() - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableFloat
 
MutableFloat(float) - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableFloat
 
MutableFloat(String) - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableFloat
 
MutableInt - Class in com.softnetConsult.utils.mutableWrappers
This class wraps a single public variable of type int - it can be used to emulate passing int values by reference.
MutableInt() - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableInt
 
MutableInt(int) - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableInt
 
MutableInt(String) - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableInt
 
MutableLong - Class in com.softnetConsult.utils.mutableWrappers
This class wraps a single public variable of type long - it can be used to emulate passing long values by reference.
MutableLong() - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableLong
 
MutableLong(long) - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableLong
 
MutableLong(String) - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableLong
 
MutableShort - Class in com.softnetConsult.utils.mutableWrappers
This class wraps a single public variable of type short - it can be used to emulate passing short values by reference.
MutableShort() - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableShort
 
MutableShort(short) - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableShort
 
MutableShort(String) - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableShort
 
MutableString - Class in com.softnetConsult.utils.mutableWrappers
This class wraps a single public variable of type String - it can be used to emulate passing string values by reference.
MutableString() - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableString
 
MutableString(String) - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableString
 
MutableString(Object) - Constructor for class com.softnetConsult.utils.mutableWrappers.MutableString
 
MutableWrapper - Interface in com.softnetConsult.utils.mutableWrappers
This is the superinterface for all mutable wrappers: mutable wrappers can be used to emulate calls by reference for primitive types.

N

newLine - Static variable in class com.softnetConsult.utils.math.Distribution
 
next() - Method in class com.softnetConsult.utils.collections.ArrayIterator
Returns the next element in this iteration.
next() - Method in class com.softnetConsult.utils.collections.ArrayIteratorBoolean
Returns the next element in this iteration converted to the appropriate wrapper type.
next() - Method in class com.softnetConsult.utils.collections.ArrayIteratorByte
Returns the next element in this iteration converted to the appropriate wrapper type.
next() - Method in class com.softnetConsult.utils.collections.ArrayIteratorChar
Returns the next element in this iteration converted to the appropriate wrapper type.
next() - Method in class com.softnetConsult.utils.collections.ArrayIteratorDouble
Returns the next element in this iteration converted to the appropriate wrapper type.
next() - Method in class com.softnetConsult.utils.collections.ArrayIteratorFloat
Returns the next element in this iteration converted to the appropriate wrapper type.
next() - Method in class com.softnetConsult.utils.collections.ArrayIteratorInt
Returns the next element in this iteration converted to the appropriate wrapper type.
next() - Method in class com.softnetConsult.utils.collections.ArrayIteratorLong
Returns the next element in this iteration converted to the appropriate wrapper type.
next() - Method in class com.softnetConsult.utils.collections.ArrayIteratorShort
Returns the next element in this iteration converted to the appropriate wrapper type.
next() - Method in class com.softnetConsult.utils.collections.NullIterator
Always throws a NoSuchElementException as the NullIterator has nothing to iterate over.
next() - Method in class com.softnetConsult.utils.collections.ReadOnlyIterator
Returns the next element in the iteration.
nextBoolean() - Method in class com.softnetConsult.utils.random.FastRandom
Returns the next pseudorandom boolean.
nextDouble() - Method in class com.softnetConsult.utils.random.FastRandom
Returns the next pseudorandom double.
nextInt() - Method in class com.softnetConsult.utils.random.FastRandom
Returns the next pseudorandom int.
nextRandom() - Method in class com.softnetConsult.utils.random.Poisson
Generates a new (pseudo-) random integer number from this Poisson-distribution.
nextValue() - Method in class com.softnetConsult.utils.collections.ArrayIteratorBoolean
Returns the next element in this iteration.
nextValue() - Method in class com.softnetConsult.utils.collections.ArrayIteratorByte
Returns the next element in this iteration.
nextValue() - Method in class com.softnetConsult.utils.collections.ArrayIteratorChar
Returns the next element in this iteration.
nextValue() - Method in class com.softnetConsult.utils.collections.ArrayIteratorDouble
Returns the next element in this iteration.
nextValue() - Method in class com.softnetConsult.utils.collections.ArrayIteratorFloat
Returns the next element in this iteration.
nextValue() - Method in class com.softnetConsult.utils.collections.ArrayIteratorInt
Returns the next element in this iteration.
nextValue() - Method in class com.softnetConsult.utils.collections.ArrayIteratorLong
Returns the next element in this iteration.
nextValue() - Method in class com.softnetConsult.utils.collections.ArrayIteratorShort
Returns the next element in this iteration.
normaliseBy(double) - Method in class com.softnetConsult.utils.math.Distribution
Returns a new Distribution in which each observation frequency equals to the observation frequency of this distribution divided by the specified value; all resulting non-integer frequencies are rounded to the nearest integer.
NullIterator<ET> - Class in com.softnetConsult.utils.collections
Provides an Null Iterator: the methods of this class perform no action and no elements are ever returned - this class can be used when a non-null Iterator object must be specified, but no actual iteration indended.
NullIterator() - Constructor for class com.softnetConsult.utils.collections.NullIterator
Constructs a new NullIterator.
nullName - Static variable in class com.softnetConsult.utils.collections.ArrayTools
A String representing a null.

O

observationCount - Variable in class com.softnetConsult.utils.math.Distribution
Number of observations in this sample.
observe(T) - Method in class com.softnetConsult.utils.math.Distribution
Adds an observation to this sample.
outs - Variable in class com.softnetConsult.utils.log.ScreenFileLogger
Aggregating output stream.

P

Pair<T1,T2> - Class in com.softnetConsult.utils.collections
A convenience memory structure to hold two objects.
Pair(T1, T2) - Constructor for class com.softnetConsult.utils.collections.Pair
Creates a new pair of the specified objects.
parseByte(String) - Static method in class com.softnetConsult.utils.string.StringTools
Parses a string to a byte-number using the current default locale.
This is equivalent to parseNumber(str).byteValue().
Note that the current locale is determined only once at the time when any of this class' methods parseXXXX(String) or toString(xxxx) is called for the first time.
parseDouble(String) - Static method in class com.softnetConsult.utils.string.StringTools
Parses a string to a double-number using the current default locale.
This is equivalent to parseNumber(str).doubleValue().
Note that the current locale is determined only once at the time when any of this class' methods parseXXXX(String) or toString(xxxx) is called for the first time.
parseFloat(String) - Static method in class com.softnetConsult.utils.string.StringTools
Parses a string to a float-number using the current default locale.
This is equivalent to parseNumber(str).floatValue().
Note that the current locale is determined only once at the time when any of this class' methods parseXXXX(String) or toString(xxxx) is called for the first time.
parseInt(String) - Static method in class com.softnetConsult.utils.string.StringTools
Parses a string to a int-number using the current default locale.
This is equivalent to parseNumber(str).intValue().
Note that the current locale is determined only once at the time when any of this class' methods parseXXXX(String) or toString(xxxx) is called for the first time.
parseLong(String) - Static method in class com.softnetConsult.utils.string.StringTools
Parses a string to a long-number using the current default locale.
This is equivalent to parseNumber(str).longValue().
Note that the current locale is determined only once at the time when any of this class' methods parseXXXX(String) or toString(xxxx) is called for the first time.
parseNumber(String) - Static method in class com.softnetConsult.utils.string.StringTools
Parses a string to a number using the current default locale.
Note that the current locale is determined only once at the time when any of this class' methods parseXXXX(String) or toString(xxxx) is called for the first time.
parseShort(String) - Static method in class com.softnetConsult.utils.string.StringTools
Parses a string to a short-number using the current default locale.
This is equivalent to parseNumber(str).shortValue().
Note that the current locale is determined only once at the time when any of this class' methods parseXXXX(String) or toString(xxxx) is called for the first time.
poisson(double, int) - Static method in class com.softnetConsult.utils.math.MathTools
Probability mass function of the Poisson distribution.
Poisson - Class in com.softnetConsult.utils.random
Creates Poisson-distributed pseudorandom numbers.
Poisson(double) - Constructor for class com.softnetConsult.utils.random.Poisson
Creates a generator for Poisson distributed random numbers with the specified lambda-parameter.
Poisson(double, Random) - Constructor for class com.softnetConsult.utils.random.Poisson
Creates a generator for Poisson distributed random numbers with the specified lambda-parameter and the specified source of random numbers.
Poisson(double, Random, double) - Constructor for class com.softnetConsult.utils.random.Poisson
Creates a generator for Poisson distributed random numbers.
pow10 - Static variable in class com.softnetConsult.utils.math.MathTools
Powers of 10 as integers for fast fetching.
pow10(int) - Static method in class com.softnetConsult.utils.math.MathTools
Raises 10 to a positive integer power.
pow10L - Static variable in class com.softnetConsult.utils.math.MathTools
Powers of 10 as longs for fast fetchng.
pow10L(int) - Static method in class com.softnetConsult.utils.math.MathTools
Raises 10 to a positive integer power.
prefPopupSize - Variable in class com.softnetConsult.utils.swing.ResizablePopupComboBox
 
print(Object) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints an object to std-out and/or file.
print(Throwable) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints extended information about a Thowable (including stack trace) to std-out and/or file.
print(String) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints a string to std-out and/or file.
print(char[]) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints a string to std-out and/or file.
print(boolean) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints the specified value to std-out and/or file.
print(char) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints the specified value to std-out and/or file.
print(int) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints the specified value to std-out and/or file.
print(long) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints the specified value to std-out and/or file.
print(float) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints the specified value to std-out and/or file.
print(double) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints the specified value to std-out and/or file.
printf(String, Object...) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Logs a formated string to std-out and/or file following the format specification defined for String.format(String, Object[]).
printInfo(String, ClassVersionInfo, ScreenFileLogger) - Static method in class com.softnetConsult.utils.reflect.ClassFileVersionTool
Prints version info for a class binary in a nice looing way.
println() - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Initiates a new line by emitting a new-line character to std-out and/or file.
println(Object) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints an object followed by a new line to std-out and/or file.
println(Throwable) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints extended information about a Thowable (including stack trace) followed by a new line to std-out and/or file.
println(String) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints a string followed by a new line to std-out and/or file.
println(char[]) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints a string followed by a new line to std-out and/or file.
println(boolean) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints the specified value followed by a new line to std-out and/or file.
println(char) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints the specified value followed by a new line to std-out and/or file.
println(int) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints the specified value followed by a new line to std-out and/or file.
println(long) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints the specified value followed by a new line to std-out and/or file.
println(float) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints the specified value followed by a new line to std-out and/or file.
println(double) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Prints the specified value followed by a new line to std-out and/or file.
printMemInfoLine() - Static method in class com.softnetConsult.utils.sys.SystemTools
Prints a human readable line with the current memory information to std-out, equivalent to System.out.println(getMemInfoString()).
printUsage() - Static method in class com.softnetConsult.utils.reflect.ClassFileVersionTool
Used internally to print detailed information about the command line parameters.
procClass(File, ScreenFileLogger) - Static method in class com.softnetConsult.utils.reflect.ClassFileVersionTool
Analyses the specified Java binary and prints its version info.
procDir(File, boolean, ScreenFileLogger) - Static method in class com.softnetConsult.utils.reflect.ClassFileVersionTool
Analyses the specified directory and prints the version info for all Java class files contained therein.
procZip(File, ScreenFileLogger) - Static method in class com.softnetConsult.utils.reflect.ClassFileVersionTool
Analyses the specified archive and prints the version info for all Java class files contained therein.

R

ReadOnlyIterator<T> - Class in com.softnetConsult.utils.collections
A generic read-only iterator.
ReadOnlyIterator(Iterator<? extends T>) - Constructor for class com.softnetConsult.utils.collections.ReadOnlyIterator
Creates a read-only iteretor for the specified iterator.
ReadOnlyIterator(Iterable<? extends T>) - Constructor for class com.softnetConsult.utils.collections.ReadOnlyIterator
Creates a read-only iteretor for the iterator over the specified iterable object.
ready - Variable in class com.softnetConsult.utils.random.FastRandom
Flag to show that this object has readily initialised.
remove() - Method in class com.softnetConsult.utils.collections.ArrayIterator
Removing of array elements is obviously not supported.
remove() - Method in class com.softnetConsult.utils.collections.ArrayIteratorBoolean
Removing of array elements is obviously not supported.
remove() - Method in class com.softnetConsult.utils.collections.ArrayIteratorByte
Removing of array elements is obviously not supported.
remove() - Method in class com.softnetConsult.utils.collections.ArrayIteratorChar
Removing of array elements is obviously not supported.
remove() - Method in class com.softnetConsult.utils.collections.ArrayIteratorDouble
Removing of array elements is obviously not supported.
remove() - Method in class com.softnetConsult.utils.collections.ArrayIteratorFloat
Removing of array elements is obviously not supported.
remove() - Method in class com.softnetConsult.utils.collections.ArrayIteratorInt
Removing of array elements is obviously not supported.
remove() - Method in class com.softnetConsult.utils.collections.ArrayIteratorLong
Removing of array elements is obviously not supported.
remove() - Method in class com.softnetConsult.utils.collections.ArrayIteratorShort
Removing of array elements is obviously not supported.
remove() - Method in class com.softnetConsult.utils.collections.NullIterator
Always throws a IllegalStateException as the NullIterator has nothing to remove.
remove() - Method in class com.softnetConsult.utils.collections.ReadOnlyIterator
Always throws UnsupportedOperationException.
removeRange(int, int) - Method in class com.softnetConsult.utils.collections.ArrayListRemovableRange
Removes from this list all of the elements whose index is between fromIndex, inclusive, and toIndex, exclusive.
reqJavaVersion - Variable in class com.softnetConsult.utils.reflect.ClassVersionInfo
The minimum version of the Java virtual machine required to execure a Java class binary with the major and minor versions specified by majorClassVersion and minorClassVersion respectively.
resetBuffers() - Method in class com.softnetConsult.utils.random.FastRandom
Used internally to fill the pseudorandom numbers buffers with values.
ResizablePopupComboBox - Class in com.softnetConsult.utils.swing
Implements a JComboBox that dynamically adjusts the size of its selection drop-down based on the assumption that all items will be displayed using their toString method.
ResizablePopupComboBox() - Constructor for class com.softnetConsult.utils.swing.ResizablePopupComboBox
Directly calls JComboBox.JComboBox().
ResizablePopupComboBox(ComboBoxModel) - Constructor for class com.softnetConsult.utils.swing.ResizablePopupComboBox
Directly calls JComboBox.JComboBox(ComboBoxModel).
ResizablePopupComboBox(Object[]) - Constructor for class com.softnetConsult.utils.swing.ResizablePopupComboBox
Directly calls JComboBox.JComboBox(Object[]).
ResizablePopupComboBox(Vector<?>) - Constructor for class com.softnetConsult.utils.swing.ResizablePopupComboBox
Directly calls JComboBox.JComboBox(Vector).
restart() - Method in class com.softnetConsult.utils.collections.ArrayIterator
Resets the internal cursor of this iterator to point to the start of the unederlying array.
restart() - Method in class com.softnetConsult.utils.collections.ArrayIteratorBoolean
Resets the internal cursor of this iterator to point to the start of the unederlying array.
restart() - Method in class com.softnetConsult.utils.collections.ArrayIteratorByte
Resets the internal cursor of this iterator to point to the start of the unederlying array.
restart() - Method in class com.softnetConsult.utils.collections.ArrayIteratorChar
Resets the internal cursor of this iterator to point to the start of the unederlying array.
restart() - Method in class com.softnetConsult.utils.collections.ArrayIteratorDouble
Resets the internal cursor of this iterator to point to the start of the unederlying array.
restart() - Method in class com.softnetConsult.utils.collections.ArrayIteratorFloat
Resets the internal cursor of this iterator to point to the start of the unederlying array.
restart() - Method in class com.softnetConsult.utils.collections.ArrayIteratorInt
Resets the internal cursor of this iterator to point to the start of the unederlying array.
restart() - Method in class com.softnetConsult.utils.collections.ArrayIteratorLong
Resets the internal cursor of this iterator to point to the start of the unederlying array.
restart() - Method in class com.softnetConsult.utils.collections.ArrayIteratorShort
Resets the internal cursor of this iterator to point to the start of the unederlying array.
rndSource - Variable in class com.softnetConsult.utils.random.Poisson
The source of uniformly independently distributed random numbers.
round(int, int) - Static method in class com.softnetConsult.utils.math.MathTools
Rounds the specified integer to the nearest specified power of 10.
For example:
round(12345, 0) = 12345
round(12345, 1) = 12340
round(12345, 2) = 12300
round(12345, 3) = 12000
round(12345, 4) = 10000
round(12345, 5) = 0
round(54321, 5) = 100000
round(long, int) - Static method in class com.softnetConsult.utils.math.MathTools
Rounds the specified long integer to the nearest specified power of 10.
For example:
round(12345, 0) = 12345
round(12345, 1) = 12340
round(12345, 2) = 12300
round(12345, 3) = 12000
round(12345, 4) = 10000
round(12345, 5) = 0
round(54321, 5) = 100000
round(double, int) - Static method in class com.softnetConsult.utils.math.MathTools
Rounds the specified number to the nearest specified power of 10.
round(float, int) - Static method in class com.softnetConsult.utils.math.MathTools
Rounds the specified number to the nearest specified power of 10.
rSquared(double[], double[]) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes "R-squared" - the coefficient of determination for a linear regression, in other words - the square of the linear correlation coefficient.

S

save(Class<? extends Attributes>, String) - Static method in class com.softnetConsult.utils.attributes.AttributeManager
Saves the values of static public variables of an attribute collection class to a Java properties file.
ScreenFileLogger - Class in com.softnetConsult.utils.log
This class provides a convenient way to direct text output to the screen (std-out) and to a file (file stream) at the same time, in addition it provides an easy way to make sure that all output is indented according to a specifiable level; this makes this class ideal for simple logging and tracking tasks.
ScreenFileLogger(boolean, boolean, String, boolean, String) - Constructor for class com.softnetConsult.utils.log.ScreenFileLogger
Creates a logger that can write all logged output to screen (or whatever is the current std-out) and/or to a file.
ScreenFileLogger(boolean, boolean, File, boolean, String) - Constructor for class com.softnetConsult.utils.log.ScreenFileLogger
Creates a logger that can write all logged output to screen (or whatever is the current std-out) and/or to a file.
ScreenFileLoggerFactory - Class in com.softnetConsult.utils.log
This class provides a number of convenience methods for creating ScreenFileLogger objects.
ScreenFileLoggerFactory() - Constructor for class com.softnetConsult.utils.log.ScreenFileLoggerFactory
Prevents instances of this class from being created as this class contains only static utility methods.
selectInterval(T, T) - Method in class com.softnetConsult.utils.math.Distribution
A sample that contains only the values of this sample between the specified boundaries.
setBit(byte, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Sets a specified bit in the specified bit-map to 1.
setBit(short, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Sets a specified bit in the specified bit-map to 1.
setBit(int, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Sets a specified bit in the specified bit-map to 1.
setBit(long, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Sets a specified bit in the specified bit-map to 1.
setEnabled(boolean) - Method in class com.softnetConsult.utils.swing.DisEnablingPanel
 
setIndentLevel(int) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Sets the indentation level to the specicied value.
setLogToFile(boolean) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Sets whether this logger will write to a for the subsequent print-actions.
setLogToScreen(boolean) - Method in class com.softnetConsult.utils.log.ScreenFileLogger
Sets whether this logger will write to the screen (std-out) for the subsequent print-actions.
setMaximumPopupSize(int, int) - Method in class com.softnetConsult.utils.swing.ResizablePopupComboBox
Sets the maximum size for this combo box drop-down popup.
setMaximumPopupSize(Dimension) - Method in class com.softnetConsult.utils.swing.ResizablePopupComboBox
Sets the maximum size for this combo box drop-down popup.
setMinimumPopupSize(int, int) - Method in class com.softnetConsult.utils.swing.ResizablePopupComboBox
Sets the minimum size for this combo box drop-down popup.
setMinimumPopupSize(Dimension) - Method in class com.softnetConsult.utils.swing.ResizablePopupComboBox
Sets the minimum size for this combo box drop-down popup.
setPopupSize() - Method in class com.softnetConsult.utils.swing.ResizablePopupComboBox
Calculates the size for the popup of this compo box using ResizablePopupComboBox.calcPopupSize() and sets that as the new drop-down popup size.
setPreferredPopupSize(int, int) - Method in class com.softnetConsult.utils.swing.ResizablePopupComboBox
Sets the preferred size for this combo box drop-down popup.
setPreferredPopupSize(Dimension) - Method in class com.softnetConsult.utils.swing.ResizablePopupComboBox
Sets the preferred size for this combo box drop-down popup.
setPreferredPopupSize() - Method in class com.softnetConsult.utils.swing.ResizablePopupComboBox
Gets the preferred size for this combo box drop-down popup.
setSeed(long) - Method in class com.softnetConsult.utils.random.FastRandom
Sets the seed of this random number generator and then re-computes all buffers.
shortValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableByte
 
shortValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableDouble
 
shortValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableFloat
 
shortValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableInt
 
shortValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableLong
 
shortValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableShort
 
shortValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableString
 
shortValue() - Method in interface com.softnetConsult.utils.mutableWrappers.MutableWrapper
 
singeltonInstance - Static variable in class com.softnetConsult.utils.collections.NullIterator
A singleton instance of the NullIterator.
singeltonNumberFormatter - Static variable in class com.softnetConsult.utils.string.StringTools
An internal singelton instance of a default number formatter.
sleep(long) - Static method in class com.softnetConsult.utils.sys.SystemTools
Allows calling Thread.sleep without the nuisance of surrounding the call with a try-catch block.
sleep(long, int) - Static method in class com.softnetConsult.utils.sys.SystemTools
Allows calling Thread.sleep without the nuisance of surrounding the call with a try-catch block.
sqrt2Pi - Static variable in class com.softnetConsult.utils.math.MathTools
Constant used for the calculation of the gamma function.
stackTraceToString(Throwable) - Static method in class com.softnetConsult.utils.exceptions.ThrowableTools
Returns the output of the printStackTrace-method of the specified object in form of a string.
StatsTools - Class in com.softnetConsult.utils.math
This class is a collection of static statistical utility methods and functions.
StatsTools() - Constructor for class com.softnetConsult.utils.math.StatsTools
Prevents instances of this class from being created as this class contains only static utility methods.
stdDeviation(Iterable<? extends Number>) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the standard deviation of a specified sequence.
stdDeviation(Iterable<? extends Number>, double) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the standard deviation of a specified sequence.
stdDeviation(Iterator<? extends Number>) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the standard deviation of a number sequence returned by the specified iterator.
stdDeviation(Iterator<? extends Number>, double) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the standard deviation of a number sequence returned by the specified iterator.
stdDeviation(double[]) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the standard deviation of a specified sequence.
stdDeviation(double[], double) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the standard deviation of a specified sequence.
stdDeviation(int[]) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the standard deviation of a specified sequence.
stdDeviation(int[], double) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the standard deviation of a specified sequence.
StringTools - Class in com.softnetConsult.utils.string
Defines static utility methods for string processing.
StringTools() - Constructor for class com.softnetConsult.utils.string.StringTools
Prevents instances of this class from being created as this class contains only static utility methods.
stringValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableByte
 
stringValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableDouble
 
stringValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableFloat
 
stringValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableInt
 
stringValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableLong
 
stringValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableShort
 
stringValue() - Method in class com.softnetConsult.utils.mutableWrappers.MutableString
 
stringValue() - Method in interface com.softnetConsult.utils.mutableWrappers.MutableWrapper
 
SwingTools - Class in com.softnetConsult.utils.swing
A collection of static utility methods providing various swing utilities.
SwingTools() - Constructor for class com.softnetConsult.utils.swing.SwingTools
Prevents instances of this class from being created as this class contains only static utility methods.
SystemTools - Class in com.softnetConsult.utils.sys
Static system, memory and time management utility functions.
SystemTools() - Constructor for class com.softnetConsult.utils.sys.SystemTools
Prevents instances of this class from being created as this class contains only static utility methods.

T

table - Variable in class com.softnetConsult.utils.random.Poisson
The CDF table.
tableSearch(double) - Method in class com.softnetConsult.utils.random.Poisson
Used internally to look up the value of the inverse of the cumulative distribution function of the Poisson distribution.
ThrowableTools - Class in com.softnetConsult.utils.exceptions
This is a collection of static utility methods for dealing with exceptions and other Throwable objects.
ThrowableTools() - Constructor for class com.softnetConsult.utils.exceptions.ThrowableTools
Prevents instances of this class from being created as this class contains only static utility methods.
timePeriod(long, long) - Static method in class com.softnetConsult.utils.sys.SystemTools
Determines how many days, hours, minutes, seconds and milliseconds the specified time period contains.
toggleBit(byte, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Toggles a specified bit in the specified bit-map from 1 to 0 or from 0 to 1 respectively.
toggleBit(short, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Toggles a specified bit in the specified bit-map from 1 to 0 or from 0 to 1 respectively.
toggleBit(int, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Toggles a specified bit in the specified bit-map from 1 to 0 or from 0 to 1 respectively.
toggleBit(long, int) - Static method in class com.softnetConsult.utils.math.BitmapTools
Toggles a specified bit in the specified bit-map from 1 to 0 or from 0 to 1 respectively.
toString() - Method in class com.softnetConsult.utils.mutableWrappers.MutableByte
 
toString() - Method in class com.softnetConsult.utils.mutableWrappers.MutableDouble
 
toString() - Method in class com.softnetConsult.utils.mutableWrappers.MutableFloat
 
toString() - Method in class com.softnetConsult.utils.mutableWrappers.MutableInt
 
toString() - Method in class com.softnetConsult.utils.mutableWrappers.MutableLong
 
toString() - Method in class com.softnetConsult.utils.mutableWrappers.MutableShort
 
toString() - Method in class com.softnetConsult.utils.mutableWrappers.MutableString
 
toString() - Method in interface com.softnetConsult.utils.mutableWrappers.MutableWrapper
 
toString(byte) - Static method in class com.softnetConsult.utils.string.StringTools
Formats a byte-value to a String using the current default locale.
Note that the current locale is determined only once at the time when any of this class' methods parseXXXX(String) or toString(xxxx) is called for the first time.
toString(short) - Static method in class com.softnetConsult.utils.string.StringTools
Formats a short-value to a String using the current default locale.
Note that the current locale is determined only once at the time when any of this class' methods parseXXXX(String) or toString(xxxx) is called for the first time.
toString(int) - Static method in class com.softnetConsult.utils.string.StringTools
Formats a int-value to a String using the current default locale.
Note that the current locale is determined only once at the time when any of this class' methods parseXXXX(String) or toString(xxxx) is called for the first time.
toString(long) - Static method in class com.softnetConsult.utils.string.StringTools
Formats a long-value to a String using the current default locale.
Note that the current locale is determined only once at the time when any of this class' methods parseXXXX(String) or toString(xxxx) is called for the first time.
toString(float) - Static method in class com.softnetConsult.utils.string.StringTools
Formats a float-value to a String using the current default locale.
Note that the current locale is determined only once at the time when any of this class' methods parseXXXX(String) or toString(xxxx) is called for the first time.
toString(double) - Static method in class com.softnetConsult.utils.string.StringTools
Formats a double-value to a String using the current default locale.
Note that the current locale is determined only once at the time when any of this class' methods parseXXXX(String) or toString(xxxx) is called for the first time.
toWrapperArray(boolean[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts an array of primitive boolean values to an array of Boolean objects wrapping the respective primitive values.
toWrapperArray(byte[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts an array of primitive byte values to an array of Byte objects wrapping the respective primitive values.
toWrapperArray(char[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts an array of primitive char values to an array of Character objects wrapping the respective primitive values.
toWrapperArray(short[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts an array of primitive short values to an array of Short objects wrapping the respective primitive values.
toWrapperArray(int[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts an array of primitive int values to an array of Integer objects wrapping the respective primitive values.
toWrapperArray(long[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts an array of primitive long values to an array of Long objects wrapping the respective primitive values.
toWrapperArray(float[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts an array of primitive float values to an array of Float objects wrapping the respective primitive values.
toWrapperArray(double[]) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts an array of primitive double values to an array of Double objects wrapping the respective primitive values.
toWrapperArray(Object) - Static method in class com.softnetConsult.utils.collections.ArrayTools
Converts an array of primitive values to an array of appropriate wrapper objects wrapping the respective primitive values.
transToUnitInterval(double, double, double) - Static method in class com.softnetConsult.utils.math.MathTools
Linearly transforms the specified value value from the specified value range interval [valueRangeMin, valueRangeMax] into the unit interval [0, 1].

U

UnexpectedSwitchCase - Error in com.softnetConsult.utils.exceptions
A Throwable Bug (Error) that should be thrown to report that an unexpected case within a switch statement cas been encountered.
UnexpectedSwitchCase(byte) - Constructor for error com.softnetConsult.utils.exceptions.UnexpectedSwitchCase
Constructs a new UnexpectedSwitchCase-Bug that indicates that an unexpected case was encountered within a switch statement that forks on a variable of type byte.
UnexpectedSwitchCase(char) - Constructor for error com.softnetConsult.utils.exceptions.UnexpectedSwitchCase
Constructs a new UnexpectedSwitchCase-Bug that indicates that an unexpected case was encountered within a switch statement that forks on a variable of type char.
UnexpectedSwitchCase(short) - Constructor for error com.softnetConsult.utils.exceptions.UnexpectedSwitchCase
Constructs a new UnexpectedSwitchCase-Bug that indicates that an unexpected case was encountered within a switch statement that forks on a variable of type short.
UnexpectedSwitchCase(int) - Constructor for error com.softnetConsult.utils.exceptions.UnexpectedSwitchCase
Constructs a new UnexpectedSwitchCase-Bug that indicates that an unexpected case was encountered within a switch statement that forks on a variable of type int.
UnexpectedSwitchCase(Byte) - Constructor for error com.softnetConsult.utils.exceptions.UnexpectedSwitchCase
Constructs a new UnexpectedSwitchCase-Bug that indicates that an unexpected case was encountered within a switch statement that forks on a variable of type Byte.
UnexpectedSwitchCase(Character) - Constructor for error com.softnetConsult.utils.exceptions.UnexpectedSwitchCase
Constructs a new UnexpectedSwitchCase-Bug that indicates that an unexpected case was encountered within a switch statement that forks on a variable of type Character.
UnexpectedSwitchCase(Short) - Constructor for error com.softnetConsult.utils.exceptions.UnexpectedSwitchCase
Constructs a new UnexpectedSwitchCase-Bug that indicates that an unexpected case was encountered within a switch statement that forks on a variable of type Short.
UnexpectedSwitchCase(Integer) - Constructor for error com.softnetConsult.utils.exceptions.UnexpectedSwitchCase
Constructs a new UnexpectedSwitchCase-Bug that indicates that an unexpected case was encountered within a switch statement that forks on a variable of type Integer.
UnexpectedSwitchCase(E) - Constructor for error com.softnetConsult.utils.exceptions.UnexpectedSwitchCase
Constructs a new UnexpectedSwitchCase-Bug that indicates that an unexpected case was encountered within a switch statement that forks on a variable of an Enum-type E.
updateUI() - Method in class com.softnetConsult.utils.swing.ResizablePopupComboBox
 

V

value - Variable in class com.softnetConsult.utils.mutableWrappers.MutableByte
 
value - Variable in class com.softnetConsult.utils.mutableWrappers.MutableDouble
 
value - Variable in class com.softnetConsult.utils.mutableWrappers.MutableFloat
 
value - Variable in class com.softnetConsult.utils.mutableWrappers.MutableInt
 
value - Variable in class com.softnetConsult.utils.mutableWrappers.MutableLong
 
value - Variable in class com.softnetConsult.utils.mutableWrappers.MutableShort
 
value - Variable in class com.softnetConsult.utils.mutableWrappers.MutableString
 
variance - Variable in class com.softnetConsult.utils.math.Distribution
Sample variance.
variance(Iterable<? extends Number>) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the variance of a specified sequence.
variance(Iterable<? extends Number>, double) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the variance of a specified sequence assuming that the mean is already known.
variance(Iterator<? extends Number>) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the variance of a number sequence returned by the specified iterator.
variance(Iterator<? extends Number>, double) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the variance of a number sequence returned by the specified iterator.
variance(double[]) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the variance of a specified sequence.
variance(double[], double) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the variance of a specified sequence.
variance(int[]) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the variance of a specified sequence.
variance(int[], double) - Static method in class com.softnetConsult.utils.math.StatsTools
Computes the variance of a specified sequence.

W

wait(long, Object) - Static method in class com.softnetConsult.utils.sys.SystemTools
Allows calling Object.wait without the nuisance of surrounding the call with a try-catch block.
wait(long, int, Object) - Static method in class com.softnetConsult.utils.sys.SystemTools
Allows calling Object.wait without the nuisance of surrounding the call with a try-catch block.
writeToFile(String, String) - Static method in class com.softnetConsult.utils.files.FileTools
Writes a specified string to the specified file; the file is always overwritten.
writeToFile(String, String, boolean) - Static method in class com.softnetConsult.utils.files.FileTools
Writes a specified string to the specified file.

A B C D E F G H I J L M N O P R S T U V W
SoftNet-Consult Java Utility Library is a member of SourceForge.net