- accept(ClassInfo, ClassFinder) - Method in class org.wikibrain.conf.ProviderFilter
-
- add(File) - Method in class org.clapper.util.classutil.ClassFinder
-
Add a jar file, zip file or directory to the list of places to search
for classes.
- add(File[]) - Method in class org.clapper.util.classutil.ClassFinder
-
Add an array jar files, zip files and/or directories to the list of
places to search for classes.
- add(Collection<File>) - Method in class org.clapper.util.classutil.ClassFinder
-
Add a Collection of jar files, zip files and/or directories
to the list of places to search for classes.
- add(int) - Method in class org.wikibrain.utils.AtomicIntSet
-
Adds the specified value to the set.
- add(long) - Method in class org.wikibrain.utils.AtomicLongSet
-
Adds the specified value to the set.
- add(T, double) - Method in class org.wikibrain.utils.Scoreboard
-
- add(double, double[], double[], double[]) - Static method in class org.wikibrain.utils.WbMathUtils
-
v1 <- alpha * v2 + v3
- add(double, double[], double[], float[]) - Static method in class org.wikibrain.utils.WbMathUtils
-
v1 <- alpha * v2 + v3
- add(double, double[], float[], float[]) - Static method in class org.wikibrain.utils.WbMathUtils
-
v1 <- alpha * v2 + v3
- add(float, float[], float[], float[]) - Static method in class org.wikibrain.utils.WbMathUtils
-
v1 <- alpha * v2 + v3
- addAndGet(int, int) - Method in class org.wikibrain.utils.AtomicByteArray
-
Atomically adds the given value to the element at index i
.
- addArguments(String[]) - Method in class org.wikibrain.utils.WbCommandLine
-
- addClassPath() - Method in class org.clapper.util.classutil.ClassFinder
-
Add the contents of the system classpath for classes.
- addMap(Map<T1, Double>) - Method in class org.wikibrain.utils.SummingHashMap
-
- addValue(T1, Integer) - Method in class org.wikibrain.utils.SummingHashMap
-
- addValue(T1, Double) - Method in class org.wikibrain.utils.SummingHashMap
-
- appendBootClasspath(String) - Method in class org.wikibrain.utils.JavaProcessBuilder
-
- appendBootClasspath(File) - Method in class org.wikibrain.utils.JavaProcessBuilder
-
- appendBootClasspath() - Method in class org.wikibrain.utils.JavaProcessBuilder
-
- arg(String) - Method in class org.wikibrain.utils.JavaProcessBuilder
-
- args() - Method in class org.wikibrain.utils.JavaProcessBuilder
-
- Argument() - Constructor for class org.wikibrain.utils.WbCommandLine.Argument
-
- AtomicByteArray - Class in org.wikibrain.utils
-
A byte
array in which elements may be updated atomically.
- AtomicByteArray(int) - Constructor for class org.wikibrain.utils.AtomicByteArray
-
Creates a new AtomicByteArray of the given length, with all
elements initially zero.
- AtomicIntSet - Class in org.wikibrain.utils
-
An implement of a set containing int that uses open addressing
The implementation is threadsafe and almost entirely lock-free.
- AtomicIntSet() - Constructor for class org.wikibrain.utils.AtomicIntSet
-
- AtomicIntSet(int) - Constructor for class org.wikibrain.utils.AtomicIntSet
-
Create a new set with the specified capacity.
- AtomicLongSet - Class in org.wikibrain.utils
-
An implement of a set containing longs that uses open addressing
The implementation is threadsafe and almost entirely lock-free.
- AtomicLongSet() - Constructor for class org.wikibrain.utils.AtomicLongSet
-
- AtomicLongSet(int) - Constructor for class org.wikibrain.utils.AtomicLongSet
-
Create a new set with the specified capacity.
- call(T) - Method in interface org.wikibrain.utils.Function
-
Call the function.
- call(T) - Method in interface org.wikibrain.utils.Procedure
-
Call the function.
- ClassFinder - Class in org.clapper.util.classutil
-
A ClassFinder object is used to find classes.
- ClassFinder() - Constructor for class org.clapper.util.classutil.ClassFinder
-
Create a new ClassFinder that will search for classes
using the default class loader.
- classForShortName(String) - Static method in class org.wikibrain.utils.JvmUtils
-
Returns the first class in the classpath that has the specified short name.
- classpath(String) - Method in class org.wikibrain.utils.JavaProcessBuilder
-
- classpath(File) - Method in class org.wikibrain.utils.JavaProcessBuilder
-
- classpath() - Method in class org.wikibrain.utils.JavaProcessBuilder
-
- clear() - Method in class org.clapper.util.classutil.ClassFinder
-
Clear the finder's notion of where to search.
- clear() - Method in class org.wikibrain.utils.AtomicIntSet
-
Removes all elements in the set.
- clear() - Method in class org.wikibrain.utils.AtomicLongSet
-
Removes all elements in the set.
- clear() - Method in class org.wikibrain.utils.WbCommandLine
-
Clear out the whole command line.
- clearArgs() - Method in class org.wikibrain.utils.WbCommandLine
-
Clear out the arguments but leave the executable in place for
another operation.
- client() - Method in class org.wikibrain.utils.JavaProcessBuilder
-
- clone() - Method in class org.wikibrain.utils.WbCommandLine
-
- close() - Method in class org.wikibrain.conf.Configurator
-
Tries to close all open components, clears the components map.
- close() - Method in class org.wikibrain.utils.ObjectDb
-
Close and flush the concept database.
- close() - Method in class org.wikibrain.utils.ObjectDb.KeyIterator
-
- close() - Method in class org.wikibrain.utils.SevenZipBuffer
-
- command() - Method in class org.wikibrain.utils.JavaProcessBuilder
-
Returns command with all its arguments
- compare(K, K) - Method in class org.wikibrain.utils.MapValueComparator
-
- compareAndSet(int, byte, byte) - Method in class org.wikibrain.utils.AtomicByteArray
-
Atomically sets the element at position i
to the given
updated value if the current value ==
the expected value.
- Configuration - Class in org.wikibrain.conf
-
A generic configuration file.
- Configuration() - Constructor for class org.wikibrain.conf.Configuration
-
Create a configuration file using default settings.
- Configuration(File) - Constructor for class org.wikibrain.conf.Configuration
-
Creates a configuration file with the specified settings.
- Configuration(Map<String, Object>, File...) - Constructor for class org.wikibrain.conf.Configuration
-
Creates a configuration using a specific chain of overrridden configurations.
- ConfigurationException - Exception in org.wikibrain.conf
-
- ConfigurationException(String, Exception) - Constructor for exception org.wikibrain.conf.ConfigurationException
-
- ConfigurationException(Exception) - Constructor for exception org.wikibrain.conf.ConfigurationException
-
- ConfigurationException(String) - Constructor for exception org.wikibrain.conf.ConfigurationException
-
- Configurator - Class in org.wikibrain.conf
-
Binds together providers for a collection of components.
- Configurator(Configuration) - Constructor for class org.wikibrain.conf.Configurator
-
Constructs a new configuration object with the specified configuration.
- construct(Class<T>, String, Config, Map<String, String>) - Method in class org.wikibrain.conf.Configurator
-
Constructs an instance of the specified class with the passed
in config.
- contains(int) - Method in class org.wikibrain.utils.AtomicIntSet
-
Returns true iff the set contains the specified value.
- contains(long) - Method in class org.wikibrain.utils.AtomicLongSet
-
Returns true iff the set contains the specified value.
- create(char) - Method in class org.wikibrain.conf.DefaultOptionBuilder
-
Create an Option using the current settings and with
the specified Option char
.
- create() - Method in class org.wikibrain.conf.DefaultOptionBuilder
-
Create an Option using the current settings
- create(String) - Method in class org.wikibrain.conf.DefaultOptionBuilder
-
Create an Option using the current settings and with
the specified Option char
.
- createArgument() - Method in class org.wikibrain.utils.WbCommandLine
-
Creates an argument object.
- createArgument(boolean) - Method in class org.wikibrain.utils.WbCommandLine
-
Creates an argument object and adds it to our list of args.
- createMarker() - Method in class org.wikibrain.utils.WbCommandLine
-
Return a marker.
- createTempDirectory(String, boolean) - Static method in class org.wikibrain.utils.WpIOUtils
-
Creates a new temporary directory
- createTempDirectory(String) - Static method in class org.wikibrain.utils.WpIOUtils
-
- get() - Method in class org.wikibrain.conf.Configuration
-
Returns the sub config object.
- get(Class<T>, String) - Method in class org.wikibrain.conf.Configurator
-
- get(Class<T>, String, String, String) - Method in class org.wikibrain.conf.Configurator
-
Get a component with a single runtime parameter
- get(Class<T>, String, Map<String, String>) - Method in class org.wikibrain.conf.Configurator
-
Get a specific named instance of the component with the specified class.
- get(Class<T>) - Method in class org.wikibrain.conf.Configurator
-
Get a specific named instance of the component with the specified class.
- get(String, Config, Map<String, String>) - Method in class org.wikibrain.conf.Provider
-
Should return a configured instance of the requested class,
or null if it cannot be created by this provider.
- get(int) - Method in class org.wikibrain.utils.AtomicByteArray
-
Gets the current value at position i
.
- get(String) - Method in class org.wikibrain.utils.ObjectDb
-
Returns the value associated with the key, or null if none exists.
- get(String) - Static method in enum org.wikibrain.utils.OS
-
- get() - Static method in enum org.wikibrain.utils.OS
-
- getAndAdd(int, int) - Method in class org.wikibrain.utils.AtomicByteArray
-
Atomically adds the given value to the element at index i
.
- getAndDecrement(int) - Method in class org.wikibrain.utils.AtomicByteArray
-
Atomically decrements by one the element at index i
.
- getAndIncrement(int) - Method in class org.wikibrain.utils.AtomicByteArray
-
Atomically increments by one the element at index i
.
- getArguments() - Method in class org.wikibrain.utils.WbCommandLine
-
Returns all arguments defined by addLine
,
addValue
or the argument object.
- getBoolean(String...) - Method in class org.wikibrain.conf.Configuration
-
- getClassPath() - Static method in class org.wikibrain.utils.JvmUtils
-
Returns a carefully constructed classpath matching the current process.
- getClassPathAsList() - Static method in class org.wikibrain.utils.JvmUtils
-
- getCommandline() - Method in class org.wikibrain.utils.WbCommandLine
-
Returns the executable and all defined arguments.
- getConf() - Method in class org.wikibrain.conf.Configurator
-
- getConfig(String...) - Method in class org.wikibrain.conf.Configuration
-
- getConfig(Class, String) - Method in class org.wikibrain.conf.Configurator
-
Returns the config object associated with the given class and name.
- getConfig() - Method in class org.wikibrain.conf.Provider
-
- getConfigurator() - Method in class org.wikibrain.conf.Provider
-
- getCopy() - Method in class org.wikibrain.utils.SummingHashMap
-
- getDb() - Method in class org.wikibrain.utils.ObjectDb
-
Gets the underlying database.
- getDouble(String...) - Method in class org.wikibrain.conf.Configuration
-
- getDoubleList(String...) - Method in class org.wikibrain.conf.Configuration
-
- getElement(int) - Method in class org.wikibrain.utils.Scoreboard
-
- getEnvironment() - Method in class org.wikibrain.utils.ObjectDb
-
Gets the underlying database environment.
- getExecutable() - Method in class org.wikibrain.utils.WbCommandLine
-
- getFile(String...) - Method in class org.wikibrain.conf.Configuration
-
- getFullClassName(String) - Static method in class org.wikibrain.utils.JvmUtils
-
Returns the first element in the classpath that has the specified short name.
- getInt(String...) - Method in class org.wikibrain.conf.Configuration
-
- getLastModifiedfromDir(File) - Static method in class org.wikibrain.utils.WpIOUtils
-
Return the most recent tstamp among files in a diretory.
- getMaximum() - Method in class org.wikibrain.utils.SummingHashMap
-
- getMaxThreads() - Static method in class org.wikibrain.utils.WpThreadUtils
-
- getParts() - Method in class org.wikibrain.utils.WbCommandLine.Argument
-
Returns the parts this Argument consists of.
- getPath() - Method in class org.wikibrain.conf.Provider
-
Returns the path in the configuration file for the components.
- getPercentCompleted() - Method in class org.wikibrain.utils.SevenZipBuffer
-
- getPosition() - Method in class org.wikibrain.utils.WbCommandLine.Marker
-
Return the number of arguments that preceeded this marker.
- getRelativePath(File, File) - Static method in class org.wikibrain.utils.WpIOUtils
-
Gets the path relative to a specified directory.
- getScope() - Method in class org.wikibrain.conf.Provider
-
Returns the scope of the
- getScore(int) - Method in class org.wikibrain.utils.Scoreboard
-
- getString(String...) - Method in class org.wikibrain.conf.Configuration
-
- getStringList(String...) - Method in class org.wikibrain.conf.Configuration
-
- getSum() - Method in class org.wikibrain.utils.SummingHashMap
-
- getTotalBytes() - Method in class org.wikibrain.utils.SevenZipBuffer
-
- getType() - Method in class org.wikibrain.conf.Provider
-
Returns the base class or interface that the class provides.
- grow(int[], int) - Static method in class org.wikibrain.utils.WbArrayUtils
-
- grow(String[], int) - Static method in class org.wikibrain.utils.WbArrayUtils
-