A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

A

AbstractFilter - Class in bb.servlet
This abstract filter class implements some functionality that will likely be common to all filters: a AbstractFilter.filterConfig field, as well as init, destroy, and toString methods.
AbstractFilter() - Constructor for class bb.servlet.AbstractFilter
 
accept(File) - Method in class bb.io.filefilter.BaseFilter
Reports whether or not file is accepted by this filter and fires the event to the FileFilterListener if it is non-null.
accept(File) - Method in class bb.io.filefilter.CompoundFilter
Reports whether or not file is accepted by this instance.
acceptClass(Class, Object) - Method in class bb.util.ObjectState.AcceptOnlyImmediateClass
Returns clazz.equals(object.getClass()).
acceptClass(Class, Object) - Method in class bb.util.ObjectState.FieldFilterAbstract
Always returns true.
acceptClass(Class, Object) - Method in interface bb.util.ObjectState.Filter
Returns true if this instance accepts clazz for object.
acceptClass(Class, Object) - Method in class bb.util.ObjectState.RejectInterfaces
Returns !
acceptClass(Class, Object) - Method in class bb.util.ObjectState.RejectObjectClass
Returns !
accepted(File, String) - Method in interface bb.io.filefilter.FileFilterListener
Called when file has just been accepted by a filter.
acceptField(Field, Object) - Method in class bb.util.ObjectState.AcceptOnlyPublicProtectedFields
Returns !
acceptField(Field, Object) - Method in class bb.util.ObjectState.ClassFilterAbstract
Always returns true.
acceptField(Field, Object) - Method in interface bb.util.ObjectState.Filter
Returns true if this instance accepts field for object.
acceptField(Field, Object) - Method in class bb.util.ObjectState.RejectStaticFields
Returns !
acceptImpl(File) - Method in class bb.io.filefilter.BaseFilter
Reports whether or not file is accepted by this filter.
accepts(Date) - Method in class bb.util.DateConstraint
Returns true if date passes all of the constraints specified by this instance, false otherwise.
actionPerformed(ActionEvent) - Method in class bb.gui.DuplicateEventActionListener
Must be implemented by concrete subclass.
add(double) - Method in class bb.science.Samples
Adds d to the internal array which stores all the values.
add(Date, double) - Method in class bb.science.StatsOverTime
Adds value to the bin appropriate for date.
add(E) - Method in class bb.util.BufferFixed
Adds element to an internal queue.
add(E) - Method in class bb.util.ConcurrentHashSet
 
add(Object) - Method in class bb.util.ListWithIndex
Inserts obj into the List right after the element that index currently points to.
add(E) - Method in class bb.util.ObjectCounter
Places obj into an internal Map field and increments its occurrence count.
add(E) - Method in class bb.util.Unmodifiables.UnmodifiableCollection
 
add(int, E) - Method in class bb.util.Unmodifiables.UnmodifiableList
 
addAll(Collection<? extends E>) - Method in class bb.util.Unmodifiables.UnmodifiableCollection
 
addAll(int, Collection<? extends E>) - Method in class bb.util.Unmodifiables.UnmodifiableList
 
addConnectionListener(ConnectionListener) - Method in class bb.net.Emailer
Attempts to add connectionListener to an internal Set of ConnectionListeners.
addElseLog(Date, double, Logger2) - Method in class bb.science.StatsOverTime
Chiefly just calls add(date, value).
addHandler(Handler) - Method in class bb.util.logging.Logger2
 
addHandlers(Handler[], Logger) - Static method in class bb.util.logging.LogUtil
Adds every element of handlers to logger.
addImpl(Component, Object, int) - Method in class bb.gui.LinePanel
 
addListener(MemoryMonitorListener) - Method in class bb.util.MemoryMonitor
Attempts to add listener to an internal set.
addListener(ThreadMonitorListener) - Method in class bb.util.ThreadMonitor
Attempts to add listener to an internal set.
addParameter(String, String) - Method in class bb.net.HttpParameters
Simply calls addParameter(name, value, "UTF-8").
addParameter(String, String, String) - Method in class bb.net.HttpParameters
Adds name and value as a new properly encoded parameter to HttpParameters.buffer.
addProperties(Properties) - Method in class bb.net.HttpParameters
Simply calls addProperties(properties, "UTF-8").
addProperties(Properties, String) - Method in class bb.net.HttpParameters
Adds all the name and value pairs in the properties arg as parameters to this instance.
addPropertyChangeListener(PropertyChangeListener) - Method in class bb.util.ListWithIndex
 
addressesGoodAndBad - Static variable in class bb.net.Emailer.UnitTest
 
addTransportListener(TransportListener) - Method in class bb.net.Emailer
Attempts to add transportListener to an internal Set of TransportListeners.
advance() - Method in class bb.science.Lfsr
Convenience method that simply returns advance(1).
advance(long) - Method in class bb.science.Lfsr
Advances the internal state of this instance by numberTransitions.
algorithm_key - Static variable in class bb.io.EncryptUtil
 
alive - Variable in class bb.util.logging.HandlerAbstract
Records whether or not this instance is considered alive.
allocateArray(int) - Method in class bb.gui.TextFieldSecure.ContentSecure
Returns the superclass result, but before returning it, stores it inside TextFieldSecure.ContentSecure.buffers.
amount - Variable in class bb.util.DateUtil.TimeZoneChange
Has the value -1 for a fall back time zone change, 0 if no time zone change, or +1 for a spring forward time zone change.
ampere - Static variable in class bb.science.Unit
Models the SI base unit of electric current, the ampere.
analyseFileUrl(URL) - Static method in class bb.net.UrlUtil
 
analyseHttpUrl(URL) - Static method in class bb.net.UrlUtil
 
analyseMailtoUrl(URL) - Static method in class bb.net.UrlUtil
 
analyseUnsupportedUrl(URL) - Static method in class bb.net.UrlUtil
 
analyseUrl(URL) - Static method in class bb.net.UrlUtil
Analyses the supplied URL.
anchorPoint - Variable in class bb.gui.GraphicsLabel
 
append(char) - Method in class bb.io.FileRollingWriter
append(CharSequence) - Method in class bb.io.FileRollingWriter
append(CharSequence, int, int) - Method in class bb.io.FileRollingWriter
append(String[], double[], StringBuilder) - Method in class bb.science.DistributionFit
 
appendAddresses(String, Address[], StringBuilder) - Static method in class bb.net.EmailUtil
 
appendAll_key - Static variable in class bb.io.TarUtil
 
appendAll_key - Static variable in class bb.io.ZipUtil
 
appendBackup_key - Static variable in class bb.io.TarUtil
 
appendBackup_key - Static variable in class bb.io.ZipUtil
 
appendButton - Variable in class bb.util.logging.FrameLog
 
appendCodeForClass(Class, StringBuilder, AtomicBoolean, boolean) - Method in class bb.util.ObjectState
 
appendComponentTree(Component, Set<Component>) - Static method in class bb.gui.ComponentUtil
 
appendExtension_key - Static variable in class bb.io.TarUtil
 
appendExtension_key - Static variable in class bb.io.ZipUtil
 
appendField(Field, StringBuilder, String, String) - Method in class bb.util.ObjectState
 
appendFields(Class, StringBuilder, String, String) - Method in class bb.util.ObjectState
 
appendIssues(String, StringBuilder) - Method in class bb.util.Benchmark
Helper method for toStringFull which handles issues fields like Benchmark.cleanIssues.
appendIssues(String, String, StringBuilder, String) - Static method in class bb.util.DateUtil
 
appendText(String) - Method in class bb.util.logging.FrameLog
 
appendThreadInfo(ThreadInfo, StringBuilder) - Method in class bb.util.ThreadMeasurer
Appends all of the data in threadInfo to sb.
appendThreadInfoArray(ThreadInfo[], StringBuilder) - Method in class bb.util.ThreadMeasurer
Appends the data in threadInfos to sb.
appendTimeStamp_key - Static variable in class bb.io.TarUtil
 
appendTimeStamp_key - Static variable in class bb.io.ZipUtil
 
archive(File, FileFilter, File...) - Static method in class bb.io.TarUtil
Writes each element of pathsToArchive to a new TAR format archive file specified by tarFile.
archive(File, FileParent, TarArchiveOutputStream, FileFilter) - Static method in class bb.io.TarUtil
Writes path as a new TarArchiveEntry to tarArchiveOutputStream.
archive(File, FileFilter, File...) - Static method in class bb.io.ZipUtil
Writes each element of pathsToArchive to a new ZIP format archive file specified by zipFile.
archive(File, FileParent, ZipOutputStream, FileFilter) - Static method in class bb.io.ZipUtil
Writes path as a new ZipEntry to the ZipOutputStream.
archive_extract(File, String) - Method in class bb.io.TarUtil.UnitTest
 
archive_extract(File, String) - Method in class bb.io.ZipUtil.UnitTest
 
archiveWithDifferentProgram(File, File) - Method in class bb.io.TarUtil.UnitTest
 
archiveWithDifferentProgram(File, File) - Method in class bb.io.ZipUtil.UnitTest
 
areContentsSame(File, File) - Static method in class bb.io.DirUtil
Determines whether or not the contents of directory1 and directory2 are identical.
arg() - Static method in class bb.util.Check
Returns a Check.Arg instance.
argInstance - Static variable in class bb.util.Check
 
arraySize - Static variable in class bb.util.MemoryMeasurer.UnitTest
 
arraysToTextColumns(double[][], String[]) - Static method in class bb.util.StringUtil
Returns a String representation of arrays as a series of text columns.
ArrayUtil - Class in bb.util
Provides static utility methods that deal with arrays.
ArrayUtil() - Constructor for class bb.util.ArrayUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
ArrayUtil.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
ArrayUtil.UnitTest() - Constructor for class bb.util.ArrayUtil.UnitTest
 
ascent - Variable in class bb.gui.GraphicsLabel
 
asciiBytesToChars(byte[]) - Static method in class bb.util.StringUtil
Converts each element of bytes to a char[] which is returned.
assertEnabled - Static variable in class bb.util.Check.Assert
 
assertInstance - Static variable in class bb.util.Check
 
attemptCpuTimeMeasurement(ThreadMXBean) - Static method in class bb.util.ThreadMeasurer
Trys to ensure that threadMXBean has enabled thread cpu time measurement.
attemptThreadContentionMonitoring(ThreadMXBean) - Static method in class bb.util.ThreadMeasurer
Trys to ensure that threadMXBean has enabled thread contention monitoring (i.e. for collecting per-thread statistics about monitor contention).
atto - Static variable in class bb.science.Prefix
Models the SI prefix for 10-18, the atto.
audit(Level, String, String) - Method in class bb.util.Properties2
 
auditDepth - Variable in class bb.util.Properties2
 
autoCheck - Variable in class bb.io.FileRollingWriter
If true, then every char writing method (e.g. append, write) will first call checkForRollover before doing any output.
autocorrelation(double[]) - Static method in class bb.science.Math2
Returns the autocorrelation function (acf) of numbers along with confidence intervals (CIs) for each element.
autocovariance(double[]) - Static method in class bb.science.Math2
Returns the autocovariance function (acvf) of numbers.
available - Variable in class bb.util.MemoryState
Amount of memory (within the max allocatable) that could be allocated.
await() - Method in class bb.util.ThreadMonitor.UnitTest.ListenerTest
Waits for the main thread to reach a common barrier point with the Timer thread executing this method.
axis - Variable in class bb.gui.LinePanel
Contract: is never null.
axis - Variable in class bb.gui.Strut
Stores the orientation axis of this strut.
azzert() - Static method in class bb.util.Check
Returns a Check.Assert instance.

B

backspacesLine - Static variable in class bb.io.ConsoleUtil
 
baos - Variable in class bb.io.PrintStreamStoring
 
baos - Variable in class bb.io.StreamDrainerStoring
 
baosSizeInitial - Static variable in class bb.io.StreamDrainerStoring
 
barrier - Variable in class bb.util.ThreadMonitor.UnitTest.ListenerTest
 
BaseFilter - Class in bb.io.filefilter
Abstract base class for other File filter implementations that defines some common functionality.
BaseFilter() - Constructor for class bb.io.filefilter.BaseFilter
Calls this(null).
BaseFilter(FileFilterListener) - Constructor for class bb.io.filefilter.BaseFilter
Calls this(FileMode.test, DirectoryMode.reject, listener).
BaseFilter(FileMode, DirectoryMode) - Constructor for class bb.io.filefilter.BaseFilter
Calls this(fileMode, directoryMode, null).
BaseFilter(FileMode, DirectoryMode, FileFilterListener) - Constructor for class bb.io.filefilter.BaseFilter
Calls this(fileMode, directoryMode, OtherMode.reject, PartMode.name, listener).
BaseFilter(FileMode, DirectoryMode, OtherMode, PartMode) - Constructor for class bb.io.filefilter.BaseFilter
Calls this(fileMode, directoryMode, OtherMode.reject, PartMode.name, null).
BaseFilter(FileMode, DirectoryMode, OtherMode, PartMode, FileFilterListener) - Constructor for class bb.io.filefilter.BaseFilter
Constructs a new BaseFilter instance.
BaseFilter.UnitTest - Class in bb.io.filefilter
See the Overview page of the project's javadocs for a general description of this unit test class.
BaseFilter.UnitTest() - Constructor for class bb.io.filefilter.BaseFilter.UnitTest
 
BaseFilter.UnitTest.TestFilter - Class in bb.io.filefilter
 
BaseFilter.UnitTest.TestFilter(FileMode) - Constructor for class bb.io.filefilter.BaseFilter.UnitTest.TestFilter
 
BaseFilter.UnitTest.TestFilter(DirectoryMode) - Constructor for class bb.io.filefilter.BaseFilter.UnitTest.TestFilter
 
BaseFilter.UnitTest.TestFilter(OtherMode) - Constructor for class bb.io.filefilter.BaseFilter.UnitTest.TestFilter
 
BaseFilter.UnitTest.TestFilter(PartMode, String) - Constructor for class bb.io.filefilter.BaseFilter.UnitTest.TestFilter
 
BaseFilter.UnitTest.TestFilter(FileMode, DirectoryMode, OtherMode, PartMode, String) - Constructor for class bb.io.filefilter.BaseFilter.UnitTest.TestFilter
 
BasicStrokeSerializer - Class in bb.gui
The sole purpose of this class is to aid classes which have a BasicStroke field that needs to get serialized.
BasicStrokeSerializer(BasicStroke) - Constructor for class bb.gui.BasicStrokeSerializer
Creates a new BasicStrokeSerializer instance.
BasicStrokeSerializer.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
BasicStrokeSerializer.UnitTest() - Constructor for class bb.gui.BasicStrokeSerializer.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
batchSeparator - Static variable in class bb.util.logging.FrameLog
 
bb.gui - package bb.gui
Provides classes and interfaces for GUI applications.
bb.io - package bb.io
Provides classes and interfaces for Input/Output (I/O) operations.
bb.io.filefilter - package bb.io.filefilter
Provides classes that may be used for file filtering.
bb.jdbc - package bb.jdbc
Provides classes and interfaces for Java Database Connectivity (JDBC).
bb.misc - package bb.misc
Provides miscellaneous classes and interfaces.
bb.net - package bb.net
Provides classes and interfaces for network operations.
bb.science - package bb.science
Provides classes and interfaces for mathematical and scientific programming.
bb.servlet - package bb.servlet
Provides classes and interfaces for servlets.
bb.util - package bb.util
Provides miscellaneous utility classes and interfaces.
bb.util.logging - package bb.util.logging
Provides classes which augment the JDK logging framework.
begin - Variable in class bb.science.Bins.Intervals
 
begin() - Static method in class bb.util.ProgressIndicator
 
Benchmark - Class in bb.util
Benchmarks the performance of a "task", defined here as arbitrary Java code that is contained inside either a Callable or Runnable.
Benchmark(Callable<T>) - Constructor for class bb.util.Benchmark
Convenience constructor that simply calls this(task, new Benchmark.Params.Benchmark.Params()).
Benchmark(Callable<T>, boolean) - Constructor for class bb.util.Benchmark
Convenience constructor that simply calls this(task, new Params(manyExecutions)).
Benchmark(Callable<T>, long) - Constructor for class bb.util.Benchmark
Convenience constructor that simply calls this(task, new Params(numberActions)).
Benchmark(Callable<T>, boolean, long) - Constructor for class bb.util.Benchmark
Convenience constructor that simply calls this(task, new Params(manyExecutions, numberActions)).
Benchmark(Callable<T>, Benchmark.Params) - Constructor for class bb.util.Benchmark
Constructor that measures the execution time of a Callable task.
Benchmark(Runnable) - Constructor for class bb.util.Benchmark
Convenience constructor that simply calls this(task, new Benchmark.Params.Benchmark.Params()).
Benchmark(Runnable, boolean) - Constructor for class bb.util.Benchmark
Convenience constructor that simply calls this(task, new Params(manyExecutions)).
Benchmark(Runnable, long) - Constructor for class bb.util.Benchmark
Convenience constructor that simply calls this(task, new Params(numberActions)).
Benchmark(Runnable, boolean, long) - Constructor for class bb.util.Benchmark
Convenience constructor that simply calls this(task, new Params(manyExecutions, numberActions)).
Benchmark(Runnable, Benchmark.Params) - Constructor for class bb.util.Benchmark
Identical to the Callable constructor except that task is a Runnable.
Benchmark() - Constructor for class bb.util.Benchmark
No-arg constructor.
Benchmark.JvmState - Class in bb.util
Records some characteristics of the JVM state.
Benchmark.JvmState() - Constructor for class bb.util.Benchmark.JvmState
Constructor.
Benchmark.LfsrAdvancer - Class in bb.util
The run method of this class simply advances the internal state of an Lfsr instance.
Benchmark.LfsrAdvancer() - Constructor for class bb.util.Benchmark.LfsrAdvancer
 
Benchmark.Measurement - Class in bb.util
Records information about an execution time measurement.
Benchmark.Measurement(double, Benchmark.JvmState) - Constructor for class bb.util.Benchmark.Measurement
Constructor.
Benchmark.Params - Class in bb.util
Holds parameters which specify how the benchmarking is carried out.
Benchmark.Params() - Constructor for class bb.util.Benchmark.Params
Creates a new instance with all fields left at their default initializations.
Benchmark.Params(boolean) - Constructor for class bb.util.Benchmark.Params
Simply assigns manyExecutions to the corresponding field.
Benchmark.Params(long) - Constructor for class bb.util.Benchmark.Params
Simply assigns numberActions to the corresponding field.
Benchmark.Params(boolean, long) - Constructor for class bb.util.Benchmark.Params
Simply assigns all the parameters to their corresponding fields.
Benchmark.Stats - Class in bb.util
Holds execution time statistics.
Benchmark.Stats(double, double, double, double, double, double, String) - Constructor for class bb.util.Benchmark.Stats
Constructor.
Benchmark.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
Benchmark.UnitTest() - Constructor for class bb.util.Benchmark.UnitTest
 
benchmark_bytesXXXToLong() - Method in class bb.util.NumberUtil.UnitTest
Results on 2009-03-16 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): bytesBigEndianToLong: first = 445.636 ns, mean = 12.820 ns (CI deltas: -10.711 ps, +11.883 ps), sd = 513.376 ns (CI deltas: -84.393 ns, +127.359 ns) WARNING: execution times have mild outliers, SD VALUES MAY BE INACCURATE bytesBigEndianToLongSunAlgorithm: first = 318.513 ns, mean = 15.189 ns (CI deltas: -3.910 ps, +4.265 ps), sd = 132.630 ns (CI deltas: -19.080 ns, +28.666 ns) WARNING: execution times have mild outliers, SD VALUES MAY BE INACCURATE
benchmark_edt() - Method in class bb.util.Check.UnitTest
Results on 2009-05-07 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): EventQueue.isDispatchThread: first = 95.801 ns, mean = 80.628 ns (CI deltas: -12.096 ps, +12.657 ps), sd = 201.052 ns (CI deltas: -28.766 ns, +34.778 ns) WARNING: execution times may have serial correlation, SD VALUES MAY BE INACCURATE
benchmark_enhance() - Method in class bb.util.HashUtil.UnitTest
Results on 2009-03-16 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): n = 16 enhance: first = 22.498 us, mean = 979.975 ns (CI deltas: -884.021 ps, +908.711 ps), sd = 3.604 us (CI deltas: -422.230 ns, +569.728 ns) WARNING: SD VALUES MAY BE INACCURATE
benchmark_findBestFont() - Static method in class bb.gui.FontUtil.UnitTest
Results on 2009-02-16 on my 2.0 GHz Core 2 Duo laptop (server jvm): findBestFont: first = 2.089 s, mean = 2.083 s (CI deltas: -568.671 us, +587.207 us), sd = 2.294 ms (CI deltas: -335.538 us, +446.633 us) WARNING: execution times have mild outliers, SD VALUES MAY BE INACCURATE
benchmark_get() - Method in class bb.util.RandomUtil.UnitTest
Results on 2009-03-16 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): n = 128 * 1024 synchronized MersenneTwisterFast: first = 207.439 ns, mean = 22.028 ns (CI deltas: -4.631 ps, +5.274 ps), sd = 159.556 ns (CI deltas: -25.309 ns, +32.037 ns) WARNING: SD VALUES MAY BE INACCURATE unsynchronized MersenneTwisterFast: first = 11.235 ns, mean = 10.949 ns (CI deltas: -2.072 ps, +2.114 ps), sd = 95.789 ns (CI deltas: -12.099 ns, +14.455 ns) WARNING: SD VALUES MAY BE INACCURATE get (unsynchronized MersenneTwisterFast): first = 54.316 ns, mean = 19.574 ns (CI deltas: -4.562 ps, +4.993 ps), sd = 154.575 ns (CI deltas: -21.387 ns, +26.610 ns) WARNING: SD VALUES MAY BE INACCURATE Note: the low time for get is realistic: my BenchmarkDataStructureAccess class measured access times for ThreadLocal at around 12 ns, so add that to the intrinsic 14 ns and you get 26 ns as reported above.
benchmark_getDayStart() - Method in class bb.util.DateUtil.UnitTest
Results on 2010-03-11 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_18 server jvm): n = 16 * 1024 getDayStart with ZERO cache: first = 12.227 us, mean = 1.028 us (CI deltas: -254.421 ps, +341.703 ps), sd = 1.188 us (CI deltas: -283.974 ns, +447.445 ns) WARNING: EXECUTION TIMES HAVE EXTREME OUTLIERS, SD VALUES MAY BE INACCURATE getDayStart with a perfectly sized cache: first = 30.391 us, mean = 71.381 ns (CI deltas: -62.114 ps, +65.987 ps), sd = 1.039 us (CI deltas: -143.734 ns, +196.449 ns) WARNING: SD VALUES MAY BE INACCURATE benchmark_getTimeStamp() - Method in class bb.util.DateUtil.UnitTest
Results on 2010-03-11 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_18 server jvm): n = 16 * 1024 DateStringCache.format (for timeStampPattern) with ZERO cache: first = 15.570 us, mean = 1.995 us (CI deltas: -2.241 ns, +2.398 ns), sd = 6.630 us (CI deltas: -1.111 us, +1.534 us) WARNING: execution times have mild outliers, execution times may have serial correlation, SD VALUES MAY BE INACCURATE FORMAT CACHE MAY BE TOO SMALL: numberFormatPutFails = 40878080 > 0 State of this instance: sizeMax = 0, dateToString.size() = 0, stringToDate.size() = 0, numberFormatHits = 0, numberFormatMisses = 40878080, numberFormatPutFails = 40878080, numberParseHits = 0, numberParseMisses = 0, numberParsePutFails = 0 DateStringCache.format (for timeStampPattern) with a perfectly sized cache: first = 21.269 us, mean = 81.715 ns (CI deltas: -66.012 ps, +187.403 ps), sd = 1.652 us (CI deltas: -1.176 us, +1.787 us) WARNING: EXECUTION TIMES HAVE EXTREME OUTLIERS, SD VALUES MAY BE INACCURATE Good: there appear to be NO issues with this DateStringCache instance State of this instance: sizeMax = 16384, dateToString.size() = 16384, stringToDate.size() = 16384, numberFormatHits = 1174372352, numberFormatMisses = 16384, numberFormatPutFails = 0, numberParseHits = 0, numberParseMisses = 0, numberParsePutFails = 0 benchmark_hash_double() - Method in class bb.util.HashUtil.UnitTest
Results on 2009-03-16 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): n = 16 hash(double): first = 6.928 us, mean = 981.331 ns (CI deltas: -1.130 ns, +1.069 ns), sd = 4.453 us (CI deltas: -531.258 ns, +617.889 ns) WARNING: SD VALUES MAY BE INACCURATE
benchmark_hash_long() - Method in class bb.util.HashUtil.UnitTest
Results on 2009-03-16 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): n = 16 hash(long): first = 4.124 us, mean = 982.978 ns (CI deltas: -1.002 ns, +1.017 ns), sd = 4.101 us (CI deltas: -554.859 ns, +683.065 ns) WARNING: SD VALUES MAY BE INACCURATE
benchmark_impactOfMonitoring() - Method in class bb.util.MemoryMonitor.UnitTest
Results on 2009-03-16 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): Benchmarking task with no monitoring of memory...
benchmark_impactOfMonitoring() - Method in class bb.util.ThreadMonitor.UnitTest
Results on 2009-03-16 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): Benchmark of task with no monitoring of threads...
benchmark_isSameDayOfWeek() - Method in class bb.util.DateUtil.UnitTest
Results on 2010-03-11 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_18 server jvm): n = 16 * 1024 isExactDay with ZERO cache: first = 8.296 us, mean = 411.885 ns (CI deltas: -82.962 ps, +128.228 ps), sd = 823.586 ns (CI deltas: -252.314 ns, +573.272 ns) WARNING: EXECUTION TIMES HAVE EXTREME OUTLIERS, SD VALUES MAY BE INACCURATE isExactDay when cache has ~2 DateInfo per bin (suboptimal): first = 50.626 us, mean = 141.782 ns (CI deltas: -137.156 ps, +256.614 ps), sd = 2.082 us (CI deltas: -863.881 ns, +1.037 us) WARNING: EXECUTION TIMES HAVE EXTREME OUTLIERS, SD VALUES MAY BE INACCURATE The following issues were detected with the caching inside DateUtil: DateInfoCache: numberDateInfos = 16384 numberBinsWithInfos = 8192 numberBinsOverloaded = 8192 fraction of overloaded Bins (numberBinsOverloaded / numberBinsWithInfos) = 1.0 average number of DateInfos per DateInfoBin (considering only Bins with DateInfos) = 2.0 maxInfosInABin = 2 isExactDay when cache has ~1 DateInfo per bin (optimal): first = 25.749 us, mean = 127.110 ns (CI deltas: -47.740 ps, +98.323 ps), sd = 749.611 ns (CI deltas: -395.588 ns, +488.907 ns) WARNING: EXECUTION TIMES HAVE EXTREME OUTLIERS, SD VALUES MAY BE INACCURATE benchmark_parseDouble() - Method in class bb.util.NumberUtil.UnitTest
Results on 2009-03-16 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): parseDouble: first = 9.112 us, mean = 105.897 ns (CI deltas: -85.813 ps, +87.547 ps), sd = 1.107 us (CI deltas: -142.445 ns, +177.904 ns) WARNING: SD VALUES MAY BE INACCURATE Double.parseDouble: first = 6.485 us, mean = 163.888 ns (CI deltas: -88.143 ps, +93.370 ps), sd = 1.163 us (CI deltas: -153.990 ns, +194.557 ns) WARNING: SD VALUES MAY BE INACCURATE So my code is somewhat faster than Sun's.
benchmark_parseInt() - Method in class bb.util.NumberUtil.UnitTest
Results on 2009-03-16 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): parseInt: first = 4.538 us, mean = 40.102 ns (CI deltas: -33.837 ps, +32.933 ps), sd = 811.540 ns (CI deltas: -116.909 ns, +146.693 ns) WARNING: SD VALUES MAY BE INACCURATE Integer.parseInt: first = 5.191 us, mean = 60.732 ns (CI deltas: -40.983 ps, +42.931 ps), sd = 720.814 ns (CI deltas: -110.752 ns, +172.153 ns) WARNING: execution times have mild outliers, SD VALUES MAY BE INACCURATE So my code is somewhat faster than Sun's.
benchmark_parseLong() - Method in class bb.util.NumberUtil.UnitTest
Results on 2009-03-16 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): parseLong: first = 3.153 us, mean = 70.039 ns (CI deltas: -54.772 ps, +44.126 ps), sd = 863.480 ns (CI deltas: -205.259 ns, +446.310 ns) WARNING: EXECUTION TIMES HAVE EXTREME OUTLIERS, SD VALUES MAY BE INACCURATE Long.parseLong: first = 2.082 us, mean = 172.169 ns (CI deltas: -222.372 ps, +310.273 ps), sd = 3.245 us (CI deltas: -764.768 ns, +1.215 us) WARNING: EXECUTION TIMES HAVE EXTREME OUTLIERS, SD VALUES MAY BE INACCURATE So my code is much faster than Sun's.
benchmark_parseTimeStamp() - Method in class bb.util.DateUtil.UnitTest
Results on 2010-03-11 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_18 server jvm): n = 16 * 1024 DateStringCache.parse (for timeStampPattern) with ZERO cache: first = 10.790 us, mean = 4.114 us (CI deltas: -3.944 ns, +3.702 ns), sd = 7.742 us (CI deltas: -1.197 us, +1.543 us) WARNING: execution times have mild outliers, SD VALUES MAY BE INACCURATE PARSE CACHE MAY BE TOO SMALL: numberParsePutFails = 20430848 > 0 State of this instance: sizeMax = 0, dateToString.size() = 0, stringToDate.size() = 0, numberFormatHits = 0, numberFormatMisses = 0, numberFormatPutFails = 0, numberParseHits = 0, numberParseMisses = 20430848, numberParsePutFails = 20430848 DateStringCache.parse (for timeStampPattern) with a perfectly sized cache: first = 5.427 us, mean = 100.461 ns (CI deltas: -75.079 ps, +187.716 ps), sd = 1.796 us (CI deltas: -923.772 ns, +1.849 us) WARNING: EXECUTION TIMES HAVE EXTREME OUTLIERS, SD VALUES MAY BE INACCURATE Good: there appear to be NO issues with this DateStringCache instance State of this instance: sizeMax = 16384, dateToString.size() = 16384, stringToDate.size() = 16384, numberFormatHits = 0, numberFormatMisses = 0, numberFormatPutFails = 0, numberParseHits = 1174372352, numberParseMisses = 16384, numberParsePutFails = 0 benchmark_rankFonts() - Static method in class bb.gui.FontUtil.UnitTest
Results on 2009-02-16 on my 2.0 GHz Core 2 Duo laptop (server jvm): rankFonts: first = 2.091 s, mean = 2.082 s (CI deltas: -969.569 us, +3.074 ms), sd = 6.229 ms (CI deltas: -4.050 ms, +7.450 ms) WARNING: EXECUTION TIMES HAVE EXTREME OUTLIERS, SD VALUES MAY BE INACCURATE
benchmark_readBytes() - Method in class bb.io.FileUtil.UnitTest
Measures how long it takes to read up to 100 MB.
benchmark_readBytesEnd() - Method in class bb.io.FileUtil.UnitTest
Measures how long it takes to read up to 1 MB of data that occurs at the end of files.
benchmark_splitByChar() - Method in class bb.util.StringUtil.UnitTest
Results on 2009-06-26 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_14 server jvm): s contains 3 tokens: splitByChar: first = 59.715 us, mean = 113.615 ns (CI deltas: -93.321 ps, +101.454 ps), sd = 1.571 us (CI deltas: -230.824 ns, +347.740 ns) WARNING: execution times have mild outliers, SD VALUES MAY BE INACCURATE String.split: first = 136.978 us, mean = 784.090 ns (CI deltas: -402.093 ps, +412.352 ps), sd = 2.323 us (CI deltas: -338.734 ns, +437.863 ns) WARNING: SD VALUES MAY BE INACCURATE Pattern.split: first = 75.389 us, mean = 459.917 ns (CI deltas: -427.344 ps, +409.991 ps), sd = 3.392 us (CI deltas: -398.413 ns, +570.629 ns) WARNING: execution times may have serial correlation, SD VALUES MAY BE INACCURATE s contains 10 tokens: splitByChar: first = 59.712 us, mean = 329.528 ns (CI deltas: -366.100 ps, +422.782 ps), sd = 3.201 us (CI deltas: -559.421 ns, +1.169 us) WARNING: execution times have mild outliers, SD VALUES MAY BE INACCURATE String.split: first = 156.493 us, mean = 1.427 us (CI deltas: -2.007 ns, +2.222 ns), sd = 8.547 us (CI deltas: -1.506 us, +2.289 us) WARNING: execution times have mild outliers, SD VALUES MAY BE INACCURATE Pattern.split: first = 77.697 us, mean = 1.106 us (CI deltas: -2.095 ns, +2.236 ns), sd = 8.796 us (CI deltas: -1.361 us, +1.883 us) WARNING: SD VALUES MAY BE INACCURATE
benchmark_splitByLiteral() - Method in class bb.util.StringUtil.UnitTest
Results on 2009-06-26 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_14 server jvm): s contains 3 tokens: splitByLiteral: first = 107.094 us, mean = 192.368 ns (CI deltas: -180.591 ps, +167.583 ps), sd = 1.987 us (CI deltas: -305.803 ns, +542.034 ns) WARNING: execution times have mild outliers, SD VALUES MAY BE INACCURATE String.split: first = 136.978 us, mean = 784.090 ns (CI deltas: -402.093 ps, +412.352 ps), sd = 2.323 us (CI deltas: -338.734 ns, +437.863 ns) WARNING: SD VALUES MAY BE INACCURATE Pattern.split: first = 75.389 us, mean = 459.917 ns (CI deltas: -427.344 ps, +409.991 ps), sd = 3.392 us (CI deltas: -398.413 ns, +570.629 ns) WARNING: execution times may have serial correlation, SD VALUES MAY BE INACCURATE s contains 10 tokens: splitByLiteral: first = 79.09 us, mean = 510.290 ns (CI deltas: -1.048 ns, +1.142 ns), sd = 6.255 us (CI deltas: -1.026 us, +1.481 us) WARNING: execution times have mild outliers, SD VALUES MAY BE INACCURATE String.split: first = 157.356 us, mean = 1.421 us (CI deltas: -2.105 ns, +2.217 ns), sd = 8.728 us (CI deltas: -1.131 us, +1.496 us) WARNING: SD VALUES MAY BE INACCURATE Pattern.split: first = 76.199 us, mean = 1.109 us (CI deltas: -2.013 ns, +1.994 ns), sd = 8.100 us (CI deltas: -1.190 us, +1.702 us) WARNING: SD VALUES MAY BE INACCURATE
benchmark_statisticsFunctions() - Method in class bb.science.Math2.UnitTest
Results on 2009-03-16 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): n = 1000 gaussianCdf: first = 144.364 ns, mean = 8.418 ns (CI deltas: -1.923 ps, +2.269 ps), sd = 94.479 ns (CI deltas: -15.358 ns, +22.652 ns) WARNING: execution times have mild outliers, SD VALUES MAY BE INACCURATE
benchmark_System_currentTimeMillis() - Method in class bb.util.Benchmark.UnitTest
Results on 2009-08-27 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_16 server jvm): System.currentTimeMillis: first = 25.889 ns, mean = 21.924 ns (CI deltas: -6.716 ps, +18.038 ps), sd = 322.107 ns (CI deltas: -169.332 ns, +353.907 ns) WARNING: EXECUTION TIMES HAVE EXTREME OUTLIERS, SD VALUES MAY BE INACCURATE
benchmark_System_nanoTime() - Method in class bb.util.Benchmark.UnitTest
Results on 2009-08-27 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_16 server jvm): System.nanoTime: first = 203.424 ns, mean = 199.469 ns (CI deltas: -120.862 ps, +110.777 ps), sd = 1.298 us (CI deltas: -199.032 ns, +286.868 ns) WARNING: execution times have mild outliers, SD VALUES MAY BE INACCURATE
BidirectionalMap - Class in bb.util
An object that provides a way to associate pairs of Objects.
BidirectionalMap(int, float) - Constructor for class bb.util.BidirectionalMap
Constructs a new BidirectionalMap instance with the specified initial capacity and load factor.
BidirectionalMap(int) - Constructor for class bb.util.BidirectionalMap
Constructs a new BidirectionalMap instance; simply calls this(initialCapacity, loadFactor_default).
BidirectionalMap() - Constructor for class bb.util.BidirectionalMap
Constructs a new BidirectionalMap instance; simply calls this(capacityInitial_default).
BidirectionalMap.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
BidirectionalMap.UnitTest() - Constructor for class bb.util.BidirectionalMap.UnitTest
 
binLength - Variable in class bb.science.StatsOverTime
Length of time (in milliseconds) of every bin.
binLength_default - Static variable in class bb.science.StatsOverTime
Default value for StatsOverTime.binLength.
Bins - Class in bb.science
Introduction Used to sort data into distinct bins (also known as intervals or cells).
Bins(double[], double, double) - Constructor for class bb.science.Bins
Returns this( values, Intervals.make(values, offset, width) ).
Bins(double[], int) - Constructor for class bb.science.Bins
Returns this( values, Intervals.make(values, numberIntervals) ).
Bins(double[], double, double, int) - Constructor for class bb.science.Bins
Returns this( values, new Intervals(begin, end, numberIntervals) ).
Bins(double[], Bins.Intervals) - Constructor for class bb.science.Bins
Returns this( values, new Intervals(begin, end, numberIntervals) ).
Bins.Intervals - Class in bb.science
Specifies how a given set of intervals are laid out.
Bins.Intervals(double, double, int) - Constructor for class bb.science.Bins.Intervals
Constructor.
Bins.UnitTest - Class in bb.science
See the Overview page of the project's javadocs for a general description of this unit test class.
Bins.UnitTest() - Constructor for class bb.science.Bins.UnitTest
 
binStart - Variable in class bb.science.StatsOverTime
Stores the start Date of the current bin.
blankLine - Static variable in class bb.io.ConsoleUtil
 
boolean_1 - Static variable in class bb.util.ObjectState.UnitTest.SuperClass
 
boolean_2 - Static variable in class bb.util.ObjectState.UnitTest.SubClass
 
Bootstrap - Class in bb.science
Performs statistical bootstrap calculations.
Bootstrap(double[]) - Constructor for class bb.science.Bootstrap
Convenience constructor that simply calls this(sample, Bootstrap.numberResamples_default).
Bootstrap(double[], int) - Constructor for class bb.science.Bootstrap
Convenience constructor that simply calls this(sample, numberResamples, Bootstrap.confidenceLevel_default).
Bootstrap(double[], int, double) - Constructor for class bb.science.Bootstrap
Convenience constructor that simply calls this(sample, numberResamples, confidenceLevel, Bootstrap.estimators_default).
Bootstrap(double[], int, double, Bootstrap.Estimator...) - Constructor for class bb.science.Bootstrap
Fundamental constructor.
Bootstrap.Estimate - Class in bb.science
Holds a complete (point and interval) estimate for some Bootstrap.Estimator.
Bootstrap.Estimate(double, double, double, double) - Constructor for class bb.science.Bootstrap.Estimate
 
Bootstrap.Estimator - Interface in bb.science
Specifies the api for classes that calculate an estimate for a statistic from a sample.
Bootstrap.EstimatorMean - Class in bb.science
Calculates a point estimate for the population's arithmetic mean from sample.
Bootstrap.EstimatorMean() - Constructor for class bb.science.Bootstrap.EstimatorMean
 
Bootstrap.EstimatorMedian - Class in bb.science
Calculates a point estimate for the population's median from sample.
Bootstrap.EstimatorMedian() - Constructor for class bb.science.Bootstrap.EstimatorMedian
 
Bootstrap.EstimatorSd - Class in bb.science
Calculates a point estimate for the population's standard deviation from sample.
Bootstrap.EstimatorSd() - Constructor for class bb.science.Bootstrap.EstimatorSd
 
Bootstrap.UnitTest - Class in bb.science
See the Overview page of the project's javadocs for a general description of this unit test class.
Bootstrap.UnitTest() - Constructor for class bb.science.Bootstrap.UnitTest
 
Bootstrap.UnitTest.CauchyStandard - Class in bb.science
Implements the standard Cauchy distribution (i.e. x0 = 0, gamma = 1).
Bootstrap.UnitTest.CauchyStandard() - Constructor for class bb.science.Bootstrap.UnitTest.CauchyStandard
 
Bootstrap.UnitTest.CiResult - Class in bb.science
Accumulates the results of running many individual Bootstrap.UnitTest.CiTasks.
Bootstrap.UnitTest.CiResult(String) - Constructor for class bb.science.Bootstrap.UnitTest.CiResult
 
Bootstrap.UnitTest.CiResult.Metrics - Class in bb.science
This class is NOT multithread safe: it expects its enclosing class to guard access to it.
Bootstrap.UnitTest.CiResult.Metrics() - Constructor for class bb.science.Bootstrap.UnitTest.CiResult.Metrics
 
Bootstrap.UnitTest.CiTask - Class in bb.science
This class is NOT multithread safe: it expects to only be touched by a single thread.
Bootstrap.UnitTest.CiTask(Bootstrap.UnitTest.Distribution, int, int, double, Bootstrap.Estimator[], Bootstrap.UnitTest.CiResult) - Constructor for class bb.science.Bootstrap.UnitTest.CiTask
 
Bootstrap.UnitTest.CoverageResult - Class in bb.science
Accumulates the results of running many individual Bootstrap.UnitTest.CoverageTasks.
Bootstrap.UnitTest.CoverageResult(String) - Constructor for class bb.science.Bootstrap.UnitTest.CoverageResult
 
Bootstrap.UnitTest.CoverageResult.Metrics - Class in bb.science
This class is NOT multithread safe: it expects its enclosing class to guard access to it.
Bootstrap.UnitTest.CoverageResult.Metrics() - Constructor for class bb.science.Bootstrap.UnitTest.CoverageResult.Metrics
 
Bootstrap.UnitTest.CoverageTask - Class in bb.science
This class is NOT multithread safe: it expects to only be touched by a single thread.
Bootstrap.UnitTest.CoverageTask(Bootstrap.UnitTest.Distribution, int, int, double, Bootstrap.Estimator[], Bootstrap.UnitTest.CoverageResult) - Constructor for class bb.science.Bootstrap.UnitTest.CoverageTask
 
Bootstrap.UnitTest.Distribution - Interface in bb.science
Specifies the api for classes that model a probability distribution.
Bootstrap.UnitTest.DistributionAbstract - Class in bb.science
Implements some common functionality used by concrete subclasses.
Bootstrap.UnitTest.DistributionAbstract() - Constructor for class bb.science.Bootstrap.UnitTest.DistributionAbstract
 
Bootstrap.UnitTest.ExponentialStandard - Class in bb.science
Implements the standard exponential distribution (i.e. lambda = 1).
Bootstrap.UnitTest.ExponentialStandard() - Constructor for class bb.science.Bootstrap.UnitTest.ExponentialStandard
 
Bootstrap.UnitTest.GaussianStandard - Class in bb.science
Implements the standard gaussian distribution (i.e. mean = 0, sd = 1).
Bootstrap.UnitTest.GaussianStandard() - Constructor for class bb.science.Bootstrap.UnitTest.GaussianStandard
 
boundary(int) - Method in class bb.science.Bins.Intervals
Returns the ith interval boundary's left value (i.e. the smallest value that is inside the interval).
bounds - Variable in class bb.science.Bins
 
bounds - Variable in class bb.science.DistributionFit
 
bsInTheory - Variable in class bb.science.Bootstrap.UnitTest.CiResult.Metrics
 
buffer - Variable in class bb.io.ParseReader
The single buffer simulataneously used for read ahead, pushback, and skip purposes.
buffer - Variable in class bb.net.HttpParameters
Stores the parameters as they are added.
BufferFixed<E> - Class in bb.util
Simple data structure whose maximum number of elements stored is fixed to a constant value.
BufferFixed() - Constructor for class bb.util.BufferFixed
Calls this(BufferFixed.sizeMax_default).
BufferFixed(int) - Constructor for class bb.util.BufferFixed
Constructor.
bufferFixed - Variable in class bb.util.logging.HandlerEmail
Accumulates the next snapshot of LogRecords that is to be emailed.
bufferFixed - Variable in class bb.util.logging.HandlerGui
Accumulates the next snapshot of LogRecords that is to be displayed in the GUI.
BufferFixed.State<E> - Class in bb.util
Used to record a snapshot of the state of a BufferFixed instance.
BufferFixed.State(BufferFixed<E>) - Constructor for class bb.util.BufferFixed.State
 
bufferLength_default - Static variable in class bb.io.ParseReader
 
buffers - Variable in class bb.gui.TextFieldSecure.ContentSecure
Multiple calls can be made to the allocateArray method.
bufferSize - Static variable in class bb.io.StreamDrainerForwarding
 
bufferSize - Static variable in class bb.io.StreamDrainerStoring
 
bufferSizeDrainMin - Static variable in class bb.io.StreamUtil
Used by StreamUtil.drain(InputStream) when it calls calcBufferSize to set a lower bound on the size of the buffer used by drain.
bufferSizeTransfer - Static variable in class bb.io.StreamUtil
 
buildButtonPart() - Method in class bb.util.logging.FrameLog
 
buildButtons() - Method in class bb.gui.DialogInputSecure
 
buildButtons() - Static method in class bb.gui.LinePanel.UnitTest
 
buildButtons() - Method in class bb.gui.LookAndFeelDialog
 
buildButtons() - Method in class bb.gui.MessageDialog
 
buildButtons() - Method in class bb.gui.ThrowableDialog
 
buildButtons() - Method in class bb.util.logging.DialogMsgSuppress
 
buildButtons() - Method in class d.g.ObjectStateDisplay
 
buildContents() - Static method in class bb.gui.LinePanel.UnitTest
 
buildContents(String...) - Method in class bb.gui.MessageDialog
 
buildContents() - Static method in class bb.gui.RectangleCanvas.UnitTest
 
buildFieldsDisplay() - Method in class d.g.ObjectStateDisplay
 
buildGui(String, String, int) - Method in class bb.gui.DialogInputSecure
 
buildGui() - Static method in class bb.gui.LinePanel.UnitTest
 
buildGui() - Method in class bb.gui.LookAndFeelDialog
 
buildGui() - Method in class bb.gui.ThrowableDialog
 
buildGui() - Method in class bb.util.logging.DialogMsgSuppress
 
buildGui() - Method in class bb.util.logging.FrameLog
 
buildGui() - Method in class d.g.ObjectStateDisplay
 
buildInfo() - Method in class bb.gui.ThrowableDialog
 
buildLabel() - Method in class bb.util.logging.DialogMsgSuppress
 
buildLabels() - Static method in class bb.gui.LinePanel.UnitTest
 
buildLafChoices() - Method in class bb.gui.LookAndFeelDialog
 
buildMessageLines(String...) - Method in class bb.gui.MessageDialog
 
buildPanel() - Method in class bb.util.logging.FrameLog
 
buildSecureEntry(String, int) - Method in class bb.gui.DialogInputSecure
 
buildSplitPane() - Static method in class bb.gui.LinePanel.UnitTest
 
buildStatusPart() - Method in class bb.util.logging.FrameLog
 
buildTextArea(String) - Static method in class bb.gui.LinePanel.UnitTest
 
buildTextArea() - Method in class bb.util.logging.DialogMsgSuppress
 
buildTextArea() - Method in class bb.util.logging.FrameLog
 
buildTextComponents() - Static method in class bb.gui.LinePanel.UnitTest
 
buildTextField() - Static method in class bb.gui.LinePanel.UnitTest
 
buildTextPart() - Method in class bb.util.logging.FrameLog
 
buttonGroup - Variable in class bb.gui.LookAndFeelDialog
ButtonGroup for all the Look and Feel choices.
byte_1 - Static variable in class bb.util.ObjectState.UnitTest.SuperClass
 
byte_2 - Static variable in class bb.util.ObjectState.UnitTest.SubClass
 
byteChunks - Static variable in class bb.io.StreamDrainerStoring.UnitTest
Contracts: is never null, empty, nor contains an element that is null or empty.
bytes - Variable in class bb.io.StreamUtil.Drainer
 
bytes - Variable in class bb.net.EthernetMacAddress
Array of 6 bytes which stores the 48 bit ethernet MAC address.
bytesBigEndianToInt(byte[]) - Static method in class bb.util.NumberUtil
Converts an array of 4 bytes in big endian order (i.e. bytes[0] is the most significant byte) to an int which is returned.
bytesBigEndianToLong(byte[]) - Static method in class bb.util.NumberUtil
Converts an array of 8 bytes in big endian order (i.e. bytes[0] is the most significant byte) to a long which is returned.
bytesBigEndianToLongSunAlgorithm(byte[]) - Method in class bb.util.NumberUtil.UnitTest
 
bytesEmpty - Static variable in class bb.io.StreamDrainerForwarding
 
byteSeparatorChar - Static variable in class bb.net.EthernetMacAddress
Preferred char used to separate the bytes in an ethernet MAC address's String representation.
bytesLittleEndianToInt(byte[]) - Static method in class bb.util.NumberUtil
Converts an array of 4 bytes in little endian order (i.e. bytes[0] is the least significant byte) to an int which is returned.
bytesLittleEndianToLong(byte[]) - Static method in class bb.util.NumberUtil
Converts an array of 8 bytes in little endian order (i.e. bytes[0] is the least significant byte) to a long which is returned.
bytesToChars(byte[]) - Static method in class bb.util.StringUtil
Converts bytes into a char[] which is returned.
byteToString(byte) - Static method in class bb.net.EthernetMacAddress
 
byteToUnsignedInt(byte) - Static method in class bb.science.Math2
Returns an int that equals the unsigned value of b's bits.

C

c - Variable in class bb.util.Unmodifiables.UnmodifiableCollection
 
CacheDisablingFilter - Class in bb.servlet
This filter implements a universal cache-disabling service for an entire web application via its doFilter method.
CacheDisablingFilter() - Constructor for class bb.servlet.CacheDisablingFilter
 
calcAcceleration(Bootstrap.Estimator) - Method in class bb.science.Bootstrap
Calculates the acceleration estimation for a BCa bootstrap.
calcBias(double, double[], NormalDistribution) - Method in class bb.science.Bootstrap
Calculates the bias estimation for a BCa bootstrap.
calcBufferSize(File, File) - Static method in class bb.io.FileUtil
 
calcBufferSize(InputStream, int) - Static method in class bb.io.StreamUtil
First checks that in.available <= lengthMax, throwing an IllegalStateException if that constraint is not obeyed, since if it is violated then drain cannot work.
calcEstimates(Bootstrap.Estimator[]) - Method in class bb.science.Bootstrap
 
calcEstimates_BCa(Bootstrap.Estimator[]) - Method in class bb.science.Bootstrap
Performs a bootstrap calculation, determining one Bootstrap.Estimate for each element of estimators.
calcEstimates_percentile(Bootstrap.Estimator[]) - Method in class bb.science.Bootstrap
Performs a bootstrap calculation, determining one Bootstrap.Estimate for each element of estimators.
calcJackknifeEsts(Bootstrap.Estimator) - Method in class bb.science.Bootstrap
Jackknifes Bootstrap.sample, calculating a point estimate for each jackknife resample using estimator.
calcPdfTheory(Bins, double, double) - Static method in class bb.science.Math2
 
calcStatsOfCurrentBin() - Method in class bb.science.StatsOverTime
May be repeatedly called (e.g. by toString) on the current bin, as it will simply overwrite the previous mapping.
calculate(double[]) - Method in interface bb.science.Bootstrap.Estimator
Calculates a point estimate for the statistic based on sample.
calculate(double[]) - Method in class bb.science.Bootstrap.EstimatorMean
 
calculate(double[]) - Method in class bb.science.Bootstrap.EstimatorMedian
 
calculate(double[]) - Method in class bb.science.Bootstrap.EstimatorSd
 
calculateStats() - Method in class bb.util.Benchmark
Calculates Benchmark.statsBlock from Benchmark.measurements.
calendarPerThread - Static variable in class bb.util.DateUtil
 
callLogError(Object, String) - Static method in class bb.util.ReflectUtil
Returns ReflectUtil.callLogError(Object, String, Class[], Object[])(obj, methodName, ReflectUtil.noArgSignature, ReflectUtil.noArgParameters).
callLogError(Object, String, Class[], Object[]) - Static method in class bb.util.ReflectUtil
Uses getMethod to find a method named methodName with a signature given by paramClasses on obj, and then invokes that method on obj using paramValues and returns the result.
callRestoreJvm - Variable in class bb.util.MemoryMeasurer
If true, causes getMemoryState to first call restoreJvm before measuring memory.
callRestoreJvm_default - Static variable in class bb.util.MemoryMonitor
Default value for the callRestoreJvm param of some of the constructors.
callResult - Variable in class bb.util.Benchmark
If task is a Callable, then records the last result of executing task.call().
CameraFileFilter - Class in bb.io.filefilter
File filter that accepts files generated by a digital camera.
CameraFileFilter() - Constructor for class bb.io.filefilter.CameraFileFilter
Constructs a new CameraFileFilter instance; directories are accepted.
candela - Static variable in class bb.science.Unit
Models the SI base unit of luminous intensity, the candela.
canEncode(char) - Static method in class bb.io.FileUtil
Determines whether or not this platform's default Charset) can encode c and then decode it back to the exact same value.
canHandle(Component, String) - Static method in class bb.gui.FontUtil
Determines whether or not the component's Font is capable of displaying all of the chars of s that require a glyph.
cap - Variable in class bb.gui.BasicStrokeSerializer
 
capacityInitial_default - Static variable in class bb.util.BidirectionalMap
 
CaseInsensitiveComparator - Class in bb.util
Imposes an ordering on Strings that is inconsistent with equals; see compare for details.
CaseInsensitiveComparator() - Constructor for class bb.util.CaseInsensitiveComparator
 
CaseInsensitiveComparator.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
CaseInsensitiveComparator.UnitTest() - Constructor for class bb.util.CaseInsensitiveComparator.UnitTest
 
caw - Variable in class bb.io.PrintWriterStoring
 
ceiling(E) - Method in class bb.util.Collections2.UnmodifiableNavigableSet
 
centerLineInScrollPane(JTextComponent) - Static method in class bb.gui.SwingUtil
Centers the line containing the caret inside a scroll pane.
centi - Static variable in class bb.science.Prefix
Models the SI prefix for 10-2, the centi.
changeExtension(File, String) - Static method in class bb.io.FileUtil
Trys to change file's extension to extensionNew.
changes - Variable in class bb.util.ListWithIndex
 
char_1 - Static variable in class bb.util.ObjectState.UnitTest.SuperClass
 
char_2 - Static variable in class bb.util.ObjectState.UnitTest.SubClass
 
charEncoding_default - Static variable in class bb.io.ParseReader
 
charsAll - Static variable in class bb.gui.FontUtil.UnitTest
Contains all possible char values, in sequence, from Character.MIN_VALUE to Character.MAX_VALUE.
CharUtil - Class in bb.util
Provides static utility methods for dealing with chars.
CharUtil() - Constructor for class bb.util.CharUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
CharUtil.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
CharUtil.UnitTest() - Constructor for class bb.util.CharUtil.UnitTest
 
Check - Class in bb.util
Contains methods that perform various checks on data.
Check() - Constructor for class bb.util.Check
Convenience constructor that merely calls this(true).
Check(boolean) - Constructor for class bb.util.Check
Fundamental constructor.
check - Variable in class bb.util.Check.UnitTest
 
Check.Arg - Class in bb.util
Concrete subclass of Check which is meant for checking method arguments.
Check.Arg() - Constructor for class bb.util.Check.Arg
 
Check.Assert - Class in bb.util
Concrete subclass of Check which is meant for checking arbitrary state.
Check.Assert() - Constructor for class bb.util.Check.Assert
Constructor.
Check.CheckAdaptor - Class in bb.util
Abstract subclass of Check which merely implements Check.onFailure(String) to forward to Check.onFailure(String, Throwable).
Check.CheckAdaptor() - Constructor for class bb.util.Check.CheckAdaptor
 
Check.CheckAdaptor(boolean) - Constructor for class bb.util.Check.CheckAdaptor
 
Check.State - Class in bb.util
Concrete subclass of Check which is meant for checking arbitrary state.
Check.State() - Constructor for class bb.util.Check.State
 
Check.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
Check.UnitTest() - Constructor for class bb.util.Check.UnitTest
 
checkForRollover() - Method in class bb.io.FileRollingWriter
Determines if need to close the current writer and create a new one that writes to the next rollover file.
checkHeaderFieldBody(String, String) - Static method in class bb.net.EmailUtil
Checks whether or not fieldBody is a valid email field body as specified by RFC #822 (especially section 3.1.2.
checkKey(Object) - Method in class bb.util.Properties2
Checks that obj is a valid key.
checkKeys(Collection<String>) - Method in class bb.util.Properties2
Checks if this instance contains any keys which are not elements of keysLegal.
checkMutate(String) - Method in class bb.util.Properties2
 
checkNumbers(double[], boolean) - Static method in class bb.science.Math2
Checks that numbers is non-null, non-empty, and every element is non-NaN.
checkPeriod(int, String) - Method in class bb.science.Lfsr.UnitTest
 
checkReader(Reader) - Static method in class bb.io.ParseReader
 
checkState() - Method in class bb.util.Benchmark
Checks that all the state of this instance satisfies its contracts.
checkTimeValue(double, String) - Method in class bb.util.Benchmark.Stats
Checks that t is a valid time value.
checkTransitions(EnumMap<E, EnumSet<E>>) - Method in class bb.util.StateMachine
 
checkValue(Object) - Method in class bb.util.Properties2
Checks that obj is a valid value.
ciResult - Variable in class bb.science.Bootstrap.UnitTest.CiTask
 
Class_1 - Variable in class bb.util.ObjectState.UnitTest.SuperClass
 
Class_2 - Variable in class bb.util.ObjectState.UnitTest.SubClass
 
classAccepted(Class, Object, Set<ObjectState.Filter>) - Method in class bb.util.ObjectState
 
classArray - Static variable in class bb.io.StreamUtil
Cached value used by close.
classCalling - Variable in class bb.util.Execute
 
classDir - Variable in class bb.util.JUnitExecutor.StdStreamSwapper
 
classes_key - Static variable in class bb.util.JUnitExecutor
 
classesNeedTests - Variable in class bb.util.JUnitExecutor.FindTestEvents
 
classFilePath(Class) - Static method in class bb.util.ClassUtil
 
ClassFilter - Class in bb.io.filefilter
File filter that accepts Java class files.
ClassFilter() - Constructor for class bb.io.filefilter.ClassFilter
Constructs a new ClassFilter instance.
classLoadFailed(File, Throwable) - Method in class bb.util.JUnitExecutor.FindTestEvents
 
className - Variable in class bb.util.Execute.Caller
 
className - Variable in class bb.util.JUnitExecutor.DescriptionFields
 
className - Variable in class bb.util.JUnitExecutor.RunListenerAbstract
 
className - Variable in class bb.util.logging.FormatterFull.Parser.LogRecordData
 
classNameCaller - Static variable in class bb.util.Execute.Caller
 
classNameExecute - Static variable in class bb.util.Execute.Caller
 
classNameThread - Static variable in class bb.util.Execute.Caller
 
classReqs - Variable in class bb.util.JUnitExecutor.PcmFilter
 
classToFields - Variable in class bb.util.ObjectState
For each Class in ObjectState.object's hierarchy (i.e. object's direct Class, any superclasses, any interface hierarchy), stores a mapping from the Class to an array of every declared Field of that class.
classToMethodsFailed - Variable in class bb.util.JUnitExecutor.TestRunEvents
 
ClassToReflectOn - Class in bb.misc
Class with multiple fields and methods that use various modifiers.
ClassToReflectOn() - Constructor for class bb.misc.ClassToReflectOn
Package-private constructor too.
ClassUtil - Class in bb.util
Provides static utility methods that deal with the Class of an object.
ClassUtil() - Constructor for class bb.util.ClassUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
ClassUtil.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
ClassUtil.UnitTest() - Constructor for class bb.util.ClassUtil.UnitTest
 
cleanFractionThreshold - Variable in class bb.util.Benchmark.Params
Maximum fraction of time that can be spent doing a final JVM cleanup after all measurements have been performed before a warning is issued that the measurements may be too small (because they failed to include cleanup costs).
cleanIssues - Variable in class bb.util.Benchmark
Records any issues that were found while doing a final JVM clean after all measurements were carried out.
cleanJvm() - Method in class bb.util.Benchmark
Attempts to restore the JVM to a pristine state by aggressively performing object finalization and garbage collection.
cleanJvmFinal() - Method in class bb.util.Benchmark
Measures how long it takes to execute a call to cleanJvm.
clear() - Method in class bb.util.ConcurrentHashSet
 
clear() - Method in class bb.util.DateUtil.DateStringCache
Clears every Date <--> String mapping and resets all the counting fields back to 0.
clear() - Method in class bb.util.Properties2
clear() - Method in class bb.util.Unmodifiables.UnmodifiableCollection
 
clear() - Method in class bb.util.Unmodifiables.UnmodifiableMap
 
clearDateStringCaches() - Static method in class bb.util.DateUtil
Calls clear on all the DateUtil.DateStringCache fields of this class: DateUtil.dayOfYearCache, DateUtil.timeOfDayStampCache, DateUtil.timeOfDayStampForFileCache, DateUtil.timeStampCache, DateUtil.timeStampForFileCache.
clearLine - Static variable in class bb.io.ConsoleUtil
A piece of text that when printed clears the current line on the console.
clearUserMsgs() - Method in class bb.util.Benchmark
Clears any output that may have been written by calls to sendUserMsg.
clip - Variable in class bb.gui.SoundUtil.Player
 
clone() - Method in class bb.util.Benchmark.Params
Contract: returns a new Params instance that contains equivalent data to this instance.
cloneDeep(EnumMap<E, EnumSet<E>>) - Method in class bb.util.StateMachine
 
close() - Method in class bb.gui.SoundUtil.Player
Calls clip.close, and then calls this instance's notifyAll.
close() - Method in class bb.io.FileParser
Closes all resources associated with the parsing.
close() - Method in class bb.io.FileRollingWriter
 
close() - Method in class bb.io.ParseReader
Sets start > end, since that is one signal of the closed state.
close(Closeable) - Static method in class bb.io.StreamUtil
Immediately returns if obj is null.
close(Object) - Static method in class bb.io.StreamUtil
Immediately returns if obj is null.
close() - Method in class bb.net.Emailer
Closes all messaging resources currently being used by this instance.
close() - Method in class bb.net.Emailer.Listener
 
close() - Method in class bb.util.JUnitExecutor.BufferWithEcho
Overrides superclass method to additionally erase the console line that this instance has been writing to.
close() - Method in class bb.util.logging.FormatterFull.Parser
Closes all resources used by this instance.
close() - Method in class bb.util.logging.HandlerAbstract
If isAlive returns true, then calls super.close before calling setAlive(false).
close() - Method in class bb.util.logging.HandlerAudio
First call releases all resources used by this instance.
close() - Method in class bb.util.logging.HandlerConsole
 
close() - Method in class bb.util.logging.HandlerEmail
First call releases all resources used by this instance.
close() - Method in class bb.util.logging.HandlerGui
First call releases all resources used by this instance, including permanently closing the GUI window.
close(Logger) - Static method in class bb.util.logging.LogUtil
Immediately returns if logger == null.
close() - Method in interface bb.util.MemoryMonitorListener
Called when the associated MemoryMonitor is being closed.
close() - Method in class bb.util.MemoryMonitorListenerImpl
 
close() - Method in class bb.util.ThreadMonitor.UnitTest.ListenerTest
 
closeButton - Variable in class d.g.ObjectStateDisplay
 
closeCustomize() - Method in class bb.util.logging.FrameLog
 
closed(ConnectionEvent) - Method in class bb.net.Emailer.Listener
 
closeExecuted - Variable in class bb.gui.SoundUtil.Player
Condition predicate for this instance's condition queue (i.e. the wait/notifyAll calls below; see "Java Concurrency in Practice" by Goetz et al p. 296ff, especially p. 299).
cMaxSolver(double, double, double, double, double, double) - Method in class bb.util.Benchmark.Stats
See the "Computer algorithm" subsection of the article supplement for more details.
Collections2 - Class in bb.util
Adds functionality that is missing from Collections.
Collections2() - Constructor for class bb.util.Collections2
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
Collections2.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
Collections2.UnitTest() - Constructor for class bb.util.Collections2.UnitTest
 
Collections2.UnmodifiableNavigableSet<E> - Class in bb.util
 
Collections2.UnmodifiableNavigableSet(NavigableSet<E>) - Constructor for class bb.util.Collections2.UnmodifiableNavigableSet
 
command - Variable in class bb.util.OsUtil.ExecTask
 
CommandLineInterface - Class in bb.util
Illustrates one way to quickly implement a simple command line interface (CLI).
CommandLineInterface() - Constructor for class bb.util.CommandLineInterface
This sole private constructor ensures non-instantiability outside of this class.
CommandLineInterface.Commands - Class in bb.util
Whenever you wish to add a command to the CommandLineInterface class, all that you need to do is add it as a method of this class.
CommandLineInterface.Commands() - Constructor for class bb.util.CommandLineInterface.Commands
 
CommandLineInterface.StdinReader - Class in bb.util
 
CommandLineInterface.StdinReader() - Constructor for class bb.util.CommandLineInterface.StdinReader
 
commands - Variable in class bb.util.CommandLineInterface.StdinReader
 
comparator() - Method in class bb.util.Properties2
 
comparator() - Method in class bb.util.Unmodifiables.UnmodifiableSortedMap
 
comparator() - Method in class bb.util.Unmodifiables.UnmodifiableSortedSet
 
compare(double, double) - Static method in class bb.science.Math2
Compares the two double args: returns -1 if d1 < d2, 0 if d1 == d2, 1 if d1 > d2.
compare(int, int) - Static method in class bb.science.Math2
Compares the two int args: returns -1 if i1 < i2, 0 if i1 == i2, 1 if i1 > i2.
compare(long, long) - Static method in class bb.science.Math2
Compares the two long args: returns -1 if l1 < l2, 0 if l1 == l2, 1 if l1 > l2.
compare(String, String) - Method in class bb.util.CaseInsensitiveComparator
Converts s1 and s2 to lower case and then returns s1.
compare(Locale, Locale) - Method in class bb.util.LocaleTimeZoneUtil.LocaleComparator
Tries to order l1 and l2 by their names: returns l1.
compare(Field, Field) - Method in class bb.util.ReflectUtil.FieldComparator
Tries to order f1 and f2 by their names (case irrelevant): returns f1.getName().toLowerCase().compareTo( f2.getName().toLowerCase() ) if that result is !
compareBootstrapCiWithTheory() - Method in class bb.science.Bootstrap.UnitTest
Ouput is the relevant files in the doc/bootstrap/testResults directory of this project.
compareBootstrapCiWithTheory(Bootstrap.UnitTest.Distribution) - Method in class bb.science.Bootstrap.UnitTest
 
compareContents(File, File) - Static method in class bb.io.FileUtil
Compares the contents of the two supplied normal files, byte by byte.
compareTo(FontUtil.FontRank) - Method in class bb.gui.FontUtil.FontRank
Tries to order this and other by their ranks: returns Double.compare( other.rank, this.rank ) if that result is !
compilationTimeTotal - Variable in class bb.util.Benchmark.JvmState
Accumlated elapsed time (in milliseconds) spent in compilation.
ComponentUtil - Class in bb.gui
Provides static utility methods that deal with Components.
ComponentUtil() - Constructor for class bb.gui.ComponentUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
CompoundFilter - Class in bb.io.filefilter
Meta filter whose accept method incorporates all the constraints of all the file filters that it was constructed with.
CompoundFilter(CompoundFilter.LogicMode, FileFilter...) - Constructor for class bb.io.filefilter.CompoundFilter
Constructor.
CompoundFilter.LogicMode - Enum in bb.io.filefilter
Enum of all the supported modes for applying the individual filters.
CompoundFilter.LogicMode() - Constructor for enum bb.io.filefilter.CompoundFilter.LogicMode
 
CompoundFilter.UnitTest - Class in bb.io.filefilter
See the Overview page of the project's javadocs for a general description of this unit test class.
CompoundFilter.UnitTest() - Constructor for class bb.io.filefilter.CompoundFilter.UnitTest
 
CompoundFilter.UnitTest.TestFilter - Class in bb.io.filefilter
 
CompoundFilter.UnitTest.TestFilter(String...) - Constructor for class bb.io.filefilter.CompoundFilter.UnitTest.TestFilter
 
CompoundFilter.UnitTest.TestFilter0 - Class in bb.io.filefilter
 
CompoundFilter.UnitTest.TestFilter0() - Constructor for class bb.io.filefilter.CompoundFilter.UnitTest.TestFilter0
 
CompoundFilter.UnitTest.TestFilter1 - Class in bb.io.filefilter
 
CompoundFilter.UnitTest.TestFilter1() - Constructor for class bb.io.filefilter.CompoundFilter.UnitTest.TestFilter1
 
concatenate(T[], T[]) - Static method in class bb.util.ArrayUtil
This method concatenates two arrays into one.
ConcurrentHashSet<E> - Class in bb.util
Set implementation backed by a concurrent hash table (a ConcurrentHashMap instance).
ConcurrentHashSet() - Constructor for class bb.util.ConcurrentHashSet
Constructs a new empty set.
ConcurrentHashSet(int) - Constructor for class bb.util.ConcurrentHashSet
Constructs a new empty set.
ConcurrentHashSet(int, float, int) - Constructor for class bb.util.ConcurrentHashSet
Constructs a new, empty set.
ConcurrentHashSet(Collection<? extends E>) - Constructor for class bb.util.ConcurrentHashSet
Constructs a new set containing the elements in the specified collection.
confidenceIntervalContains(double) - Method in class bb.science.Bootstrap.Estimate
 
confidenceLevel - Variable in class bb.science.Bootstrap
 
confidenceLevel - Variable in class bb.science.Bootstrap.Estimate
Specifies the confidence level of the confidence intervals.
confidenceLevel - Variable in class bb.science.Bootstrap.UnitTest.CiTask
 
confidenceLevel - Static variable in class bb.science.Bootstrap.UnitTest
 
confidenceLevel - Variable in class bb.science.Bootstrap.UnitTest.CoverageTask
 
confidenceLevel - Variable in class bb.util.Benchmark.Params
If Benchmark.Params.manyExecutions is true, then specifies the confidence level to use when calculating the confidence intervals for the statistics.
confidenceLevel_default - Static variable in class bb.science.Bootstrap
Default value for Bootstrap.confidenceLevel.
configure() - Method in class bb.util.logging.HandlerAbstract
Initializes an instance using the following LogManager configuration properties: className.encoding the name of the character set encoding to use (default: getEncodingDefault) className.filter specifies the name of a Filter class to use (default: getFilterDefault) className.formatter specifies the name of a Formatter class to use (default: getFormatterDefault) className.level specifies the default level for the Handler (default: getLevelDefault) If any property is not defined (or has an invalid value) then the specified default value is used.
confirmEntrySeparatorNext() - Method in class bb.util.logging.FormatterFull.Parser
 
confirmExtraction(File, File) - Method in class bb.io.TarUtil.UnitTest
 
confirmExtraction(File, File) - Method in class bb.io.ZipUtil.UnitTest
 
confirmLogFileContains(String) - Method in class bb.util.UncaughtThrowableLogger.UnitTest
 
confirmTokenNext(String) - Method in class bb.io.ParseReader
Returns confirmTokenNext(token, true) (i.e. is always case sensitive).
confirmTokenNext(String, boolean) - Method in class bb.io.ParseReader
Confirms that the supplied token's chars next occur on the stream.
connectionListeners - Variable in class bb.net.Emailer
Set of all ConnectionListeners used by this instance.
connectTimeout_default - Static variable in class bb.net.UrlUtil
 
consoleFeedback - Variable in class bb.util.Benchmark.Params
Specifies whether or not console feedback should be given regarding the benchmarking progress.
ConsoleUtil - Class in bb.io
Provides static utility methods for dealing with consoles (i.e. the default System.in and System.out).
ConsoleUtil() - Constructor for class bb.io.ConsoleUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
ConsoleUtil.LineWriterTask - Class in bb.io
 
ConsoleUtil.LineWriterTask() - Constructor for class bb.io.ConsoleUtil.LineWriterTask
 
ConsoleUtil.UnitTest - Class in bb.io
See the Overview page of the project's javadocs for a general description of this unit test class.
ConsoleUtil.UnitTest() - Constructor for class bb.io.ConsoleUtil.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
ContainerUtil - Class in bb.gui
Provides static utility methods that deal with Containers.
ContainerUtil() - Constructor for class bb.gui.ContainerUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
contains(File, File) - Static method in class bb.io.DirUtil
Determines whether or not directory contains file (which could be either a normal file or a directory).
contains(Object) - Method in class bb.util.BidirectionalMap
Determines whether or not this instance contains object (i.e. whether or not object is currently associated with anything).
contains(Object) - Method in class bb.util.ConcurrentHashSet
 
contains(Object) - Method in class bb.util.Unmodifiables.UnmodifiableCollection
 
contains(Object) - Method in class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet
This method is overridden to protect the backing set against an object with a nefarious equals function that senses that the equality-candidate is Map.Entry and calls its setValue method.
containsAll(Collection<?>) - Method in class bb.util.Unmodifiables.UnmodifiableCollection
 
containsAll(Collection<?>) - Method in class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet
The next two methods are overridden to protect against an unscrupulous List whose contains(Object o) method senses when o is a Map.Entry, and calls o.setValue.
containsJUnitTests(Class, JUnitExecutor.PcmFilter) - Method in class bb.util.JUnitExecutor
 
containsKey(Object) - Method in class bb.util.Properties2
containsKey(Object) - Method in class bb.util.Unmodifiables.UnmodifiableMap
 
containsValue(Object) - Method in class bb.util.Properties2
containsValue(Object) - Method in class bb.util.Unmodifiables.UnmodifiableMap
 
continueButton - Variable in class d.g.ObjectStateDisplay
 
convert() - Method in class bb.gui.BasicStrokeSerializer
Converts this instance into a new BasicStroke instance and returns it.
copy(File, File, boolean) - Static method in class bb.io.FileUtil
Copies source to target.
copy() - Method in class bb.util.Properties2
Copies this instance into a new ConcurrentNavigableMap, which is then returned.
count - Variable in class bb.gui.ScreenShot.UnitTest.Gui
 
count - Static variable in class bb.io.FileParent
 
count - Static variable in class bb.science.Lfsr
 
countAll - Variable in class bb.science.Bootstrap.UnitTest.CiResult.Metrics
 
countAll - Variable in class bb.science.Bootstrap.UnitTest.CoverageResult.Metrics
 
countClassesLoaded - Variable in class bb.util.Benchmark.JvmState
Count of the total number of classes that have been loaded by this JVM.
countClassesUnloaded - Variable in class bb.util.Benchmark.JvmState
Count of the total number of classes that have been unloaded by this JVM.
countDateInfoCacheMisses - Static variable in class bb.util.DateUtil
Stores the number of cache misses for the current DateInfo cache.
countGreater - Variable in class bb.science.Bootstrap.UnitTest.CoverageResult.Metrics
 
countHardCases - Static variable in class bb.util.NumberUtil
Number of hard to parse cases that parseDouble has encountered so far.
countIn - Variable in class bb.science.Bootstrap.UnitTest.CoverageResult.Metrics
 
countLess - Variable in class bb.science.Bootstrap.UnitTest.CoverageResult.Metrics
 
countNaN - Variable in class bb.science.Bootstrap.UnitTest.CoverageResult.Metrics
 
counts - Variable in class bb.science.Bins
 
countState - Variable in class bb.util.MemoryMonitorListenerImpl
 
countTotal - Variable in class bb.util.ObjectCounter
 
coverageResult - Variable in class bb.science.Bootstrap.UnitTest.CoverageTask
 
createClassToReflectOn() - Static method in class bb.misc.MiscFactory
 
createNewBin(Date) - Method in class bb.science.StatsOverTime
 
createRolloverFile(int) - Method in class bb.io.FileRollingWriter
Creates the nth rollover file.
createTemp(String) - Static method in class bb.io.FileUtil
Returns createTemp( new File(path) ).
createTemp(File) - Static method in class bb.io.FileUtil
Creates a temporary normal file.
createTempLog(String) - Static method in class bb.io.FileUtil
Creates a temp file inside the log directory.
cyclicBarrier - Variable in class bb.util.ThreadMeasurer.UnitTest.DoubleLockAquirer
 

D

d - package d
Provides classes which are useful in debugging.
dash - Variable in class bb.gui.BasicStrokeSerializer
 
dash_phase - Variable in class bb.gui.BasicStrokeSerializer
 
data - Variable in class bb.util.logging.FormatterFull.Parser
 
date12345_12_31_23_59_59_999 - Static variable in class bb.util.DateUtil.UnitTest
 
date1994 - Static variable in class bb.util.DateUtil.UnitTest
 
Date2 - Class in bb.util
A replacement for Date which corrects all its design mistakes.
Date2(Date) - Constructor for class bb.util.Date2
 
Date2(long) - Constructor for class bb.util.Date2
 
date2004 - Static variable in class bb.util.DateUtil.UnitTest
 
date2004_11_28 - Static variable in class bb.util.DateUtil.UnitTest
 
date2004_11_30 - Static variable in class bb.util.DateUtil.UnitTest
 
date2004_12_01 - Static variable in class bb.util.DateUtil.UnitTest
 
date2004_12_24 - Static variable in class bb.util.DateUtil.UnitTest
 
date2004_12_30 - Static variable in class bb.util.DateUtil.UnitTest
 
date2004_12_31 - Static variable in class bb.util.DateUtil.UnitTest
 
date2004_12_31_23 - Static variable in class bb.util.DateUtil.UnitTest
 
date2004_12_31_23_59 - Static variable in class bb.util.DateUtil.UnitTest
 
date2004_12_31_23_59_59 - Static variable in class bb.util.DateUtil.UnitTest
 
date2004_12_31_23_59_59_999 - Static variable in class bb.util.DateUtil.UnitTest
 
date2004_6 - Static variable in class bb.util.DateUtil.UnitTest
 
date2005 - Static variable in class bb.util.DateUtil.UnitTest
 
date2005_01_02 - Static variable in class bb.util.DateUtil.UnitTest
 
date2005_12_31 - Static variable in class bb.util.DateUtil.UnitTest
 
date2006_12_31 - Static variable in class bb.util.DateUtil.UnitTest
 
date2014 - Static variable in class bb.util.DateUtil.UnitTest
 
date2114 - Static variable in class bb.util.DateUtil.UnitTest
 
date333BC - Static variable in class bb.util.DateUtil.UnitTest
 
DateConstraint - Class in bb.util
Stores information which defines date constraints, and offers the accepts method to test a given Date.
DateConstraint(Date, Date, int, int, long, long) - Constructor for class bb.util.DateConstraint
Constructor.
DateConstraint.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
DateConstraint.UnitTest() - Constructor for class bb.util.DateConstraint.UnitTest
 
dateEpoch - Static variable in class bb.util.DateUtil.UnitTest
 
dateFeb29OfLeapYear - Static variable in class bb.util.DateUtil.UnitTest
 
dateFormatPerThread - Variable in class bb.util.DateUtil.DateStringCache
Used to format/parse Dates/Strings that lack a String/Date mapping.
dateFriday - Static variable in class bb.util.DateUtil.UnitTest
 
dateInfoBins - Static variable in class bb.util.DateUtil
Forms the top level of the DateInfo cache, namely, an array of DateUtil.DateInfoBin instances.
dateInfoCacheSize - Static variable in class bb.util.DateUtil
Stores the number of DateInfo instances that are currently cached.
dateInfoCacheSizeMax - Static variable in class bb.util.DateUtil
Specifies the maximum number of DateInfo instances that will be cached.
dateInfos - Variable in class bb.util.DateUtil.DateInfoBin
Forms the second level of the DateInfo cache, namely, an array of DateUtil.DateInfo instances.
dateMax - Variable in class bb.util.DateConstraint
Specifies the maximum Date value.
dateMax - Static variable in class bb.util.DateUtil.UnitTest
 
dateMin - Variable in class bb.util.DateConstraint
Specifies the minimum Date value.
dateMin - Static variable in class bb.util.DateUtil.UnitTest
 
dateSaturday - Static variable in class bb.util.DateUtil.UnitTest
 
dateSunday - Static variable in class bb.util.DateUtil.UnitTest
 
dateToStats - Variable in class bb.science.StatsOverTime
Maps a bin's start Date to its Stats.
dateToString - Variable in class bb.util.DateUtil.DateStringCache
Stores the Date --> String mappings.
DateUtil - Class in bb.util
Provides static utility methods relating to Dates.
DateUtil() - Constructor for class bb.util.DateUtil
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
DateUtil.DateInfo - Class in bb.util
Stores various calendar related qualities of a Date, such as its era, year, etc.
DateUtil.DateInfo(Date) - Constructor for class bb.util.DateUtil.DateInfo
 
DateUtil.DateInfoBin - Class in bb.util
Stores all the DateUtil.DateInfo instances which have a common day number key (as calculated by getDateInfo).
DateUtil.DateInfoBin() - Constructor for class bb.util.DateUtil.DateInfoBin
 
DateUtil.DateStringCache - Class in bb.util
Stores Date <--> String mappings (i.e. from the user's perspective, it is a bidirectional map).
DateUtil.DateStringCache(String) - Constructor for class bb.util.DateUtil.DateStringCache
Simply calls this(pattern, DateUtil.DateStringCache.sizeMax_default).
DateUtil.DateStringCache(String, int) - Constructor for class bb.util.DateUtil.DateStringCache
Simply calls this(pattern, sizeMax, false).
DateUtil.DateStringCache(String, boolean) - Constructor for class bb.util.DateUtil.DateStringCache
Simply calls this(pattern, DateUtil.DateStringCache.sizeMax_default, useIsoDateFormat).
DateUtil.DateStringCache(String, int, boolean) - Constructor for class bb.util.DateUtil.DateStringCache
The fundamental constructor.
DateUtil.IsoDateFormat - Class in bb.util
Formats/parses dates that are ISO 8601 compliant.
DateUtil.IsoDateFormat(String) - Constructor for class bb.util.DateUtil.IsoDateFormat
 
DateUtil.TimeZoneChange - Class in bb.util
Stores information about a time zone change.
DateUtil.TimeZoneChange(Date) - Constructor for class bb.util.DateUtil.TimeZoneChange
 
DateUtil.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
DateUtil.UnitTest() - Constructor for class bb.util.DateUtil.UnitTest
 
day - Static variable in class bb.util.TimeLength
Length of a standard day (i.e. 24 hours) in milliseconds.
dayAfterLeapDay - Static variable in class bb.util.DateUtil.UnitTest
 
dayLeapNeg - Static variable in class bb.util.TimeLength
Length of a negative leap second day in milliseconds.
dayLeapPos - Static variable in class bb.util.TimeLength
Length of a positive leap second day in milliseconds.
dayLength - Variable in class bb.util.DateUtil.DateInfo
 
dayMax - Static variable in class bb.util.TimeLength
Maximum length of a day in milliseconds.
dayMin - Static variable in class bb.util.TimeLength
Minimum length of a day in milliseconds.
dayOfMonth - Variable in class bb.util.DateUtil.DateInfo
 
dayOfWeek - Variable in class bb.util.DateUtil.DateInfo
 
dayOfWeekMax - Variable in class bb.util.DateConstraint
Specifies the maximum day of week value.
dayOfWeekMin - Variable in class bb.util.DateConstraint
Specifies the minimum day of week value.
dayOfYear - Variable in class bb.util.DateUtil.DateInfo
 
dayOfYearCache - Static variable in class bb.util.DateUtil
The cache used by getDayStamp and parseDayStamp.
dayOfYearPattern - Static variable in class bb.util.DateUtil
A time pattern String for the SimpleDateFormat class which exactly specifies a day of the year.
dayStart - Variable in class bb.util.DateUtil.DateInfo
 
dayTzChNeg - Static variable in class bb.util.TimeLength
Length of a negative time zone change day in milliseconds.
dayTzChPos - Static variable in class bb.util.TimeLength
Length of a positive time zone change day in milliseconds.
DBConnManager - Class in bb.jdbc
This class manages access to database Connections.
DBConnManager() - Constructor for class bb.jdbc.DBConnManager
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
deadlocked - Variable in class bb.util.ThreadMonitor
Records whether or not thread deadlock has been detected.
deci - Static variable in class bb.science.Prefix
Models the SI prefix for 10-1, the deci.
decimalSeparator - Static variable in class bb.util.NumberUtil
 
decrement() - Method in class bb.util.State
Moves to the previous state (wrapping around to the end of the states array if are currently at beginning).
decrementIndex() - Method in class bb.util.ListWithIndex
If hasPrevious() returns true, then this method decrements index.
decrementObjectGraph(Object) - Static method in class bb.util.ObjectState
 
decryptOperation - Static variable in class bb.io.EncryptUtil
Specifies decryption mode.
default_field - Variable in class bb.misc.ClassToReflectOn
 
deka - Static variable in class bb.science.Prefix
Models the SI prefix for 101, the deka.
delay - Static variable in class bb.io.ConsoleUtil
 
delete(File) - Static method in class bb.io.DirUtil
Deletes a directory along with all of its contents.
delete(File) - Static method in class bb.io.FileUtil
Trys to delete file, and throws an IOException if the delete failed.
deleteIfExists(File) - Static method in class bb.io.DirUtil
Calls delete(directory) if directory !
deleteIfExists(File) - Static method in class bb.io.FileUtil
Calls delete(file) if file !
deque - Variable in class bb.util.BufferFixed
Underlying data structure that holds elements.
deque - Variable in class bb.util.BufferFixed.State
Copy of the deque field.
descendingIterator() - Method in class bb.util.Collections2.UnmodifiableNavigableSet
 
descendingSet() - Method in class bb.util.Collections2.UnmodifiableNavigableSet
 
descent - Variable in class bb.gui.GraphicsLabel
 
describe() - Method in class bb.util.JUnitExecutor.PcmFilter
 
describe(Object) - Static method in class bb.util.ObjectState
Returns describe( obj, null).
describe(Object, String) - Static method in class bb.util.ObjectState
Returns new ObjectState( obj, immediateInstanceState ).
describeAsciiCharsByHammingDistance(byte) - Static method in class bb.util.StringUtil
Meant for use just by diagnoseProblem to provide a better diagnostic message to the user.
description(URL) - Static method in class bb.net.UrlUtil
Returns a string that describes every aspect of url.
description - Variable in class bb.science.Unit
A description of the underlying quantity associated with the unit (e.g. length, mass, etc).
destroy() - Method in class bb.servlet.AbstractFilter
Takes this filter out of service.
detected_onMemoryLow - Variable in class bb.util.MemoryMonitor.UnitTest.ListenerTest
 
detected_onMemoryNotLow - Variable in class bb.util.MemoryMonitor.UnitTest.ListenerTest
 
determineCoverage(Bootstrap.UnitTest.Distribution, int, int, double, int, String) - Method in class bb.science.Bootstrap.UnitTest
 
determineNumberExecutions() - Method in class bb.util.Benchmark
Determines how many executions of Benchmark.task are required in order for the sum of their execution times to equal Benchmark.params.
determineNumberOfTrials() - Method in class bb.science.Bootstrap.UnitTest
Explores how the CI coverage relative precision changes as a function of the number of trials.
diagnoseGetProblem(Throwable) - Static method in class bb.util.ReflectUtil
Returns a useful diagnostic message for a Throwable generated when calling Field.get.
diagnoseOutliers() - Method in class bb.util.Benchmark
Diagnoses Benchmark.measurements for the presence of outliers.
diagnosePeriod(long, int) - Method in class bb.science.Lfsr.UnitTest
 
diagnoseProblem(byte[], int) - Static method in class bb.util.StringUtil
Meant for use just by asciiBytesToChars to provide a better diagnostic message to the user.
diagnoseSd(double, double) - Method in class bb.util.Benchmark
Diagnoses the sd parameter to see if it really represents the intrinsic variation in Benchmark.task's execution time or if it is just reflecting environmental noise.
diagnoseSdOfActions(double) - Method in class bb.util.Benchmark.Stats
See the "Standard deviation outlier model" section of the article supplement for more details.
diagnoseSerialCorrelation() - Method in class bb.util.Benchmark
Diagnoses Benchmark.measurements for the presence of serial correlation.
DialogInputSecure - Class in bb.gui
Subclass of JDialog which lets the user input some highly sensitive piece of text (e.g. a password).
DialogInputSecure(Frame, String, boolean, String, String, int) - Constructor for class bb.gui.DialogInputSecure
Constructs a new DialogInputSecure instance.
DialogInputSecure.DialogTask - Class in bb.gui
Bridges the requirement of getInputSecure that any thread can call that method with the requirement of the constructor that only EventQueue's dispatch thread can call it.
DialogInputSecure.DialogTask(Frame, String, boolean, String, String, int) - Constructor for class bb.gui.DialogInputSecure.DialogTask
 
DialogInputSecure.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
DialogInputSecure.UnitTest() - Constructor for class bb.gui.DialogInputSecure.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
DialogMsgSuppress - Class in bb.util.logging
Subclass of JDialog which allows the user to manually specify a substring that identifies bad LogRecords.
DialogMsgSuppress(Frame) - Constructor for class bb.util.logging.DialogMsgSuppress
 
dialogTitle - Static variable in class bb.gui.LookAndFeelDialog
 
difference(Benchmark.JvmState) - Method in class bb.util.Benchmark.JvmState
Returns a String report of the differences, if any, between this instance and other.
difference(SortedSet<T>, SortedSet<T>) - Static method in class bb.util.SetUtil
Returns a new NavigableSet instance that is the difference of set1 and set2 (i.e. every element of set1 that is not in set2).
difference(Set<? extends T>, Set<? extends T>) - Static method in class bb.util.SetUtil
Returns a new Set instance that is the difference of set1 and set2 (i.e. every element of set1 that is not in set2).
difference(Set<? extends T>, Set<? extends T>, Set<T>) - Static method in class bb.util.SetUtil
 
digitToInt(char) - Static method in class bb.util.NumberUtil
 
digitToLong(char) - Static method in class bb.util.NumberUtil
 
dir - Variable in class bb.util.OsUtil.ExecTask
 
directory - Variable in class bb.io.FileRollingWriter
Parent directory of the rollover files.
directoryExtraction_key - Static variable in class bb.io.TarUtil
 
directoryExtraction_key - Static variable in class bb.io.ZipUtil
 
DirectoryFilter - Class in bb.io.filefilter
File filter that accepts directories.
DirectoryFilter() - Constructor for class bb.io.filefilter.DirectoryFilter
Constructs a new DirectoryFilter instance.
directoryMode - Variable in class bb.io.filefilter.BaseFilter
 
DirectoryMode - Enum in bb.io.filefilter
Enum of all the ways that directories can be handled by a filter.
DirectoryMode() - Constructor for enum bb.io.filefilter.DirectoryMode
 
dirTest - Static variable in class bb.io.DirUtil.UnitTest
 
dirTestId - Static variable in class bb.io.DirUtil.UnitTest
 
dirTestPrefix - Static variable in class bb.io.DirUtil.UnitTest
 
DirUtil - Class in bb.io
Provides static utility methods for dealing with directories.
DirUtil() - Constructor for class bb.io.DirUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
DirUtil.UnitTest - Class in bb.io
See the Overview page of the project's javadocs for a general description of this unit test class.
DirUtil.UnitTest() - Constructor for class bb.io.DirUtil.UnitTest
 
disconnected(ConnectionEvent) - Method in class bb.net.Emailer.Listener
 
display(Window, String, Dialog.ModalityType, String...) - Static method in class bb.gui.MessageDialog
Creates and displays a new MessageDialog instance.
Displayer - Class in bb.gui
JFrame subclass that initially only contains the JComponent supplied to its constructor.
Displayer(JComponent, String, String) - Constructor for class bb.gui.Displayer
Constructor.
Displayer.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
Displayer.UnitTest() - Constructor for class bb.gui.Displayer.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
distribution - Variable in class bb.science.Bootstrap.UnitTest.CiTask
 
distribution - Variable in class bb.science.Bootstrap.UnitTest.CoverageTask
 
DistributionFit - Class in bb.science
Stores all information related to fitting of data samples to some statistical distribution.
DistributionFit(String[], double[], String[], double[], double[], double[], double[]) - Constructor for class bb.science.DistributionFit
 
distributions - Static variable in class bb.science.Bootstrap.UnitTest
 
doAnalysis(URL, String) - Method in class bb.net.UrlUtil.UnitTest
 
doArrayRead(ParseReader, StringBuilder) - Static method in class bb.io.ParseReader.UnitTest
Perform the operation of reading a char[] of some random size.
doArrayUnRead(ParseReader, StringBuilder) - Static method in class bb.io.ParseReader.UnitTest
Perform the operation of unreading a char[] of some random size.
doCheck - Variable in class bb.util.Check
Records whether or not to perform each check.
doConsistencyCheck(ParseReader, StringBuilder) - Static method in class bb.io.ParseReader.UnitTest
First checks that parseReader has data left to read.
DocumentLimitedLength - Class in bb.gui
Subclass of PlainDocument which limits the number of chars that it will contain.
DocumentLimitedLength(int) - Constructor for class bb.gui.DocumentLimitedLength
Constructs a new DocumentLimitedLength instance.
DocumentLimitedLength(AbstractDocument.Content, int) - Constructor for class bb.gui.DocumentLimitedLength
Constructs a new DocumentLimitedLength instance.
DocumentLimitedLength.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
DocumentLimitedLength.UnitTest() - Constructor for class bb.gui.DocumentLimitedLength.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class bb.servlet.AbstractFilter
To be implemented by a concrete subclass.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class bb.servlet.CacheDisablingFilter
This method sets the response header for all incoming HTTP requests with values that should disable all caching for HTTP 1.1, HTTP 1.0, and any proxy server.
doGet(HttpServletRequest, HttpServletResponse) - Method in class bb.servlet.RequestEcho
This method simply calls doPost.
doManySingleReads(ParseReader, StringBuilder) - Static method in class bb.io.ParseReader.UnitTest
Perform the operation of reading a single char some random number of times.
doManySingleUnreads(ParseReader, StringBuilder) - Static method in class bb.io.ParseReader.UnitTest
Perform the operation of unreading a single char some random number of times.
doMeasurementFirst() - Method in class bb.util.Benchmark
Performs the first measurement of Benchmark.task's execution time.
doMeasurements() - Method in class bb.util.Benchmark
Measures many many executions of Benchmark.task.
doPost(HttpServletRequest, HttpServletResponse) - Method in class bb.servlet.RequestEcho
This method echoes back information about the request's metadata, headers, URL info, parameters, and content.
doReadLine(ParseReader, StringBuilder) - Static method in class bb.io.ParseReader.UnitTest
Perform the operation of reading 1 line of data.
doReadThruToken(ParseReader, StringBuilder) - Static method in class bb.io.ParseReader.UnitTest
Tests readThruToken.
doResampling(Bootstrap.Estimator[]) - Method in class bb.science.Bootstrap
Generates Bootstrap.numberResamples bootstrap resamples.
doSkip(ParseReader, StringBuilder) - Static method in class bb.io.ParseReader.UnitTest
First calls doReadLine so that stream is positioned at the known beginning of a line.
doSkipFully(ParseReader, StringBuilder) - Static method in class bb.io.ParseReader.UnitTest
First calls doReadLine so that stream is positioned at the known beginning of a line.
doSkipTillTokenNext(ParseReader, StringBuilder) - Static method in class bb.io.ParseReader.UnitTest
Tests skipTillTokenNext.
doSkipWhitespace(ParseReader, StringBuilder) - Static method in class bb.io.ParseReader.UnitTest
First calls doReadLine so that stream is positioned at the known beginning of a line.
double_1 - Static variable in class bb.util.ObjectState.UnitTest.SuperClass
 
double_2 - Static variable in class bb.util.ObjectState.UnitTest.SubClass
 
doubleArray_1 - Variable in class bb.util.ObjectState.UnitTest.SuperClass
 
drain(StreamDrainer) - Method in class bb.io.StreamDrainerForwarding.UnitTest
 
drain(InputStream) - Static method in class bb.io.StreamUtil
Returns drain(in, Integer.MAX_VALUE).
drain(InputStream, int) - Static method in class bb.io.StreamUtil
Attempts to read all the bytes from in until End Of Stream is reached.
drain(InputStream, int, long) - Static method in class bb.io.StreamUtil
Returns drain(in, lengthMax), if that call executes within timeout, else throws a TimeoutException.
drain(URL) - Static method in class bb.net.UrlUtil
Returns StreamUtil.drain( getInputStream(url) ).
drainAsciiToChars(InputStream) - Static method in class bb.io.StreamUtil
Passes in to the StreamUtil.drain(InputStream) method.
drainIntoString(InputStream, String) - Static method in class bb.io.StreamUtil
Passes in to the StreamUtil.drain(InputStream) method.
drainIntoString(InputStream) - Static method in class bb.io.StreamUtil
Passes in to the StreamUtil.drain(InputStream) method.
drainIntoString(URL) - Static method in class bb.net.UrlUtil
Returns StreamUtil.drainIntoString( getInputStream(url) ).
DuplicateEventActionListener - Class in bb.gui
Abstract implementation of ActionListener.
DuplicateEventActionListener() - Constructor for class bb.gui.DuplicateEventActionListener
Constructor.
duplicateEventMaxTimeDifference - Static variable in class bb.gui.DuplicateEventActionListener
Specifies the maximum time difference allowed between 2 events for them to be considered duplicate events.

E

e - Variable in class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntry
 
echoLastLine() - Method in class bb.util.JUnitExecutor.BufferWithEcho
 
echoMethodName() - Method in class bb.misc.ClassToReflectOn
 
edt() - Method in class bb.util.Check
Checks that the current thread is EventQueue's dispatch thread (aka the "EDT").
emailConfigFile - Variable in class bb.util.logging.HandlerEmail
Is the property File that configures HandlerEmail.threadEmailer's emailer.
emailDestAddr - Variable in class bb.util.logging.HandlerEmail
Is the email destination address field used by HandlerEmail.threadEmailer's emailer.
emailDestAddr - Variable in class bb.util.logging.HandlerEmail.EmailSender
 
Emailer - Class in bb.net
Each instance stores a specific set of mail server resources (see the makeXXX factory method javadocs).
Emailer(String, boolean, Session) - Constructor for class bb.net.Emailer
Constructor.
emailer - Variable in class bb.net.Emailer.UnitTest
 
emailer - Variable in class bb.util.logging.HandlerEmail.EmailSender
 
Emailer.Listener - Class in bb.net
 
Emailer.Listener(Logger) - Constructor for class bb.net.Emailer.Listener
 
Emailer.UnitTest - Class in bb.net
See the Overview page of the project's javadocs for a general description of this unit test class.
Emailer.UnitTest() - Constructor for class bb.net.Emailer.UnitTest
 
EmailUtil - Class in bb.net
Provides static email utility methods.
EmailUtil() - Constructor for class bb.net.EmailUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
empty(T[]) - Method in class bb.util.Check
Checks that array is empty (i.e. either is null or array.length == 0).
encryptionAlgorithm_default - Static variable in class bb.io.EncryptUtil
Stores a suggested encryption algorithm which classes that do not want to think about details can simply use.
encryptOperation - Static variable in class bb.io.EncryptUtil
Specifies encryption mode.
EncryptUtil - Class in bb.io
This class provides static utility methods for encryption.
EncryptUtil() - Constructor for class bb.io.EncryptUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
EncryptUtil.UnitTest - Class in bb.io
See the Overview page of the project's javadocs for a general description of this unit test class.
EncryptUtil.UnitTest() - Constructor for class bb.io.EncryptUtil.UnitTest
 
end - Variable in class bb.io.ParseReader
Index (exclusive) of the position in ParseReader.buffer where data ends.
end - Variable in class bb.science.Bins.Intervals
 
end() - Method in class bb.util.ProgressIndicator
 
enhance(int) - Static method in class bb.util.HashUtil
Attempts to return a very high quality hash function on h (i.e. one that is uniformly distributed among all possible int values, .
enhanceFallback1(int) - Static method in class bb.util.HashUtil
Returns a quick to compute hash of the input h.
enhanceFallback2(int) - Static method in class bb.util.HashUtil
Returns a quick to compute hash of the input h.
enhanceFallback3(int) - Static method in class bb.util.HashUtil
Returns a quick to compute hash of the input h.
enhanceFallback4(int) - Static method in class bb.util.HashUtil
 
ensureBufferHasData() - Method in class bb.io.ParseReader
Checks that buffer has at least 1 char of data.
ensureEndsInNewLine(String) - Static method in class bb.util.StringUtil
This method returns the supplied String if it already ends in a newline char sequence.
ensureExists(File) - Static method in class bb.io.DirUtil
Makes sure that directory exists, creating it and any parent directories if necessary.
ensureOpen() - Method in class bb.io.ParseReader
Checks that the stream has not been closed.
ensurePristine(Connection) - Static method in class bb.jdbc.DBConnManager
Returns newConnection if connection has already been closed.
ensurePushbackCapacity(int) - Method in class bb.io.ParseReader
Checks that buffer has the requested free space, increasing its size if necessary.
ensureSuffix(String, char) - Static method in class bb.util.StringUtil
Returns s itself if s already ends with suffix, else returns s concatenated with suffix.
ensureSuffix(String, String) - Static method in class bb.util.StringUtil
Returns s itself if s already ends with suffix, else returns s concatenated with suffix.
ensureUncaughtThrowablesHandled() - Method in class bb.util.Execute
 
entrySeparator - Static variable in class bb.util.logging.FormatterFull
 
entrySet() - Method in class bb.util.Properties2
entrySet - Variable in class bb.util.Unmodifiables.UnmodifiableMap
 
entrySet() - Method in class bb.util.Unmodifiables.UnmodifiableMap
 
envp - Variable in class bb.util.OsUtil.ExecTask
 
eq(Object, Object) - Static method in class bb.util.Unmodifiables
Returns true if the specified arguments are equal, or both null.
equalChars(char[], String) - Static method in class bb.util.StringUtil
Determines whether a char[] has exactly the same chars as a String.
equalDates(Date, Date) - Method in class bb.util.DateConstraint
 
equalParams(Bootstrap.UnitTest.CiTask) - Method in class bb.science.Bootstrap.UnitTest.CiTask
 
equalParams(Bootstrap.UnitTest.CoverageTask) - Method in class bb.science.Bootstrap.UnitTest.CoverageTask
 
equals(Object) - Method in class bb.gui.FontUtil.FontRank
Only returns true if obj is another FontRank instance whose font and rank fields equal this.
equals(Object) - Method in class bb.science.Bins.Intervals
Determines equality based on whether or not obj is an Intervals instance whose every field equals that of this instance.
equals(double, double) - Static method in class bb.science.Math2
Determines if the two double args are equal or not.
equals(Object) - Method in class bb.util.Benchmark.JvmState
Determines equality based on whether or not obj is a JvmState instance whose every field equals that of this instance.
equals(Object) - Method in class bb.util.Benchmark.Params
Determines equality based on whether or not obj's Class is the same as this instance's Class, and every field of it equals that of this instance.
equals(boolean, boolean) - Method in class bb.util.Check
Checks that value1 == value2.
equals(byte, byte) - Method in class bb.util.Check
Checks that value1 == value2.
equals(short, short) - Method in class bb.util.Check
Checks that value1 == value2.
equals(char, char) - Method in class bb.util.Check
Checks that value1 == value2.
equals(int, int) - Method in class bb.util.Check
Checks that value1 == value2.
equals(long, long) - Method in class bb.util.Check
Checks that value1 == value2.
equals(float, float) - Method in class bb.util.Check
Checks that value1 == value2.
equals(double, double) - Method in class bb.util.Check
Checks that value1 == value2.
equals(Object, Object) - Method in class bb.util.Check
Checks that obj1.equals(obj2).
equals(Object) - Method in class bb.util.DateConstraint
Immediately returns true if this == obj, or false if obj == null or !
equals(Object) - Method in class bb.util.MemoryState
Determines equality based on whether or not obj is a MemoryState instance whose every field equals that of this instance.
equals(Object) - Method in class bb.util.Properties2
 
equals(String, String) - Static method in class bb.util.StringUtil
Determines whether or not s1 is equal to s2.
equals(Object) - Method in class bb.util.Unmodifiables.UnmodifiableList
 
equals(Object) - Method in class bb.util.Unmodifiables.UnmodifiableMap
 
equals(Object) - Method in class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet
 
equals(Object) - Method in class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntry
 
equals(Object) - Method in class bb.util.Unmodifiables.UnmodifiableSet
 
era - Variable in class bb.util.DateUtil.DateInfo
 
erase(File, boolean) - Static method in class bb.io.DirUtil
Always deletes the contents of directory; the fate of the directory itself is specified by the deleteDirectory arg.
eraseChars(char[]) - Static method in class bb.io.EncryptUtil
If buffer is not null, fills buffer with space (' ') chars.
eraseLine() - Static method in class bb.io.ConsoleUtil
Erases the console's current line.
eraseLine() - Method in class bb.util.JUnitExecutor.BufferWithEcho
 
errDrainer - Variable in class bb.util.OsUtil.ExecTask
 
errHandler - Variable in class bb.util.logging.HandlerConsole
Used to write serious logs.
errors - Variable in class bb.util.OsUtil.ExecTask
 
establishDeadlocks() - Static method in class bb.util.ThreadMeasurer.UnitTest
Creates 2 threads which deadlock.
estimateNoiseFloor - Variable in class bb.util.Benchmark.Params
Specifies whether or not Benchmark.noiseTask will be run.
estimators - Variable in class bb.science.Bootstrap.UnitTest.CiTask
 
estimators - Variable in class bb.science.Bootstrap.UnitTest.CoverageTask
 
estimators_default - Static variable in class bb.science.Bootstrap
Default value for the estimators param of the fundamental constructor.
estimatorToEstimate - Variable in class bb.science.Bootstrap
 
estimatorToMetrics - Variable in class bb.science.Bootstrap.UnitTest.CiResult
 
estimatorToMetrics - Variable in class bb.science.Bootstrap.UnitTest.CoverageResult
 
EthernetMacAddress - Class in bb.net
This class stores an ethernet MAC (hardware) address as a byte[].
EthernetMacAddress(String) - Constructor for class bb.net.EthernetMacAddress
Constructor which parse the bytes from a String valued address.
EthernetMacAddress.UnitTest - Class in bb.net
See the Overview page of the project's javadocs for a general description of this unit test class.
EthernetMacAddress.UnitTest() - Constructor for class bb.net.EthernetMacAddress.UnitTest
 
events - Variable in class bb.util.JUnitExecutor.TestRunEvents
 
eventToString(ConnectionEvent) - Static method in class bb.net.EmailUtil
Returns a String representation of the information inside connectionEvent.
eventToString(TransportEvent) - Static method in class bb.net.EmailUtil
Returns a String representation of the information inside transportEvent.
exa - Static variable in class bb.science.Prefix
Models the SI prefix for 1018, the exa.
exceptionMsg - Static variable in class bb.util.UncaughtThrowableLogger.UnitTest
 
execAsynch(String) - Static method in class bb.util.OsUtil
Simply calls execAsynch(command, null, null).
execAsynch(String, String[], File) - Static method in class bb.util.OsUtil
Simply calls execAsynch(command, null, null, new StreamDrainerStoring(), new StreamDrainerStoring()).
execAsynch(String, String[], File, StreamDrainer, StreamDrainer) - Static method in class bb.util.OsUtil
Executes a native (operating system specific) command in a new child process.
execSynch(String) - Static method in class bb.util.OsUtil
Returns execSynch(command, null, null).
execSynch(String, String[], File) - Static method in class bb.util.OsUtil
Returns execSynch(command, null, null, new StreamDrainerStoring(), new StreamDrainerStoring()).
execSynch(String, String[], File, StreamDrainer, StreamDrainer) - Static method in class bb.util.OsUtil
Executes a native (operating system specific) command in a new child process.
execSynchSucceeded(String) - Static method in class bb.util.OsUtil
Calls execSynch(command).
Execute - Class in bb.util
Executes a "task", defined here as arbitrary Java code that is contained inside either a Callable or Runnable instance.
Execute(String, String, Object, Level, boolean, boolean, Logger) - Constructor for class bb.util.Execute
Constructor.
Execute.Caller - Class in bb.util
Records information about the class that is calling Execute: its class name, method name, and whether or not it is the actual program entry point of the current Java process.
Execute.Caller() - Constructor for class bb.util.Execute.Caller
First acquires the stack trace of the current thread.
Execute.TestGui - Class in bb.util
 
Execute.TestGui() - Constructor for class bb.util.Execute.TestGui
 
Execute.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
Execute.UnitTest() - Constructor for class bb.util.Execute.UnitTest
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
executeCode(Callable<T>, String, String) - Method in class bb.science.Bootstrap.UnitTest
 
executeCommand(String) - Method in class bb.util.CommandLineInterface.StdinReader
 
executeTask() - Method in class bb.util.Execute
 
executing_onCacheMiss - Static variable in class bb.util.DateUtil.DateInfoBin
Recursion detection flag used inside onCacheMiss.
executionTime - Variable in class bb.util.Benchmark.Measurement
Execution time (in seconds).
executionTimeGoal - Variable in class bb.util.Benchmark.Params
If Benchmark.Params.manyExecutions is true, then is used to determine how many executions of Benchmark.task to perform for each timing.
exitWhenDone - Variable in class bb.util.Execute
 
exploreTree(File, FileFilter, List<File>, boolean, boolean) - Static method in class bb.io.DirUtil
 
exponent - Variable in class bb.science.Prefix
The exponent for the power of 10 that is associated with this prefix (e.g. -3, 3, 6 etc).
exponentDoubleMax - Static variable in class bb.util.NumberUtil
 
exponentDoubleMin - Static variable in class bb.util.NumberUtil
 
extract(File, File, boolean) - Static method in class bb.io.TarUtil
Extracts the contents of tarFile to directoryExtraction.
extract(File, File, boolean) - Static method in class bb.io.ZipUtil
Creates a ZipFile out of zipFile named zipApiFile, and then calls extract( zipApiFile, directoryExtraction, overwrite ).
extract(ZipFile, File, boolean) - Static method in class bb.io.ZipUtil
Extracts the contents of zipApiFile to directoryExtraction.
extract_logDirectory(Properties) - Static method in class bb.util.logging.LogUtil
 
extractClassName(File) - Method in class bb.util.JUnitExecutor
 
extractFields(Class, Object, Set<ObjectState.Filter>) - Method in class bb.util.ObjectState
 
extractNumberFromFilename(File) - Method in class bb.io.FileRollingWriter
Parses and returns the series number from file.
extractOperation(Properties2) - Static method in class bb.io.EncryptUtil
 
extractPackageName(File, String) - Method in class bb.util.JUnitExecutor
Note: returns an empty String if classFile is in the default (unnamed) package.
extractPart(File) - Method in class bb.io.filefilter.BaseFilter
Extracts and returns the part of file's full path that is specified by BaseFilter.getPartMode().
extractPbeKeySpec(Properties2, PBEParameterSpec) - Static method in class bb.io.EncryptUtil
 
extractPbeParameterSpec(Properties2) - Static method in class bb.io.EncryptUtil
 
extractUrl(String, int, URL) - Static method in class bb.net.UrlUtil
First strips any quote marks from urlString via a call to removeQuotes, and then returns a new URL instance based off of urlString and context.
extractWithDifferentProgram(File, File) - Method in class bb.io.TarUtil.UnitTest
 
extractWithDifferentProgram(File, File) - Method in class bb.io.ZipUtil.UnitTest
 

F

fail - Variable in class bb.util.ThreadMonitor.UnitTest.ListenerTest
 
fail - Variable in class bb.util.ThreadMonitor.UnitTest.ThreadMeasurerTest
 
failure - Variable in class bb.util.JUnitExecutor.TestRunEvents
 
fallBackDay - Static variable in class bb.util.DateUtil.UnitTest
 
femto - Static variable in class bb.science.Prefix
Models the SI prefix for 10-15, the femto.
field1 - Variable in class bb.util.ObjectState.UnitTest.CompoundClass.InnerClass1
 
field2 - Variable in class bb.util.ObjectState.UnitTest.CompoundClass.InnerClass2
 
fieldAccepted(Field, Object, Set<ObjectState.Filter>) - Method in class bb.util.ObjectState
 
fieldErrors(Field) - Method in class bb.util.ObjectState
 
fieldsDeclaredReport(Object) - Static method in class bb.util.ReflectUtil
Returns a String describing all of obj's declared fields (i.e. just those fields declared in the obj's class itself, whether static or instance, regardless of access level, but never including fields from superclasses/superinterfaces).
fieldWarnings(Field) - Method in class bb.util.ObjectState
 
file - Variable in class bb.io.FileParent
File that this instance is for.
file - Variable in class bb.io.FileParser
 
fileErr - Variable in class bb.util.JUnitExecutor.StdStreamSwapper
 
FileFilterListener - Interface in bb.io.filefilter
Defines callback methods for a listener class interested in File accept/reject events.
fileInput_key - Static variable in class bb.io.EncryptUtil
 
fileIterationCount_key - Static variable in class bb.io.EncryptUtil
 
fileMode - Variable in class bb.io.filefilter.BaseFilter
 
FileMode - Enum in bb.io.filefilter
Enum of all the ways that normal files can be handled by a filter.
FileMode() - Constructor for enum bb.io.filefilter.FileMode
 
fileOut - Variable in class bb.util.JUnitExecutor.StdStreamSwapper
 
fileOutput_key - Static variable in class bb.io.EncryptUtil
 
FileParent - Class in bb.io
This package-private class supports by classes like TarUtil and ZipUtil.
FileParent(File) - Constructor for class bb.io.FileParent
 
FileParser - Class in bb.io
Many file formats consist of lines of data, with tokens of data on each line being separated by a constant set of delimiters.
FileParser(File, String, String) - Constructor for class bb.io.FileParser
Constructor.
filePrefix - Variable in class bb.io.FileRollingWriter
Prefix to append to the begining of all rollover file names.
fileProperties - Static variable in class bb.net.Emailer.UnitTest
 
fileProtocol - Static variable in class bb.net.UrlUtil
 
FileRollingWriter - Class in bb.io
Similar to FileWriter except that: writes to a rolling series of files instead of just one file buffers its output is not multithread safe At any moment in time, there is a single output file.
FileRollingWriter(File, String, int, String, long) - Constructor for class bb.io.FileRollingWriter
Calls this(directory, filePrefix, minDigitsInSeriesNumber, fileSuffix, nCharsTillRollover, true).
FileRollingWriter(File, String, int, String, long, boolean) - Constructor for class bb.io.FileRollingWriter
Fundamental constructor.
FileRollingWriter.UnitTest - Class in bb.io
See the Overview page of the project's javadocs for a general description of this unit test class.
FileRollingWriter.UnitTest() - Constructor for class bb.io.FileRollingWriter.UnitTest
 
fileSaltSource_key - Static variable in class bb.io.EncryptUtil
 
fileSaltTarget_key - Static variable in class bb.io.EncryptUtil
 
fileSuffix - Variable in class bb.io.FileRollingWriter
Suffix to append to the end of all rollover file names.
FileUtil - Class in bb.io
Provides static utility methods for dealing with normal Files.
FileUtil() - Constructor for class bb.io.FileUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
FileUtil.UnitTest - Class in bb.io
See the Overview page of the project's javadocs for a general description of this unit test class.
FileUtil.UnitTest() - Constructor for class bb.io.FileUtil.UnitTest
 
fill() - Method in class bb.util.MemoryMeasurer.UnitTest.MemoryFiller
Executes a loop which fills up the memory.
fillPoint - Static variable in class bb.util.MemoryMeasurer.UnitTest
 
fillPoint - Variable in class bb.util.MemoryMeasurer.UnitTest.MemoryFiller
 
filter_key - Static variable in class bb.io.TarUtil
 
filter_key - Static variable in class bb.io.ZipUtil
 
filterConfig - Variable in class bb.servlet.AbstractFilter
The filter configuration object we are associated with.
FilterMsgSuppress - Class in bb.util.logging
Filter implementation which rejects LogRecords if their message contains a known bad substring.
FilterMsgSuppress() - Constructor for class bb.util.logging.FilterMsgSuppress
 
filters - Variable in class bb.io.filefilter.CompoundFilter
FileFilters which will be used in accept and getDescription.
filters - Variable in class bb.util.ObjectState
Stores all the ObjectState.Filters that this instance uses.
FilterUtil - Class in bb.io.filefilter
Provides static utility methods for dealing with file filters.
FilterUtil() - Constructor for class bb.io.filefilter.FilterUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
finalize() - Method in class bb.gui.TextFieldSecure.ContentSecure
First calls super.finalize, then calls zeroOutContent (to guarantee that the content is zeroed out before garbage collection).
find_magnitudeExactMax() - Method in class bb.util.NumberUtil.UnitTest
This method finds the maximum power of 10 which can be represented with no loss of precision by a double.
find_maxMantissaDigits() - Method in class bb.util.NumberUtil.UnitTest
 
findBest(String, String) - Static method in class bb.util.logging.LogUtil.NodeProp
Searches every key of LogUtil.nameToNodeProps to find the best match to loggerName.
findBestFont(String) - Static method in class bb.gui.FontUtil
Determines that Font in the local system which can display the highest percentage of s's chars.
findBestFontFamily(String...) - Static method in class bb.gui.FontUtil
Returns the first element of namesDesired which is actually available on this system.
findClassesWithJUnitTests(String, JUnitExecutor.PcmFilter) - Method in class bb.util.JUnitExecutor
 
findClassFile(Class) - Static method in class bb.util.ClassUtil
Returns a local file that clazz could have been loaded from.
findDateInfo(long, DateUtil.DateInfoBin[]) - Method in class bb.util.DateUtil.DateInfoBin
Performs a linear search thru all the currently stored DateInfos, looking for one which is for time; such an instance is returned if found, else the result of calling onCacheMiss is returned.
findDisplayableCharPercent(Font, String) - Static method in class bb.gui.FontUtil
Returns the percent of chars in the supplied String that can be displayed by the supplied Font.
findFileOrJarUrl(Enumeration<URL>) - Static method in class bb.util.ClassUtil
 
findIndex(String) - Method in class bb.util.State
Returns the index of the element within states which equals state, else returns -1 if no such element exists.
findOther() - Method in class bb.io.filefilter.BaseFilter.UnitTest
 
findOther(File) - Method in class bb.io.filefilter.BaseFilter.UnitTest
 
findRootWithSpaceFreeMax() - Static method in class bb.io.DirUtil
Returns that filesystem root directory which has the most free space.
findSignature(Object[]) - Static method in class bb.util.ReflectUtil
Returns a Class[] where each element is the Class of the corresponding Object in the arguments array.
findTestEvents - Variable in class bb.util.JUnitExecutor
 
findWhereDiffer(byte[], byte[], int) - Static method in class bb.io.FileUtil
 
fireOnDeadlocked(String) - Method in class bb.util.ThreadMonitor
 
fireOnMemoryLow(MemoryState) - Method in class bb.util.MemoryMonitor
 
fireOnMemoryNotLow(MemoryState) - Method in class bb.util.MemoryMonitor
 
fireOnMemoryState(MemoryState) - Method in class bb.util.MemoryMonitor
 
fireOnMonitoringError(Throwable) - Method in class bb.util.MemoryMonitor
 
fireOnMonitoringError(Throwable) - Method in class bb.util.ThreadMonitor
 
fireOnMonitoringStarted() - Method in class bb.util.MemoryMonitor
 
fireOnMonitoringStarted() - Method in class bb.util.ThreadMonitor
 
fireOnMonitoringStopped() - Method in class bb.util.MemoryMonitor
 
fireOnMonitoringStopped() - Method in class bb.util.ThreadMonitor
 
fireOnNotDeadlocked(String) - Method in class bb.util.ThreadMonitor
 
fireOnThreadState(String) - Method in class bb.util.ThreadMonitor
 
first() - Method in class bb.util.Unmodifiables.UnmodifiableSortedSet
 
firstKey() - Method in class bb.util.Properties2
 
firstKey() - Method in class bb.util.Unmodifiables.UnmodifiableSortedMap
 
fitMeasureLabels - Variable in class bb.science.DistributionFit
 
fitMeasureLabels - Static variable in class bb.science.GaussianFit
 
fitMeasures - Variable in class bb.science.DistributionFit
 
float_1 - Static variable in class bb.util.ObjectState.UnitTest.SuperClass
 
float_2 - Static variable in class bb.util.ObjectState.UnitTest.SubClass
 
floatArray_2 - Variable in class bb.util.ObjectState.UnitTest.SubClass
 
floor(E) - Method in class bb.util.Collections2.UnmodifiableNavigableSet
 
flush() - Method in class bb.io.FileRollingWriter
 
flush() - Method in class bb.util.logging.HandlerAudio
Implementation here does nothing, since the notify done by publish effectively acts as an auto-flush if threadPlayer is waiting inside getLevelWorst.
flush() - Method in class bb.util.logging.HandlerConsole
 
flush() - Method in class bb.util.logging.HandlerEmail
Implementation here does nothing, since the notify done by publish effectively acts as an auto-flush if threadEmailer is waiting inside getLogRecords.
flush() - Method in class bb.util.logging.HandlerGui
Implementation here does nothing, since the user has total control over when the GUI gets updated.
flush(Logger) - Static method in class bb.util.logging.LogUtil
Immediately returns if logger == null.
flushLoggerIfCreated() - Method in class bb.util.MemoryMonitor
Flushes MemoryMonitor.logger2 if and only if it has been created.
flushLoggerIfCreated() - Method in class bb.util.ThreadMonitor
Flushes ThreadMonitor.logger2 if and only if it has been created.
font - Variable in class bb.gui.FontUtil.FontRank
 
fontFamilyTextArea - Static variable in class bb.util.logging.FrameLog
 
fonts - Static variable in class bb.gui.FontUtil
Records all the Fonts available on this local system.
fontSize_default - Static variable in class bb.gui.FontUtil
The default Font point size.
FontUtil - Class in bb.gui
This class provides miscellaneous static Font utility methods.
FontUtil() - Constructor for class bb.gui.FontUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
FontUtil.FontRank - Class in bb.gui
The main purpose of this class is simply to record a Font and some associated rank of that Font.
FontUtil.FontRank(Font, String) - Constructor for class bb.gui.FontUtil.FontRank
Simply calls this( font, findDisplayableCharPercent(font, s) ).
FontUtil.FontRank(Font, double) - Constructor for class bb.gui.FontUtil.FontRank
Constructs a new FontRank instance from the supplied arguments.
FontUtil.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
FontUtil.UnitTest() - Constructor for class bb.gui.FontUtil.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
forActions(long) - Method in class bb.util.Benchmark.Stats
Calculates action statistics from block statistics.
format(Date) - Method in class bb.util.DateUtil.DateStringCache
Returns the string which is the correct format of date.
format(Date, StringBuffer, FieldPosition) - Method in class bb.util.DateUtil.IsoDateFormat
 
format(LogRecord) - Method in class bb.util.logging.FormatterFull
Formats record into a String that looks like: -------------------------------------------------- level seq#sss date thread#ttt className.methodName [optional message, with any localization and param substitution applied] [optional Throwable; first line is its class name and message, followed by its stack trace] Notes: sss is record's sequence number, which uniquely identifies it among every LogRecord known by LogManager ttt is record's int thread ID value if the optional message is present, then localization and param substitution are perfomed by a call to formatMessage(record) a newline is always appended to the message if it is non-null, so the user need not add this This format was chosen for several reasons.
format(LogRecord) - Method in class bb.util.logging.FormatterShort
Formats record into a String that looks like: -------------------------------------------------- level timeOfDay className.methodName [optional message, with any localization and param substitution applied] [optional Throwable; first line is its class name and message, followed by its stack trace] This format was chosen for two reasons.
format(long) - Static method in class bb.util.MemoryState
Returns MemoryState.integerFormat.
formatMsg(String, String) - Method in class bb.util.OsUtil.ExecTask
 
formatNameDefault - Static variable in class bb.gui.ScreenShot
Default value for the graphics file format that will be written by this class.
formatter - Variable in class bb.io.StreamUtil.TransferProgressReporter
 
formatter - Variable in class bb.util.logging.Logger2
Used by log in its error handling logic if need to resort to outputting to the console.
FormatterFull - Class in bb.util.logging
Like XMLFormatter, this class uses almost all of the information in a LogRecord in its output and is ideal for a FileHandler to use.
FormatterFull() - Constructor for class bb.util.logging.FormatterFull
 
FormatterFull.Parser - Class in bb.util.logging
Class which parses LogRecords from data generated by format.
FormatterFull.Parser(Reader) - Constructor for class bb.util.logging.FormatterFull.Parser
Constructor.
FormatterFull.Parser.LogRecordData - Class in bb.util.logging
 
FormatterFull.Parser.LogRecordData() - Constructor for class bb.util.logging.FormatterFull.Parser.LogRecordData
 
FormatterFull.UnitTest - Class in bb.util.logging
See the Overview page of the project's javadocs for a general description of this unit test class.
FormatterFull.UnitTest() - Constructor for class bb.util.logging.FormatterFull.UnitTest
 
FormatterShort - Class in bb.util.logging
Like SimpleFormatter, this class uses only the essential information in a LogRecord in its output and is ideal for a ConsoleHandler to use.
FormatterShort() - Constructor for class bb.util.logging.FormatterShort
 
FormatterShort.UnitTest - Class in bb.util.logging
See the Overview page of the project's javadocs for a general description of this unit test class.
FormatterShort.UnitTest() - Constructor for class bb.util.logging.FormatterShort.UnitTest
 
FormatUtil - Class in bb.science
Provides static utility methods to help in formatting/scaling of quantities.
FormatUtil() - Constructor for class bb.science.FormatUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
FormatUtil.UnitTest - Class in bb.science
See the Overview page of the project's javadocs for a general description of this unit test class.
FormatUtil.UnitTest() - Constructor for class bb.science.FormatUtil.UnitTest
 
fourGibi - Static variable in class bb.io.ZipUtil
Is 4 * 2^30 = 2^32 = .
fracBsInTheory() - Method in class bb.science.Bootstrap.UnitTest.CiResult.Metrics
 
fracGreater() - Method in class bb.science.Bootstrap.UnitTest.CoverageResult.Metrics
 
fracIn() - Method in class bb.science.Bootstrap.UnitTest.CoverageResult.Metrics
 
fracLess() - Method in class bb.science.Bootstrap.UnitTest.CoverageResult.Metrics
 
fracTheoryInBs() - Method in class bb.science.Bootstrap.UnitTest.CiResult.Metrics
 
fractionOfScreenSize(double) - Static method in class bb.gui.SwingUtil
Returns fractionOfScreenSize(fraction, fraction).
fractionOfScreenSize(double, double) - Static method in class bb.gui.SwingUtil
First gets the screen's size by calling screenSize.
frame - Variable in class bb.gui.ScreenShot.UnitTest.Gui
 
frame - Variable in class d.g.ObjectStateDisplay
 
frameHeight_key - Static variable in class bb.gui.Displayer
 
FrameLog - Class in bb.util.logging
Subclass of JFrame which is used by HandlerGui to displays the most recent logs.
FrameLog(HandlerGui) - Constructor for class bb.util.logging.FrameLog
 
frameLog - Variable in class bb.util.logging.HandlerGui
The GUI window where logs get displayed.
frameTitle - Static variable in class bb.util.logging.FrameLog
 
frameWidth_key - Static variable in class bb.gui.Displayer
 
frameX_key - Static variable in class bb.gui.Displayer
 
frameY_key - Static variable in class bb.gui.Displayer
 
free() - Method in class bb.util.MemoryMeasurer.UnitTest.MemoryFiller
Removes references to all the objects created by fill so that they can be garbage collected.
free - Variable in class bb.util.MemoryState
Amount of memory (within the total allocated) that is free.
freeze() - Method in class bb.util.Properties2
Freezes this instances state to its present values.
from - Variable in class bb.net.Emailer
Stores the from email address(es) which will be used for all emails sent by this instance.
frozen - Variable in class bb.util.Properties2
 

G

g - Class in d
This class provides static methods which send output to a GUI.
g() - Constructor for class d.g
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
g.ObjectStateDisplay - Class in d
...
g.ObjectStateDisplay(String, Object, boolean) - Constructor for class d.g.ObjectStateDisplay
 
g.UnitTest - Class in d
See the Overview page of the project's javadocs for a general description of this unit test class.
g.UnitTest() - Constructor for class d.g.UnitTest
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
gaussianAndersonDarling(double[]) - Static method in class bb.science.Math2
Calculates the Anderson–Darling test statistic (as corrected for sample size) for numbers against an assumed Gaussian (i.e. normal) probability density function (PDF).
gaussianCdf(double) - Static method in class bb.science.Math2
Returns the value of the standard (i.e. mean = 0.0 and sd (standard deviation) = 1.0) Gaussian (i.e. normal) cumulative distribution function (CDF) of x.
gaussianCdf(double, double, double) - Static method in class bb.science.Math2
Returns the value of the Gaussian (i.e. normal) cumulative distribution function (CDF) of x, given the parameters mean and sd (standard deviation).
GaussianFit - Class in bb.science
Subclass of DistributionFit that is customized for the fitting of a Gaussian distribution to data as performed by Math2.gaussianFit.
GaussianFit(double, double, double, double, double[], double[], double[]) - Constructor for class bb.science.GaussianFit
 
gaussianFit(double[]) - Static method in class bb.science.Math2
Determines that Gaussian (i.e. normal) probability density function (PDF) which best fits numbers.
gaussianKolmogorovSmirnov(double[], double, double) - Static method in class bb.science.Math2
Calculates the "one sample" Kolmogorov–Smirnov statistic adjusted for the sample size (i.e.
gaussianPdf(double) - Static method in class bb.science.Math2
Returns the value of the standard (i.e. mean = 0.0 and sd (standard deviation) = 1.0) Gaussian (i.e. normal) probability density function (PDF) of x.
gaussianPdf(double, double, double) - Static method in class bb.science.Math2
Returns the value of the Gaussian (i.e. normal) probability density function (PDF) of x, given the parameters mean and sd (standard deviation).
generateCode(boolean) - Method in class bb.util.ObjectState
 
generateDoubleText(Random) - Static method in class bb.util.NumberUtil.UnitTest
 
generateSample(int) - Method in class bb.science.Bootstrap.UnitTest.CauchyStandard
 
generateSample(int) - Method in interface bb.science.Bootstrap.UnitTest.Distribution
 
generateSample(int) - Method in class bb.science.Bootstrap.UnitTest.ExponentialStandard
 
generateSample(int) - Method in class bb.science.Bootstrap.UnitTest.GaussianStandard
 
generateToStringCode() - Method in class bb.util.ObjectState
Returns a String which is valid java source code for a toString implementation for ObjectState.object.
generateToStringLabeledCode() - Method in class bb.util.ObjectState
Returns a String which is valid java source code for a toStringLabeled implementation for ObjectState.object.
get(Object) - Method in class bb.util.BidirectionalMap
Returns the partner Object that has been associated with object.
get() - Method in class bb.util.ListWithIndex
Returns the element at index.
get(Object) - Method in class bb.util.Properties2
Returns the String value to which key is mapped, or null if this instance contains no mapping for key.
get() - Static method in class bb.util.RandomUtil
Returns a MersenneTwisterFast instance that is local to the calling thread, so thread contention is guaranteed to never occur.
get(Object, String) - Static method in class bb.util.ReflectUtil
Accesses the value of the field of obj which is named fieldName.
get() - Method in class bb.util.State
Returns the current state.
get(int) - Method in class bb.util.Unmodifiables.UnmodifiableList
 
get(Object) - Method in class bb.util.Unmodifiables.UnmodifiableMap
 
get24HoursLater(Date) - Static method in class bb.util.DateUtil
Returns a new Date instance that is exactly 24 hours after date.
getAddressesStatus(SendFailedException) - Static method in class bb.net.EmailUtil
Returns a String which contains the invalid, valid unsent, and valid sent addresses that are contained inside the sendFailedException argument.
getAlgorithmsAvailable(String) - Static method in class bb.io.EncryptUtil
Returns a new String which describes all the available algorithm names for seviceName.
getAmountTimeZoneChange(Date) - Static method in class bb.util.DateUtil
Returns the number of hours that the clock was changed by on the day that date lies in due to a time zone change.
getAnchorPoint() - Method in class bb.gui.GraphicsLabel
Returns the "anchor point", which is an arbitrary Point2D which is associated with this instance.
getAndersonDarling() - Method in class bb.science.GaussianFit
Returns the Anderson-Darling goodness of fit measure.
getAndResetState() - Method in class bb.util.BufferFixed
Returns a new BufferFixed.State instance which holds the complete state of this instance.
getAnonymousLogger2() - Static method in class bb.util.logging.Logger2
Returns getAnonymousLogger2(null).
getAnonymousLogger2(String) - Static method in class bb.util.logging.Logger2
Constructs a new Logger2 whose underlying Logger2.logger is anonymous (i.e. unregistered with LogManager) and uses resourceBundleName.
getAnswer() - Method in class bb.science.Bootstrap.UnitTest.CiResult
 
getAnswer() - Method in class bb.science.Bootstrap.UnitTest.CoverageResult
 
getArchiveFile(Properties2, String, String) - Static method in class bb.io.ZipUtil
 
getAscent() - Method in class bb.gui.GraphicsLabel
Returns the ascent (as defined by LineMetrics) of this instance's text.
getAsciiContext(byte[], int) - Static method in class bb.util.StringUtil
Meant for use just by diagnoseProblem to provide a better diagnostic message to the user.
getAtOffset(int) - Method in class bb.util.ListWithIndex
Returns the element at index + offset.
getAvailable() - Method in class bb.util.MemoryState
Returns the value of the MemoryState.available field.
getAvailableHeight(Container) - Static method in class bb.gui.ContainerUtil
Returns the height which is available for child Components (i.e. takes container's Insets into account).
getAvailableRatio() - Method in class bb.util.MemoryState
Returns the ratio of the MemoryState.available field to the MemoryState.max field.
getAvailableWidth(Container) - Static method in class bb.gui.ContainerUtil
Returns the width which is available for child Components (i.e. takes container's Insets into account).
getBegin() - Method in class bb.science.Bins.Intervals
Accessor for Bins.Intervals.begin.
getBoolean(String) - Method in class bb.util.Properties2
Returns Boolean.parseBoolean( getProperty(key) ).
getBoolean(String, boolean) - Method in class bb.util.Properties2
If key has an associated value, then returns Boolean.parseBoolean(value).
getBottom() - Method in class bb.gui.GraphicsLabel
Returns the y-coordinate of the bottom edge of the rectangle which bounds this instance's text.
getBounds() - Method in class bb.gui.GraphicsLabel
Returns the rectangle which bounds this instance's text.
getBounds() - Method in class bb.science.Bins
Accessor for Bins.bounds.
getBounds() - Method in class bb.science.DistributionFit
Accessor for DistributionFit.bounds.
getBoundsMid() - Method in class bb.science.Bins
Returns the bin interval midpoints, that is, the points that are in the middle of each interval.
getByte(String) - Method in class bb.util.Properties2
Returns Byte.parseByte( getProperty(key) ).
getByte(String, byte) - Method in class bb.util.Properties2
If key has an associated value, then returns Byte.parseByte(value).
getBytes() - Method in class bb.io.PrintStreamStoring
Returns all the bytes that have been written so far to this instance as a new byte[].
getBytes() - Method in interface bb.io.StreamDrainer
Returns all the bytes that have been drained by run and stored by this instance since the last time this method was called.
getBytes() - Method in class bb.io.StreamDrainerForwarding
Because this class never stores the bytes drained by run, this method always returns an empty byte[].
getBytes() - Method in class bb.io.StreamDrainerStoring
Returns all the bytes that have been drained by run since the last time this method was called.
getBytes() - Method in class bb.net.EthernetMacAddress
Returns a clone of the internal byte[] (to maintain encapsulation).
getBytes(Class) - Static method in class bb.util.ClassUtil
Returns the bytes of clazz.
getCacheIssues() - Static method in class bb.util.DateUtil
Returns getCacheIssues(DateUtil.prefix_default).
getCacheIssues(String) - Static method in class bb.util.DateUtil
Returns getCacheIssues(prefix, DateUtil.separator_default).
getCacheIssues(String, String) - Static method in class bb.util.DateUtil
Returns a String description of any cache issues (e.g. warnings of cache misses, which indicate that caches might need to be increased).
getCalendar() - Static method in class bb.util.DateUtil
 
getCallResult() - Method in class bb.util.Benchmark
Returns Benchmark.callResult.
getCenturyOfMillenia(Date) - Static method in class bb.util.DateUtil
Returns the century of the millenia of date.
getClassName(String) - Static method in class bb.gui.LookAndFeelUtil
Returns the Look And Feel class name that corresponds to the supplied short name.
getClassNameFull() - Method in class bb.util.JUnitExecutor.DescriptionFields
 
getClassToFields() - Method in class bb.util.ObjectState
Accessor for ObjectState.classToFields.
getCleanFractionThreshold() - Method in class bb.util.Benchmark.Params
Accessor for Benchmark.Params.cleanFractionThreshold.
getCommandInvalid() - Static method in class bb.util.OsUtil
Returns a known invalid command for the current operating system.
getCommandValid() - Static method in class bb.util.OsUtil
Returns a known valid command for the current operating system.
getComponentTree(Component) - Static method in class bb.gui.ComponentUtil
Drills depth first down the Component tree rooted at component, returning a Set of all the Components that were encountered.
getConfidenceLevel() - Method in class bb.science.Bootstrap.Estimate
 
getConfidenceLevel() - Method in class bb.util.Benchmark.Params
Accessor for Benchmark.Params.confidenceLevel.
getConnection() - Static method in class bb.jdbc.DBConnManager
Returns a Connection instance.
getConsoleFeedback() - Method in class bb.util.Benchmark.Params
Accessor for Benchmark.Params.consoleFeedback.
getContents(File) - Static method in class bb.io.DirUtil
Returns getContents(directory, null).
getContents(File, FileFilter) - Static method in class bb.io.DirUtil
Returns getContents(directory, fileFilter, true).
getContents(File, FileFilter, boolean) - Static method in class bb.io.DirUtil
Returns the contents of a directory.
getContentSecure() - Method in class bb.gui.TextFieldSecure.DocumentSecure
 
getCount(E) - Method in class bb.util.ObjectCounter
Returns obj's count (i.e. the number of objects that have been added to this instance which equal obj).
getCounts() - Method in class bb.science.Bins
Accessor for Bins.counts.
getCountTotal() - Method in class bb.science.Bins
Returns the total count, that is, the sum of all the elements of Bins.counts.
getCountTotal() - Method in class bb.util.ObjectCounter
Returns the total count (i.e. the total number of objects that have been added to this instance).
getCreationTime(HttpSession) - Static method in class bb.servlet.HttpSessionUtil
Returns a String description of the supplied HttpSession's creation time.
getDate() - Method in class bb.util.Date2
 
getDateInfo(Date) - Static method in class bb.util.DateUtil
Returns the DateInfo instance in the cache corresponding to the day of date.
getDateInfoCacheIssues() - Static method in class bb.util.DateUtil
Contract: the result always ends with a newline.
getDateMax() - Method in class bb.util.DateConstraint
Returns the DateConstraint.dateMax field.
getDateMin() - Method in class bb.util.DateConstraint
Returns the DateConstraint.dateMin field.
getDay() - Method in class bb.util.Date2
 
getDayEnd(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the end of the day that date lies in.
getDayLength(Date) - Static method in class bb.util.DateUtil
Returns the length of date's day in milliseconds.
getDayOfMonth(Date) - Static method in class bb.util.DateUtil
Returns the day of the month of date.
getDayOfWeek(Date) - Static method in class bb.util.DateUtil
Returns the day of the week of date.
getDayOfWeekMax() - Method in class bb.util.DateConstraint
Returns the DateConstraint.dayOfWeekMax field.
getDayOfWeekMin() - Method in class bb.util.DateConstraint
Returns the DateConstraint.dayOfWeekMin field.
getDayOfWeekName(int) - Static method in class bb.util.DateUtil
Returns the day of the week name as a String which corresponds to dayOfWeek.
getDayOfYear(Date) - Static method in class bb.util.DateUtil
Returns the day of the year of date.
getDayStamp() - Static method in class bb.util.DateUtil
 
getDayStamp(Date) - Static method in class bb.util.DateUtil
... getDayStart(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the start of the day that date lies in.
getDeadlocked() - Method in class bb.util.ThreadMonitor
 
getDeadlockState() - Method in class bb.util.ThreadMeasurer
Checks if any threads are deadlocked.
getDecadeOfCentury(Date) - Static method in class bb.util.DateUtil
Returns the decade of the century of date.
getDescent() - Method in class bb.gui.GraphicsLabel
Returns the descent (as defined by LineMetrics) of this instance's text.
getDescription() - Method in class bb.io.filefilter.BaseFilter
getDescription() - Method in class bb.io.filefilter.BaseFilter.UnitTest.TestFilter
 
getDescription() - Method in class bb.io.filefilter.CameraFileFilter
 
getDescription() - Method in class bb.io.filefilter.ClassFilter
Returns a description of this filter.
getDescription() - Method in class bb.io.filefilter.CompoundFilter
Returns a description of this filter.
getDescription(FileFilter) - Method in class bb.io.filefilter.CompoundFilter
 
getDescription() - Method in class bb.io.filefilter.DirectoryFilter
 
getDescription() - Method in class bb.io.filefilter.HtmlFilter
 
getDescription() - Method in class bb.io.filefilter.JarFilter
 
getDescription() - Method in class bb.io.filefilter.JarOrZipFilter
 
getDescription() - Method in class bb.io.filefilter.JavaFilter
 
getDescription() - Method in class bb.io.filefilter.NormalFileFilter
 
getDescription() - Method in class bb.io.filefilter.RegexFilter
The implementation here has some introductory text, followed by a comma separated list of all of the regexes present in RegexFilter.patterns.
getDescription() - Method in class bb.io.filefilter.SoundFileFilter
 
getDescription() - Method in class bb.io.filefilter.SuffixFilter
The implementation here has some introductory text, followed by a comma separated list of all of the regexes present in RegexFilter.patterns.
getDescription() - Method in class bb.io.filefilter.TarableFilter
 
getDescription() - Method in class bb.io.filefilter.TarFilter
 
getDescription() - Method in class bb.io.filefilter.VisibleFilter
 
getDescription() - Method in class bb.io.filefilter.VisibleOrRootFilter
 
getDescription() - Method in class bb.io.filefilter.ZipFilter
 
getDescription() - Method in class bb.io.filefilter.ZippableFilter
 
getDescription() - Method in class bb.science.Unit
Returns a description of the underlying quantity associated with the unit (e.g. length, mass, etc).
getDescription() - Method in class bb.util.BufferFixed.State
Returns a short description of the number of items received and possibly dropped.
getDescriptionIntro() - Method in class bb.io.filefilter.RegexFilter
 
getDescriptionIntro() - Method in class bb.io.filefilter.SuffixFilter
 
getDirectoryMode() - Method in class bb.io.filefilter.BaseFilter
Returns BaseFilter.directoryMode.
getDocumentSecure() - Method in class bb.gui.TextFieldSecure
Returns the Document used by this instance, which is always a TextFieldSecure.DocumentSecure instance.
getDosCommandProcessor() - Static method in class bb.util.OsUtil
Returns the name of the command processor program used to execute DOS commands if this is a Microsoft operating system.
getDouble(String) - Method in class bb.util.Properties2
Returns Double.parseDouble( getProperty(key) ).
getDouble(String, double) - Method in class bb.util.Properties2
If key has an associated value, then returns Double.parseDouble(value).
getDuration() - Method in class bb.gui.SoundUtil.Player
 
getEncodingDefault() - Method in class bb.util.logging.HandlerAbstract
Returns the default value to use for the encoding.
getEnd() - Method in class bb.science.Bins.Intervals
Accessor for Bins.Intervals.end.
getEntries(File, boolean) - Static method in class bb.io.TarUtil
Returns all the TarArchiveEntrys inside tarFile.
getEntries(TarArchiveInputStream, boolean) - Static method in class bb.io.TarUtil
Returns all the TarArchiveEntrys that can next be read by tarArchiveInputStream.
getEntries(File, boolean) - Static method in class bb.io.ZipUtil
Creates a ZipFile out of zipFile named zipApiFile, and then returns getEntries( zipApiFile, sortResult ).
getEntries(ZipFile, boolean) - Static method in class bb.io.ZipUtil
Returns all the ZipEntrys in zipApiFile.
getEnumValues(E) - Static method in class bb.util.ReflectUtil
Uses reflection to find and execute a static method named "values" that takes no arguments.
getEra(Date) - Static method in class bb.util.DateUtil
Returns the era of date.
getEscapeForLiteral(char) - Static method in class bb.util.CharUtil
Returns the "simple" (i.e. 2 char) escape sequence for the supplied char, which is suitable for appearing in a Java char or String Literal.
getEstimate(Bootstrap.Estimator) - Method in class bb.science.Bootstrap
Returns the Bootstrap.Estimate which corresponds to estimator.
getEstimate(String) - Method in class bb.science.Bootstrap
Returns the first Bootstrap.Estimate which corresponds to estimator with the same name as estimatorName.
getEstimateNoiseFloor() - Method in class bb.util.Benchmark.Params
Accessor for Benchmark.Params.estimateNoiseFloor.
getEstimateTheory(Bootstrap.Estimator, double[]) - Method in class bb.science.Bootstrap.UnitTest.CiTask
 
getEvents() - Method in class bb.util.JUnitExecutor.FindTestEvents
 
getEvents() - Method in class bb.util.JUnitExecutor.TestRunEvents
Returns a summary of all the events that have been recorded since the last call of testRunStarted.
getExceptionInfo(MessagingException) - Static method in class bb.net.EmailUtil
Converts the information in a MessagingException to a more readable String form.
getExecutionTimeGoal() - Method in class bb.util.Benchmark.Params
Accessor for Benchmark.Params.executionTimeGoal.
getExponent() - Method in class bb.science.Prefix
Returns the exponent for the power of 10 that is associated with this prefix (e.g. -3, 3, 6 etc).
getExtension(File) - Static method in class bb.io.FileUtil
Returns the file's extension, defined here as the part of its name after the last '.' char.
getExtension(File, boolean, boolean) - Static method in class bb.io.FileUtil
Returns the file's extension.
getExtentAboveAnchorPoint() - Method in class bb.gui.GraphicsLabel
Returns the maximum distance which this instance's text vertically extends above the anchor point.
getExtentBelowAnchorPoint() - Method in class bb.gui.GraphicsLabel
Returns the maximum distance which this instance's text vertically extends below the anchor point.
getExtentToLeftOfAnchorPoint() - Method in class bb.gui.GraphicsLabel
Returns the maximum distance which this instance's text horizontally extends to the left of the anchor point.
getExtentToRightOfAnchorPoint() - Method in class bb.gui.GraphicsLabel
Returns the maximum distance which this instance's text horizontally extends to the right of the anchor point.
getFile(String) - Method in class bb.util.Properties2
Returns new File( getProperty(key) ).
getFile(String, File) - Method in class bb.util.Properties2
If key has an associated value, then returns new File(value).
getFileFilter(Properties2) - Static method in class bb.io.ZipUtil
 
getFileMode() - Method in class bb.io.filefilter.BaseFilter
Returns BaseFilter.fileMode.
getFilesInTree(File) - Static method in class bb.io.DirUtil
Returns getFilesInTree(directory, null).
getFilesInTree(File, FileFilter) - Static method in class bb.io.DirUtil
Returns getFilesInTree(directory, fileFilter, true).
getFilesInTree(File, FileFilter, boolean) - Static method in class bb.io.DirUtil
Explores the tree rooted at directory and returns all the normal files that are accepted by fileFilter.
getFileUrl(File) - Static method in class bb.net.UrlUtil
Returns a new URL that points to file.
getFilter() - Method in class bb.util.logging.Logger2
 
getFilterDefault() - Method in class bb.util.logging.HandlerAbstract
Returns the default value to use for the filter.
getFilterProperty(String, Filter) - Method in class bb.util.logging.HandlerAbstract
 
getFilters() - Method in class bb.util.ObjectState
Accessor for ObjectState.filters.
getFirst() - Method in class bb.util.Benchmark
Returns the action execution time as determined from the first measurement, namely, Benchmark.timeExecFirst / Benchmark.params.
getFitMeasureLabels() - Method in class bb.science.DistributionFit
Accessor for DistributionFit.fitMeasureLabels.
getFitMeasures() - Method in class bb.science.DistributionFit
Accessor for DistributionFit.fitMeasures.
getFloat(String) - Method in class bb.util.Properties2
Returns Float.parseFloat( getProperty(key) ).
getFloat(String, float) - Method in class bb.util.Properties2
If key has an associated value, then returns Float.parseFloat(value).
getFont() - Method in class bb.gui.FontUtil.FontRank
 
getFontFamilyNames() - Static method in class bb.gui.FontUtil
Determines the names of all the Font Families that are available on this system.
getFonts() - Static method in class bb.gui.FontUtil
Returns all the Fonts available on this system.
getFormatterDefault() - Method in class bb.util.logging.HandlerAbstract
Returns the default value to use for the formatter.
getFormatterDefault() - Method in class bb.util.logging.HandlerGui
Implementation here returns a new FormatterFull instance.
getFormatterProperty(String, Formatter) - Method in class bb.util.logging.HandlerAbstract
 
getFraction(E) - Method in class bb.util.ObjectCounter
Returns the fraction of the total population of objects stored by this instance which equal obj (i.e.
getFree() - Method in class bb.util.MemoryState
Returns the value of the MemoryState.free field.
getFtpUrl(String, String, String, String) - Static method in class bb.net.NetUtil
Returns a new URL instance that specifies filenameRemote on the remote host.
getFullPath(File) - Static method in class bb.io.DirUtil
Returns a String that always starts with getCanonicalPath.
getGraphicsFormat(File) - Static method in class bb.gui.ScreenShot
Returns the name of the graphics format stored in file.
getHandlers() - Method in class bb.util.logging.Logger2
 
getHashCode() - Method in class bb.util.ObjectState
Returns 0 if ObjectState.getObject() returns null.
getHeight(String, Graphics2D) - Static method in class bb.gui.GraphicsLabel
Returns the height of the rectangle which bounds text.
getHeight() - Method in class bb.gui.GraphicsLabel
Returns the height of this instance's text.
getHourOfDay(Date) - Static method in class bb.util.DateUtil
Returns the hour of the day (result is inside [0, 23]).
getHours() - Method in class bb.util.Date2
 
getHourStart(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the start of the hour that date lies in.
getIndex() - Method in class bb.util.ListWithIndex
Returns the current value of index.
getInput() - Method in class bb.gui.TextFieldSecure
Returns a char[] of the chars currently in this instance.
getInputSecure(Frame, String, boolean, String, String, int) - Static method in class bb.gui.DialogInputSecure
Reads and returns some sensitive piece of information (e.g. a password) from a new DialogInputSecure instance.
getInputStream(File) - Static method in class bb.io.TarUtil
If tarFile's extension is simply tar, then returns a new FileInputStream.
getInputStream(URL) - Static method in class bb.net.UrlUtil
Returns getInputStream( url, connectTimeout_default, readTimeout_default ).
getInputStream(URL, int, int) - Static method in class bb.net.UrlUtil
Creates a URLConnection for url with the specified connect and read timeouts, then opens and returns an InputStream from it.
getInstance() - Static method in class bb.util.ReflectUtil.FieldComparator
Since this class has no instance state, there is no point in creating multiple instances: one instance is the same as another, may be fully concurrently used, etc.
getInt(String) - Method in class bb.util.Properties2
Returns Integer.parseInt( getProperty(key) ).
getInt(String, int) - Method in class bb.util.Properties2
If key has an associated value, then returns Integer.parseInt(value).
getIntervals() - Method in class bb.science.Bins
Accessor for Bins.intervals.
getIntervalWidth() - Method in class bb.science.Bins
Accessor for intervals.width.
getIntProperty(String, int) - Method in class bb.util.logging.HandlerAbstract
 
getIssues() - Method in class bb.util.DateUtil.DateStringCache
Returns a description of any issues which this instance has encountered.
getKey() - Method in class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntry
 
getKolmogorovSmirnov() - Method in class bb.science.GaussianFit
Returns the Kolmogorov-Smirnov goodness of fit measure.
getLeading() - Method in class bb.gui.GraphicsLabel
Returns the leading (as defined by LineMetrics) of this instance's text.
getLeapSecond(Date) - Static method in class bb.util.DateUtil
Returns the leap second for date's day.
getLeft() - Method in class bb.gui.GraphicsLabel
Returns the x-coordinate of the left edge of the rectangle which bounds this instance's text.
getLevel() - Method in class bb.util.logging.Logger2
 
getLevel() - Method in class bb.util.logging.Logger2.UnitTest.LogRecordCrashes
 
getLevelDefault() - Method in class bb.util.logging.HandlerAbstract
Returns the default value to use for the level.
getLevelDefault() - Method in class bb.util.logging.HandlerAudio
Implementation here returns Level.WARNING.
getLevelDefault() - Method in class bb.util.logging.HandlerEmail
Implementation here returns Level.WARNING.
getLevelProperty(String, Level) - Method in class bb.util.logging.HandlerAbstract
 
getLevels() - Static method in class bb.util.logging.LogUtil
Returns an array of all the possible Levels, sorted into ascending order (according to Level.intValue).
getLevelWorst() - Method in class bb.util.logging.HandlerAudio
 
getLineNumber() - Method in class bb.io.ParseReader
Get the current line number.
getList() - Method in class bb.util.ListWithIndex
Returns a new List instance which contains all the elements currently in the internal List.
getListener() - Method in class bb.io.filefilter.BaseFilter
Returns BaseFilter.listener.
getListeners() - Method in class bb.util.MemoryMonitor
Returns a defensive copy of MemoryMonitor.listeners for use by the fireXXX methods.
getListeners() - Method in class bb.util.ThreadMonitor
Returns a defensive copy of ThreadMonitor.listeners for use by the fireXXX methods.
getLocation() - Method in class bb.io.FileParser
Returns the location (line # and file path) associated with the previous call to readDataLine.
getLogCount(PrintStreamStoring) - Method in class bb.util.logging.HandlerConsole.UnitTest
 
getLogDirectory() - Static method in class bb.util.logging.LogUtil
Accessor for LogUtil.logDirectory.
getLogger2(String) - Static method in class bb.util.logging.Logger2
Returns getLogger2(name, null).
getLogger2(String, String) - Static method in class bb.util.logging.Logger2
Constructs a new Logger2 whose underlying Logger2.logger is registered with LogManager and uses name and resourceBundleName.
getLogger2() - Static method in class bb.util.logging.LogUtil
Accessor for LogUtil.logger2_default.
getLogger2() - Method in class bb.util.MemoryMonitor
Returns MemoryMonitor.logger2, lazy initializing it if necessary.
getLogger2() - Method in class bb.util.ThreadMonitor
Returns ThreadMonitor.logger2, lazy initializing it if necessary.
getLoggerSuffix() - Method in class bb.util.MemoryMonitor
Returns a suffix to assign to MemoryMonitor.logger2's filename whenever it is assigned.
getLoggerSuffix() - Method in class bb.util.ThreadMonitor
Returns a suffix to assign to ThreadMonitor.logger2's filename whenever it is assigned.
getLogicModeDescription() - Method in class bb.io.filefilter.CompoundFilter
 
getLogRecords() - Method in class bb.util.logging.HandlerEmail
 
getLogRecords() - Method in class bb.util.logging.HandlerGui
 
getLong(String) - Method in class bb.util.Properties2
Returns Long.parseLong( getProperty(key) ).
getLong(String, long) - Method in class bb.util.Properties2
If key has an associated value, then returns Long.parseLong(value).
getLower() - Method in class bb.science.Bootstrap.Estimate
 
getManyExecutions() - Method in class bb.util.Benchmark.Params
Accessor for Benchmark.Params.manyExecutions.
getMask() - Method in class bb.science.Lfsr
Accessor for Lfsr.mask.
getMax() - Method in class bb.util.MemoryState
Returns the value of the MemoryState.max field.
getMaximumSize() - Method in class bb.gui.Strut
Returns new Dimension(strutLength, maxTransverse) (if axis == xAxis) or new Dimension(maxTransverse, strutLength) (if axis == yAxis).
getMean() - Method in class bb.science.Bootstrap.UnitTest.CauchyStandard
 
getMean() - Method in interface bb.science.Bootstrap.UnitTest.Distribution
 
getMean() - Method in class bb.science.Bootstrap.UnitTest.ExponentialStandard
 
getMean() - Method in class bb.science.Bootstrap.UnitTest.GaussianStandard
 
getMean() - Method in class bb.science.GaussianFit
Returns the mean parameter of the fitted Gaussian.
getMean() - Method in class bb.util.Benchmark
Returns the mean of the action execution times.
getMean() - Method in class bb.util.Benchmark.Stats
Accessor for Benchmark.Stats.mean.
getMeanEst(double[], double) - Method in class bb.science.Bootstrap.UnitTest.CauchyStandard
 
getMeanEst(double[], double) - Method in interface bb.science.Bootstrap.UnitTest.Distribution
Returns a theoretically known Estimate for the mean given sample.
getMeanEst(double[], double) - Method in class bb.science.Bootstrap.UnitTest.ExponentialStandard
See this discussion (the solution is in the middle of the page; the original solution is claimed to be found in Kapur, K.
getMeanEst(double[], double) - Method in class bb.science.Bootstrap.UnitTest.GaussianStandard
getMeanLower() - Method in class bb.util.Benchmark.Stats
Accessor for Benchmark.Stats.meanLower.
getMeanUpper() - Method in class bb.util.Benchmark.Stats
Accessor for Benchmark.Stats.meanUpper.
getMeasureCpuTime() - Method in class bb.util.Benchmark.Params
Accessor for Benchmark.Params.measureCpuTime.
getMedian() - Method in class bb.science.Bootstrap.UnitTest.CauchyStandard
 
getMedian() - Method in interface bb.science.Bootstrap.UnitTest.Distribution
 
getMedian() - Method in class bb.science.Bootstrap.UnitTest.ExponentialStandard
 
getMedian() - Method in class bb.science.Bootstrap.UnitTest.GaussianStandard
 
getMedianEst(double[], double) - Method in interface bb.science.Bootstrap.UnitTest.Distribution
Returns a theoretically known Estimate for the median of this sample.
getMedianEst(double[], double) - Method in class bb.science.Bootstrap.UnitTest.DistributionAbstract
Implements an amazing theoretical result for the median confidence interval which is valid for any distribution, and only assumes iid for the samples.
getMemoryLow() - Method in class bb.util.MemoryMonitor
 
getMemoryState() - Method in class bb.util.MemoryMeasurer
Returns a new MemoryState instance which describes the current memory state.
getMemoryState() - Method in class bb.util.MemoryMonitor
Returns the memory state that was detected at the last check cycle.
getMessage() - Method in class bb.gui.ThrowableDialog
Accessor for the message field.
getMethod(Object, String, Class[]) - Static method in class bb.util.ReflectUtil
Uses reflection to find a method named methodName with a signature given by paramClasses on obj.
getMetrics(Bootstrap.Estimator) - Method in class bb.science.Bootstrap.UnitTest.CiResult
 
getMetrics(Bootstrap.Estimator) - Method in class bb.science.Bootstrap.UnitTest.CoverageResult
 
getMilliSecondOfSecond(Date) - Static method in class bb.util.DateUtil
Returns the millisecond of the second.
getMillValue(double) - Static method in class bb.util.NumberUtil
Rounds d to the nearest mill (i.e. third decimal place, 0.001) and returns the mill digit.
getMinimumSize() - Method in class bb.gui.Strut
Returns new Dimension(strutLength, minTransverse) (if axis == xAxis) or new Dimension(minTransverse, strutLength) (if axis == yAxis).
getMinuteOfHour(Date) - Static method in class bb.util.DateUtil
Returns the minute of the hour.
getMinutes() - Method in class bb.util.Date2
 
getMonth() - Method in class bb.util.Date2
 
getMonth(Date) - Static method in class bb.util.DateUtil
Returns the month of the year of date.
getMonthEnd(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the end of the month that date lies in.
getMonthStart(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the start of the month that date lies in.
getMostCommon() - Method in class bb.util.ObjectCounter
Returns that object (of this instance's parameterized type E) which is the most common (i.e. has been added to this instance the most times, and thus has the largest count).
getName() - Method in interface bb.science.Bootstrap.Estimator
Returns the name of the Estimator.
getName() - Method in class bb.science.Bootstrap.EstimatorMean
 
getName() - Method in class bb.science.Bootstrap.EstimatorMedian
 
getName() - Method in class bb.science.Bootstrap.EstimatorSd
 
getName() - Method in class bb.science.Bootstrap.UnitTest.CauchyStandard
 
getName() - Method in interface bb.science.Bootstrap.UnitTest.Distribution
 
getName() - Method in class bb.science.Bootstrap.UnitTest.ExponentialStandard
 
getName() - Method in class bb.science.Bootstrap.UnitTest.GaussianStandard
 
getName() - Method in class bb.science.Prefix
Returns the full name of the prefix (e.g. milli, kilo, mega etc).
getName() - Method in class bb.science.Unit
Returns the full name of the unit (e.g. meter, gram).
getName() - Method in class bb.util.logging.Logger2
 
getName(Class, String) - Static method in class bb.util.logging.LogUtil
Determines an appropriate Logger name for the arguments.
getNameMinusExtension(File) - Static method in class bb.io.FileUtil
Returns the file's name minus any extension, that is, the part of its name up to (but not including) the last '.' char.
getNameSimple(Object) - Static method in class bb.util.ClassUtil
Returns getNameSimple( obj.getClass() ).
getNameSimple(Class) - Static method in class bb.util.ClassUtil
Returns getNameSimple( clazz.getName() ).
getNameSimple(String) - Static method in class bb.util.ClassUtil
Returns the "simple" name of the fully quallified class name that is stored in nameFull, that is, any leading package info is removed.
getNthLineTerminator(int) - Static method in class bb.io.ParseReader.UnitTest
Returns the value from lineTerminators at index = n % lineTerminators.length.
getNumber() - Method in class bb.science.Bins.Intervals
Accessor for Bins.Intervals.number.
getNumberActions() - Method in class bb.util.Benchmark.Params
Accessor for Benchmark.Params.numberActions.
getNumberActionsPerMeasurement() - Method in class bb.util.Benchmark
Returns the number of action executions in each measurement.
getNumberCharsMax() - Method in class bb.gui.DocumentLimitedLength
Returns the maximum number of chars that may be typed in this instance.
getNumberCharsMax() - Method in class bb.gui.TextFieldSecure
Returns the maximum number of chars that may be typed in this instance.
getNumberMeasurements() - Method in class bb.util.Benchmark.Params
Accessor for Benchmark.Params.numberMeasurements.
getNumberOfFields() - Method in class bb.util.ObjectState
Returns the total number of fields stored in all the values of ObjectState.classToFields.
getObject() - Method in class bb.util.ObjectState
Accessor for ObjectState.object.
getOsName() - Static method in class bb.util.OsUtil
Returns the current operating system name.
getOsNameAndVersion() - Static method in class bb.util.OsUtil
Returns a concatenation (with a space char separator) of the current operating system name and version.
getOsVersion() - Static method in class bb.util.OsUtil
Returns the current operating system version.
getOtherMode() - Method in class bb.io.filefilter.BaseFilter
Returns BaseFilter.otherMode.
getOutputStream(File) - Static method in class bb.io.TarUtil
If tarFile's extension is simply tar, then returns a new FileOutputStream.
getOutputStream(URL) - Static method in class bb.net.UrlUtil
Returns getOutputStream( url, connectTimeout_default, readTimeout_default ).
getOutputStream(URL, int, int) - Static method in class bb.net.UrlUtil
Creates a URLConnection for url with the specified connect and read timeouts, then opens and returns an OutputStream from it.
getPackage(Object) - Static method in class bb.util.ClassUtil
Returns getPackage( obj.getClass() ).
getPackage(Class) - Static method in class bb.util.ClassUtil
Returns getPackage( clazz.getName() ).
getPackage(String) - Static method in class bb.util.ClassUtil
Returns the package name of the fully quallified class name that is stored in nameFull.
getParamLabels() - Method in class bb.science.DistributionFit
Accessor for DistributionFit.paramLabels.
getParams() - Method in class bb.science.DistributionFit
Accessor for DistributionFit.params.
getParent() - Method in class bb.util.logging.Logger2
 
getParentRelativeTo(File, File) - Static method in class bb.io.FileUtil
Returns a String that represents that part of fileChild's parent directory path which is contained inside fileRoot (that is, fileChild's parent's path relative to fileRoot).
getParentWindow(Component) - Static method in class bb.gui.ComponentUtil
Returns component itself if it is a Window, or the first (should only be one?)
getPartMode() - Method in class bb.io.filefilter.BaseFilter
Returns BaseFilter.partMode.
getPath(File) - Method in class bb.util.JUnitExecutor
Returns a standard form for file's path: the separator is always '/' and directories end with a '/'.
getPath(Class, String) - Static method in class bb.util.logging.LogUtil
Returns getPath( getName(c, suffix) ).
getPath(String) - Static method in class bb.util.logging.LogUtil
Returns an appropriate path to a log file for name.
getPathRelativeTo(File, File) - Static method in class bb.io.FileUtil
Returns that portion of the path of fileChild which is relative to the path of fileRoot.
getPathsToArchive(Properties2) - Static method in class bb.io.ZipUtil
 
getPattern() - Method in class bb.util.DateUtil.DateStringCache
Accessor for DateUtil.DateStringCache.pattern.
getPatterns() - Method in class bb.io.filefilter.RegexFilter
Returns a read-only view of RegexFilter.patterns.
getPbeCipher(String, PBEKeySpec, PBEParameterSpec, int) - Static method in class bb.io.EncryptUtil
Returns a Password Based Encryption (PBE) Cipher.
getPdf() - Method in class bb.science.Bins
Returns the probability density function (PDF) that is approximated by the bins.
getPdfObserved() - Method in class bb.science.DistributionFit
Accessor for DistributionFit.pdfObserved.
getPdfTheory() - Method in class bb.science.DistributionFit
Accessor for DistributionFit.pdfTheory.
getPercentCompleted() - Method in class bb.util.ProgressIndicator
 
getPoint() - Method in class bb.science.Bootstrap.Estimate
 
getPreferences() - Method in class bb.gui.Displayer
 
getPreferredSize() - Method in class bb.gui.Strut
Returns new Dimension(preferredTransverse, strutLength).
getPrintWriter() - Static method in class d.p
Accessor for p.pw.
getProperty(String) - Method in class bb.util.Properties2
Returns the value associated with key.
getProperty(String, String) - Method in class bb.util.Properties2
If key has an associated value, then returns that value.
getRank() - Method in class bb.gui.FontUtil.FontRank
 
getRate(long, long, long) - Method in class bb.io.StreamUtil.TransferProgressReporter
Note: the time params are assumed to be in milliseconds, but the result has units of 1/second.
getRecordDescription(LogRecord) - Method in class bb.util.logging.Logger2
Contract: should never throw any Throwable.
getReferencePoint() - Method in class bb.gui.GraphicsLabel
Is the term used by FontMetrics for the point which marks the start of text's baseline.
getRegister() - Method in class bb.science.Lfsr
Accessor for Lfsr.register.
getRelativePath(File, char) - Method in class bb.io.FileParent
Returns descendant's relative path.
getResourceBundle() - Method in class bb.util.logging.Logger2
 
getResourceBundleName() - Method in class bb.util.logging.Logger2
 
getRight() - Method in class bb.gui.GraphicsLabel
Returns the x-coordinate of the right edge of the rectangle which bounds this instance's text.
getRoot(File) - Static method in class bb.io.FileUtil
Returns the filesystem root for file.
getSameTimeNextDay(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the same time of the day referred to by date but on the next day.
getSameTimeNextMonth(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the same time of the day referred to by date but on the next month of the year.
getSameTimeNextWeek(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the same time of the day referred to by date but on the next week of the month.
getSameTimeNextYear(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the same time of the day referred to by date but on the next year.
getSameTimeOtherDay(Date, int) - Static method in class bb.util.DateUtil
Returns that Date which represents the same time of the day referred to by date (down to the millisecond), but its day minus date's day equals dayDifference (e.g. +1 returns next day, -1 returns previous day).
getSameTimeOtherMonth(Date, int) - Static method in class bb.util.DateUtil
Returns that Date which represents the same time of the day referred to by date (down to the millisecond), but its month of the year minus date's month of the year equals monthDifference (e.g. +1 returns next month, -1 returns previous month).
getSameTimeOtherWeek(Date, int) - Static method in class bb.util.DateUtil
Returns that Date which represents the same time of the day referred to by date (down to the millisecond), but its week of the month minus date's week of the month equals weekDifference (e.g. +1 returns next week, -1 returns previous week).
getSameTimeOtherYear(Date, int) - Static method in class bb.util.DateUtil
Returns that Date which represents the same time of the day referred to by date (down to the millisecond), but its year minus date's year equals yearDifference (e.g. +1 returns next year, -1 returns previous year).
getSameTimePreviousDay(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the same time of the day referred to by date but on the previous day.
getSameTimePreviousMonth(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the same time of the day referred to by date but on the previous month of the year.
getSameTimePreviousWeek(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the same time of the day referred to by date but on the previous week of the month.
getSameTimePreviousYear(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the same time of the day referred to by date but on the previous year.
getScaleFactor() - Method in class bb.science.Prefix
Convenience method that returns the value of the Prefix.scaleFactor field.
getScalePrefix(double) - Static method in class bb.science.Prefix
This method attempts to return a Prefix instance which will "best scale" the supplied quantity.
getSd() - Method in class bb.science.Bootstrap.UnitTest.CauchyStandard
 
getSd() - Method in interface bb.science.Bootstrap.UnitTest.Distribution
 
getSd() - Method in class bb.science.Bootstrap.UnitTest.ExponentialStandard
 
getSd() - Method in class bb.science.Bootstrap.UnitTest.GaussianStandard
 
getSd() - Method in class bb.science.GaussianFit
Returns the sd parameter of the fitted Gaussian.
getSd() - Method in class bb.util.Benchmark
Returns the standard deviation of the action execution times.
getSd() - Method in class bb.util.Benchmark.Stats
Accessor for Benchmark.Stats.sd.
getSdEst(double[], double) - Method in class bb.science.Bootstrap.UnitTest.CauchyStandard
 
getSdEst(double[], double) - Method in interface bb.science.Bootstrap.UnitTest.Distribution
Returns a theoretically known Estimate for the sd of this sample.
getSdEst(double[], double) - Method in class bb.science.Bootstrap.UnitTest.ExponentialStandard
 
getSdEst(double[], double) - Method in class bb.science.Bootstrap.UnitTest.GaussianStandard
getSdFractionThreshold() - Method in class bb.util.Benchmark.Params
Accessor for Benchmark.Params.sdFractionThreshold.
getSdIssues() - Method in class bb.util.Benchmark.Stats
Accessor for Benchmark.Stats.sdIssues.
getSdLower() - Method in class bb.util.Benchmark.Stats
Accessor for Benchmark.Stats.sdLower.
getSdUpper() - Method in class bb.util.Benchmark.Stats
Accessor for Benchmark.Stats.sdUpper.
getSecondOfMinute(Date) - Static method in class bb.util.DateUtil
Returns the second of the minute.
getSeconds() - Method in class bb.util.Date2
 
getSet() - Method in class bb.util.ObjectCounter
Returns the set of all objects that have been added to this instance.
getShort(String) - Method in class bb.util.Properties2
Returns Short.parseShort( getProperty(key) ).
getShort(String, short) - Method in class bb.util.Properties2
If key has an associated value, then returns Short.parseShort(value).
getSiBaseUnits() - Static method in class bb.science.Unit
Returns an array of all the SI base units.
getSiPrefixes() - Static method in class bb.science.Prefix
Returns an array of all the standard SI prefixes in order from Prefix.yotta down to Prefix.yocto.
getSizeMax() - Method in class bb.util.DateUtil.DateStringCache
Accessor for DateUtil.DateStringCache.sizeMax.
getSocketState(Socket) - Static method in class bb.net.NetUtil
Returns a String which lists all of socket's publicly accessible state.
getStackTraceString() - Static method in class bb.util.ThreadUtil
Returns getStackTraceString( Thread.currentThread() ).
getStackTraceString(Thread) - Static method in class bb.util.ThreadUtil
Returns a String that represent's thread's stack trace.
getStackTraceString(Throwable) - Static method in class bb.util.ThrowableUtil
Returns a String that represents t's stack trace.
getStackTraceString(StackTraceElement[]) - Static method in class bb.util.ThrowableUtil
Returns a String that represent's stackTrace's elements.
getState() - Method in class bb.util.OsUtil.ExecTask
 
getStates() - Method in class bb.util.State
Returns a clone of all the potential states of this State instance.
getStats() - Method in class bb.util.Benchmark
Alias for getStatsAction.
getStatsAction() - Method in class bb.util.Benchmark
Returns Benchmark.statsAction.
getStatsBlock() - Method in class bb.util.Benchmark
Returns Benchmark.statsBlock.
getStdOut() - Method in class bb.util.OsUtil.ExecTask
 
getString() - Method in class bb.io.PrintStreamStoring
Returns new String( PrintStreamStoring.getBytes() ).
getString() - Method in class bb.io.PrintWriterStoring
Returns all the chars that have been written so far to this instance as a new String.
getStringProperty(String, String) - Method in class bb.util.logging.HandlerAbstract
 
getSuffixes() - Method in class bb.io.filefilter.SuffixFilter
Returns a read-only view of SuffixFilter.suffixes.
getSymbol() - Method in class bb.science.Prefix
Returns the symbol that identifies this prefix (e.g. m, k, M etc).
getSymbol() - Method in class bb.science.Unit
Returns the symbol for the unit (e.g. m, g, etc).
getTabs(int) - Static method in class bb.util.StringUtil
Convenience method that returns the equivalent of repeatChars('\t', numberTabs).
getTaps() - Method in class bb.science.Lfsr
Accessor for Lfsr.taps.
getTemp() - Static method in class bb.io.DirUtil
Returns a new File representing the default temp directory (that is, the path returned by a call to System.getProperty("java.io.tmpdir")).
getText() - Method in class bb.gui.DocumentLimitedLength
Returns all the text contained in this instance.
getText() - Method in class bb.gui.GraphicsLabel
Returns the text for this instance.
getThreadMXBean(MBeanServerConnection) - Static method in class bb.util.ThreadMeasurer
Returns a ThreadMXBean instance for the JVM specified by server.
getThreadState() - Method in class bb.util.ThreadMeasurer
Returns a String description of the thread state of the monitored JVM.
getThreadState() - Method in class bb.util.ThreadMonitor
Returns the thread state that was detected at the last check cycle.
getThreadState() - Method in class bb.util.ThreadMonitor.UnitTest.ThreadMeasurerTest
 
getThrowable() - Method in class bb.gui.ThrowableDialog
Accessor for the throwable field.
getThrowable() - Method in interface bb.io.StreamDrainer
Returns any Throwable caught by run while it was draining that it could not handle.
getThrowable() - Method in class bb.io.StreamDrainerForwarding
 
getThrowable() - Method in class bb.io.StreamDrainerStoring
 
getThrowableDescription(Throwable) - Method in class bb.util.logging.Logger2
Contract: should never throw any Throwable.
getTimeOfDay(Date) - Static method in class bb.util.DateUtil
Returns the time of day for date.
getTimeOfDayMax() - Method in class bb.util.DateConstraint
Returns the DateConstraint.timeOfDayMax field.
getTimeOfDayMin() - Method in class bb.util.DateConstraint
Returns the DateConstraint.timeOfDayMin field.
getTimeOfDayStamp() - Static method in class bb.util.DateUtil
Returns getTimeOfDayStamp( new Date() ).
getTimeOfDayStamp(Date) - Static method in class bb.util.DateUtil
Returns the time of day for date.
getTimeOfDayStamp(long) - Static method in class bb.util.DateUtil
Is almost the same as getTimeOfDayStamp(Date) except that it takes a long arg.
getTimeOfDayStampConcise(long) - Static method in class bb.util.DateUtil
Returns a (possibly) more compact result than getTimeOfDayStamp by dropping the milliseconds and seconds fields if they can be implicitly understood.
getTimeOfDayStampForFile() - Static method in class bb.util.DateUtil
 
getTimeOfDayStampForFile(Date) - Static method in class bb.util.DateUtil
 
getTimerActionListener() - Method in class bb.gui.ScreenShot.UnitTest.Gui
 
getTimerName() - Method in class bb.util.MemoryMonitor
Returns a name to assign to MemoryMonitor.timer whenever it is assigned.
getTimerName() - Method in class bb.util.ThreadMonitor
Returns a name to assign to ThreadMonitor.timer whenever it is assigned.
getTimes() - Method in class bb.util.Benchmark
Returns an array of just the execution times stored in Benchmark.measurements.
getTimeStamp() - Static method in class bb.util.DateUtil
 
getTimeStamp(Date) - Static method in class bb.util.DateUtil
... getTimeStampConcise(Date) - Static method in class bb.util.DateUtil
Returns a more compact result than getTimeStamp by: always dropping the time zone dropping any low significance fields which can be implicitly understood The result, however, always contains at least the year.
getTimeStampForFile() - Static method in class bb.util.DateUtil
 
getTimeStampForFile(Date) - Static method in class bb.util.DateUtil
...
getTimezoneOffset() - Method in class bb.util.Date2
 
getTop() - Method in class bb.gui.GraphicsLabel
Returns the y-coordinate of the top edge of the rectangle which bounds this instance's text.
getTotal() - Method in class bb.util.MemoryState
Returns the value of the MemoryState.total field.
getTree(File) - Static method in class bb.io.DirUtil
Returns getTree(directory, null).
getTree(File, FileFilter) - Static method in class bb.io.DirUtil
Returns getTree(directory, fileFilter, true).
getTree(File, FileFilter, boolean) - Static method in class bb.io.DirUtil
Explores the tree rooted at directory and returns all the Files (normal files, subdirectories, and other file system elements) that are accepted by fileFilter.
getType() - Method in class bb.util.ObjectState
Returns getObject's class name.
getTypeAndMessage(Throwable) - Static method in class bb.util.ThrowableUtil
Returns a String that concatenates t's type (i.e. classname) and message into a single String.
getUpper() - Method in class bb.science.Bootstrap.Estimate
 
getUsed() - Method in class bb.util.MemoryState
Returns the value of the MemoryState.used field.
getUsedRatio() - Method in class bb.util.MemoryState
Returns the ratio of the MemoryState.used field to the MemoryState.max field.
getUseParentHandlers() - Method in class bb.util.logging.Logger2
 
getUserInput() - Method in class bb.gui.DialogInputSecure.DialogTask
 
getValue() - Method in class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntry
 
getValueTrue(Bootstrap.Estimator, Bootstrap.UnitTest.Distribution) - Method in class bb.science.Bootstrap.UnitTest.CoverageResult
 
getValueUndefined() - Method in class bb.util.Properties2
Returns the value associated with every key added by putKeyOnly.
getWarmupTime() - Method in class bb.util.Benchmark.Params
Accessor for Benchmark.Params.warmupTime.
getWeekOfMonth(Date) - Static method in class bb.util.DateUtil
Returns the week of month.
getWeekOfYear(Date) - Static method in class bb.util.DateUtil
Returns the week of year.
getWeekStart(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the start of the week that date lies in.
getWidth(String, Graphics2D) - Static method in class bb.gui.GraphicsLabel
Returns the width of the rectangle which bounds text.
getWidth() - Method in class bb.gui.GraphicsLabel
Returns the width of this instance's text.
getWidth() - Method in class bb.science.Bins.Intervals
Accessor for Bins.Intervals.width.
getWorking() - Static method in class bb.io.DirUtil
Returns a new File representing the current working directory (that is, the path returned by a call to System.getProperty("user.dir")).
getYear() - Method in class bb.util.Date2
 
getYear(Date) - Static method in class bb.util.DateUtil
Returns the year of date.
getYearEnd(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the end of the year that date lies in.
getYearStart(Date) - Static method in class bb.util.DateUtil
Returns that Date which represents the start of the year that date lies in.
giga - Static variable in class bb.science.Prefix
Models the SI prefix for 109, the giga.
giveUserFeedback - Static variable in class bb.io.TarUtil
 
giveUserFeedback - Static variable in class bb.io.ZipUtil
 
gram - Static variable in class bb.science.Unit
Models the SI unit of mass, the gram.
GraphicsLabel - Class in bb.gui
Represents a text label in some graphical context (e.g. the label for a grid line).
GraphicsLabel(String, Point2D, Point2D, double, double, double, double) - Constructor for class bb.gui.GraphicsLabel
Constructor.
GraphicsLabel.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
GraphicsLabel.UnitTest() - Constructor for class bb.gui.GraphicsLabel.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
GraphicsLabel.UnitTest.Sheet - Class in bb.gui
 
GraphicsLabel.UnitTest.Sheet() - Constructor for class bb.gui.GraphicsLabel.UnitTest.Sheet
 
groupLayout - Variable in class bb.gui.LinePanel
Contract: is never null.
GroupLayout2 - Class in bb.gui
Subclass of GroupLayout that adds no new functionality except for implementing Externalizable, which is needed because its superclass does not implement Serializable.
GroupLayout2() - Constructor for class bb.gui.GroupLayout2
Calls this(GroupLayout2.hostDummy).
GroupLayout2(Container) - Constructor for class bb.gui.GroupLayout2
Calls super(host).
GroupLayout2.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
GroupLayout2.UnitTest() - Constructor for class bb.gui.GroupLayout2.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
groupParallel - Variable in class bb.gui.LinePanel
Contract: is never null.
groupSequential - Variable in class bb.gui.LinePanel
Contract: is never null.
gut(File) - Static method in class bb.io.DirUtil
Deletes only the contents of a directory; the directory itself will remain.
gutIfExists(File) - Static method in class bb.io.DirUtil
Calls gut(directory) if directory !

H

hammingDistance(int, int) - Static method in class bb.science.Math2
Returns the Hamming distance between 2 ints.
hammingWeight(int) - Static method in class bb.science.Math2
Returns the Hamming weight of an int.
handleClass(Class, Object, Set<ObjectState.Filter>, Map<Class, Field[]>) - Method in class bb.util.ObjectState
 
handleConnectionEvent(ConnectionEvent) - Method in class bb.net.Emailer.Listener
 
handler - Variable in class bb.util.logging.HandlerAbstract.UnitTest.LogGenerator
 
HandlerAbstract - Class in bb.util.logging
Abstract subclass of Handler which makes it easier to write further subclasses.
HandlerAbstract() - Constructor for class bb.util.logging.HandlerAbstract
Constructor.
HandlerAbstract.UnitTest - Class in bb.util.logging
See the Overview page of the project's javadocs for a general description of this unit test class.
HandlerAbstract.UnitTest() - Constructor for class bb.util.logging.HandlerAbstract.UnitTest
 
HandlerAbstract.UnitTest.LogGenerator - Class in bb.util.logging
 
HandlerAbstract.UnitTest.LogGenerator(int, Handler, long) - Constructor for class bb.util.logging.HandlerAbstract.UnitTest.LogGenerator
 
HandlerAudio - Class in bb.util.logging
Plays a major error sound if a Level.SEVERE LogRecord is encountered, plays a minor error sound if a Level.WARNING LogRecord is encountered, or plays a notify sound if any other LogRecord is encountered.
HandlerAudio() - Constructor for class bb.util.logging.HandlerAudio
Constructor.
handlerAudio - Variable in class bb.util.logging.HandlerAudio.SoundPlayer
 
HandlerAudio.SoundPlayer - Class in bb.util.logging
 
HandlerAudio.SoundPlayer(HandlerAudio) - Constructor for class bb.util.logging.HandlerAudio.SoundPlayer
 
HandlerAudio.UnitTest - Class in bb.util.logging
See the Overview page of the project's javadocs for a general description of this unit test class.
HandlerAudio.UnitTest() - Constructor for class bb.util.logging.HandlerAudio.UnitTest
 
handlerClasses - Variable in class bb.util.logging.LogUtil.NodeProp
 
HandlerConsole - Class in bb.util.logging
Same as ConsoleHandler except that instead of always logging to System.err, this class only logs serious issues to System.err while non-serious issues get logged to System.out.
HandlerConsole() - Constructor for class bb.util.logging.HandlerConsole
Convenience constructor.
HandlerConsole(Level) - Constructor for class bb.util.logging.HandlerConsole
Fundamental constructor.
HandlerConsole.UnitTest - Class in bb.util.logging
See the Overview page of the project's javadocs for a general description of this unit test class.
HandlerConsole.UnitTest() - Constructor for class bb.util.logging.HandlerConsole.UnitTest
 
HandlerEmail - Class in bb.util.logging
Logs to an email account.
HandlerEmail() - Constructor for class bb.util.logging.HandlerEmail
Convenience constructor.
HandlerEmail(int, File, String, String) - Constructor for class bb.util.logging.HandlerEmail
Fundamental constructor.
handlerEmail - Variable in class bb.util.logging.HandlerEmail.EmailSender
 
HandlerEmail.EmailSender - Class in bb.util.logging
 
HandlerEmail.EmailSender(HandlerEmail, File, String, String) - Constructor for class bb.util.logging.HandlerEmail.EmailSender
 
HandlerEmail.UnitTest - Class in bb.util.logging
See the Overview page of the project's javadocs for a general description of this unit test class.
HandlerEmail.UnitTest() - Constructor for class bb.util.logging.HandlerEmail.UnitTest
 
handlerGui - Variable in class bb.util.logging.FrameLog
 
HandlerGui - Class in bb.util.logging
Logs to a GUI window.
HandlerGui() - Constructor for class bb.util.logging.HandlerGui
Convenience constructor.
HandlerGui(int) - Constructor for class bb.util.logging.HandlerGui
Fundamental constructor.
HandlerGui.UnitTest - Class in bb.util.logging
See the Overview page of the project's javadocs for a general description of this unit test class.
HandlerGui.UnitTest() - Constructor for class bb.util.logging.HandlerGui.UnitTest
 
handleTransportEvent(TransportEvent) - Method in class bb.net.Emailer.Listener
 
handleWindowClose() - Method in class d.g.ObjectStateDisplay
This method calls onContinueExecution(), and then calls dispose().
hasAtOffset(int) - Method in class bb.util.ListWithIndex
Reports whether or not there is an element at index + offset.
hasData() - Method in class bb.io.ParseReader
Reports whether or not data can still be read.
hasEscapeForLiteral(char) - Static method in class bb.util.CharUtil
Reports whether or not the supplied char has a "simple" escape sequence that may appear in a Java char or String Literal.
hash(double) - Static method in class bb.util.HashUtil
Returns a high quality hash for the double arg d.
hash(long) - Static method in class bb.util.HashUtil
Returns a high quality hash for the long arg l.
hashCode() - Method in class bb.gui.FontUtil.FontRank
 
hashCode() - Method in class bb.science.Bins.Intervals
 
hashCode() - Method in class bb.util.Benchmark.JvmState
Returns a value based on all of the fields.
hashCode() - Method in class bb.util.Benchmark.Params
Returns a value based on all of the non-boolean fields.
hashCode() - Method in class bb.util.DateConstraint
Returns a value based on all of the fields.
hashCode() - Method in class bb.util.MemoryState
Returns a value based on all of the fields.
hashCode() - Method in class bb.util.Properties2
 
hashCode() - Method in class bb.util.Unmodifiables.UnmodifiableList
 
hashCode() - Method in class bb.util.Unmodifiables.UnmodifiableMap
 
hashCode() - Method in class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntry
 
hashCode() - Method in class bb.util.Unmodifiables.UnmodifiableSet
 
HashUtil - Class in bb.util
Provides various static utility methods for dealing with hashes.
HashUtil() - Constructor for class bb.util.HashUtil
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
HashUtil.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
HashUtil.UnitTest() - Constructor for class bb.util.HashUtil.UnitTest
 
hasNext() - Method in class bb.util.ListWithIndex
Reports whether or not there is an element after the current value of index.
hasPrevious() - Method in class bb.util.ListWithIndex
Reports whether or not there is an element before the current value of index.
hasSameSign(double, double) - Static method in class bb.science.Math2
Determines whether or not x1 and x2 have the same sign: returns sign(x1) == sign(x2).
hasSize(boolean[], int) - Method in class bb.util.Check
Checks that array is not null and has the required number of elements (i.e. array.length == sizeRequired).
hasSize(byte[], int) - Method in class bb.util.Check
Checks that array is not null and has the required number of elements (i.e. array.length == sizeRequired).
hasSize(short[], int) - Method in class bb.util.Check
Checks that array is not null and has the required number of elements (i.e. array.length == sizeRequired).
hasSize(char[], int) - Method in class bb.util.Check
Checks that array is not null and has the required number of elements (i.e. array.length == sizeRequired).
hasSize(int[], int) - Method in class bb.util.Check
Checks that array is not null and has the required number of elements (i.e. array.length == sizeRequired).
hasSize(long[], int) - Method in class bb.util.Check
Checks that array is not null and has the required number of elements (i.e. array.length == sizeRequired).
hasSize(float[], int) - Method in class bb.util.Check
Checks that array is not null and has the required number of elements (i.e. array.length == sizeRequired).
hasSize(double[], int) - Method in class bb.util.Check
Checks that array is not null and has the required number of elements (i.e. array.length == sizeRequired).
hasSize(T[], int) - Method in class bb.util.Check
Checks that array is not null and has the required number of elements (i.e. array.length == sizeRequired).
hasSize(Collection<T>, int) - Method in class bb.util.Check
Checks that collection is not null and has the required number of elements (i.e. collection.size() == sizeRequired).
hasSize(Map<K, V>, int) - Method in class bb.util.Check
Checks that map is not null and has the required number of elements (i.e. map.size() == sizeRequired).
header - Variable in class bb.gui.DialogInputSecure.DialogTask
 
headMap(String) - Method in class bb.util.Properties2
headMap(K) - Method in class bb.util.Unmodifiables.UnmodifiableSortedMap
 
headSet(E, boolean) - Method in class bb.util.Collections2.UnmodifiableNavigableSet
 
headSet(E) - Method in class bb.util.Unmodifiables.UnmodifiableSortedSet
 
hecto - Static variable in class bb.science.Prefix
Models the SI prefix for 102, the hecto.
higher(E) - Method in class bb.util.Collections2.UnmodifiableNavigableSet
 
hostDummy - Static variable in class bb.gui.GroupLayout2
The sole purpose of this method is to provide a host value for the public no-arg constructor.
hour - Static variable in class bb.util.TimeLength
Length of 1 hour in milliseconds.
hourFormat - Static variable in class bb.util.logging.FormatterShort
 
HtmlFilter - Class in bb.io.filefilter
File filter that accepts html files.
HtmlFilter() - Constructor for class bb.io.filefilter.HtmlFilter
Constructs a new HtmlFilter instance.
HttpParameters - Class in bb.net
This class provides a convenient way to store all the parameters associated with an http request in a form that is properly encoded for submission.
HttpParameters() - Constructor for class bb.net.HttpParameters
Simply calls this(1).
HttpParameters(int) - Constructor for class bb.net.HttpParameters
Constructs a new HttpParameters instance.
httpProtocol - Static variable in class bb.net.UrlUtil
 
HttpSessionUtil - Class in bb.servlet
Provides static utility methods for dealing with HttpSessions.
HttpSessionUtil() - Constructor for class bb.servlet.HttpSessionUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
httpsProtocol - Static variable in class bb.net.UrlUtil
 
HttpUtil - Class in bb.net
Provides miscellaneous static utility methods for dealing with the http protocol.
HttpUtil() - Constructor for class bb.net.HttpUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.

I

id - Static variable in class bb.io.ZipUtil.UnitTest
 
id - Static variable in class bb.util.RandomUtil
 
ignored - Variable in class bb.util.JUnitExecutor.TestRunEvents
 
imageType - Static variable in class bb.gui.ScreenShot
Defines the image type for the BufferedImages that will create when taking snapshots.
imaginaryAddresses - Static variable in class bb.net.Emailer.UnitTest
 
immediateInstanceState - Static variable in class bb.util.ObjectState
A Set of ObjectState.Filters that acts to only accept this state: fields from the immediate object under consideration (i.e. reject fields from superclasses/interfaces) instance fields (i.e. reject static fields) Contract: is never null.
immediateState - Static variable in class bb.util.ObjectState
A Set of ObjectState.Filters that acts to only accept fields from the immediate object under consideration (i.e. reject fields from superclasses/interfaces); both static and instance fields are accepted.
in - Variable in class bb.io.FileParser
 
in - Variable in class bb.io.ParseReader
The underlying character-input stream.
in - Variable in class bb.io.StreamDrainerForwarding
 
in - Variable in class bb.io.StreamDrainerStoring
 
in - Variable in class bb.io.StreamUtil.Drainer
 
in - Variable in class bb.util.logging.FormatterFull.Parser
 
include(Bootstrap.UnitTest.CiTask, Map<Bootstrap.Estimator, Bootstrap.Estimate>, Map<Bootstrap.Estimator, Bootstrap.Estimate>) - Method in class bb.science.Bootstrap.UnitTest.CiResult
 
include(Bootstrap.UnitTest.CoverageTask, Map<Bootstrap.Estimator, Bootstrap.Estimate>) - Method in class bb.science.Bootstrap.UnitTest.CoverageResult
 
increaseBuffer() - Method in class bb.science.Samples
Increases the capacity of the values buffer.
increment() - Method in class bb.util.State
Moves to the next state (wrapping around to the beginning of the states array if are currently at end).
incrementIndex() - Method in class bb.util.ListWithIndex
If hasNext() returns true, then this method increments index.
incrementObjectGraph(Object) - Static method in class bb.util.ObjectState
 
indentLines(String) - Static method in class bb.util.StringUtil
Returns indentLines(s, 1).
indentLines(String, int) - Static method in class bb.util.StringUtil
Parses individual lines out of s by a call to parseLines(s, true).
index(double) - Method in class bb.science.Bins.Intervals
Returns the index of the interval which contains d.
index - Variable in class bb.util.ListWithIndex
 
index - Variable in class bb.util.State
 
indexOf(Object) - Method in class bb.util.Unmodifiables.UnmodifiableList
 
infinite(float) - Method in class bb.util.Check
Checks that value is infinite.
infinite(double) - Method in class bb.util.Check
Checks that value is infinite.
init(String, boolean, String, Throwable) - Method in class bb.gui.ThrowableDialog
Initialization routine called by the 2 public constructors which contains code common to them.
init(InputStream) - Method in interface bb.io.StreamDrainer
Assigns the InputStream that this instance must drain.
init(InputStream) - Method in class bb.io.StreamDrainerForwarding
 
init(InputStream) - Method in class bb.io.StreamDrainerStoring
 
init(FilterConfig) - Method in class bb.servlet.AbstractFilter
Places this filter into service.
init_nameToNodeProps(Properties) - Static method in class bb.util.logging.LogUtil
 
initGuiIfNeeded() - Method in class bb.util.logging.HandlerGui
 
initLayout() - Method in class bb.gui.LinePanel
 
initList(String) - Static method in class bb.util.StringUtil
 
initTransport() - Method in class bb.net.Emailer
Closes Emailer.transport if it currently exists.
innerClass1 - Static variable in class bb.util.ObjectState.UnitTest.CompoundClass
 
innerClass2 - Variable in class bb.util.ObjectState.UnitTest.CompoundClass
 
insertString(int, String, AttributeSet) - Method in class bb.gui.DocumentLimitedLength
First calls super.insertString(offset, s, attributeSet).
inspectStringConstructor() - Static method in class bb.util.StringUtil
 
instance - Static variable in class bb.util.ReflectUtil.FieldComparator
 
instanceId - Variable in class bb.io.StreamUtil.Drainer
 
instanceId - Variable in class bb.util.MemoryMonitor
Records this instance's Id.
instanceId - Variable in class bb.util.MemoryMonitorListenerImpl
 
instanceId - Variable in class bb.util.Properties2
This instance's Id.
instanceId - Variable in class bb.util.ThreadMonitor
This instance's Id.
instanceId - Variable in class bb.util.ThreadMonitor.UnitTest.ListenerTest
 
instanceId - Variable in class d.g.ObjectStateDisplay
Records this instance's Id.
instanceIdNext - Static variable in class bb.io.StreamUtil.Drainer
 
instanceIdNext - Static variable in class bb.util.MemoryMonitor
The next MemoryMonitor instance's MemoryMonitor.instanceId field.
instanceIdNext - Static variable in class bb.util.MemoryMonitorListenerImpl
 
instanceIdNext - Static variable in class bb.util.Properties2
The next Properties2 instance's Properties2.instanceId field.
instanceIdNext - Static variable in class bb.util.ThreadMonitor
The next ThreadMonitor instance's ThreadMonitor.instanceId field.
instanceIdNext - Static variable in class bb.util.ThreadMonitor.UnitTest.ListenerTest
 
instanceIdNext - Static variable in class d.g.ObjectStateDisplay
The next ObjectStateDisplay instance's g.ObjectStateDisplay.instanceId field.
int_1 - Static variable in class bb.util.ObjectState.UnitTest.SuperClass
 
int_2 - Static variable in class bb.util.ObjectState.UnitTest.SubClass
 
integerFormat - Static variable in class bb.util.MemoryState
 
integerMaxDiv2 - Static variable in class bb.science.Samples
 
interfaceConstant1 - Static variable in interface bb.util.ObjectState.UnitTest.SubInterface2
 
interfaceConstant1 - Static variable in interface bb.util.ObjectState.UnitTest.SuperInterface1
 
interfaceConstant3 - Static variable in interface bb.util.ObjectState.UnitTest.SuperInterface3
 
interfaceConstant4 - Static variable in interface bb.util.ObjectState.UnitTest.SubInterface4
 
intersection(SortedSet<T>, SortedSet<T>) - Static method in class bb.util.SetUtil
Returns a new NavigableSet instance that is the intersection of set1 and set2 (i.e. every element that is in both set1 and set2).
intersection(Set<? extends T>, Set<? extends T>) - Static method in class bb.util.SetUtil
Returns a new Set instance that is the intersection of set1 and set2 (i.e. every element that is in both set1 and set2).
intersection(Set<? extends T>, Set<? extends T>, Set<T>) - Static method in class bb.util.SetUtil
 
interval - Variable in class bb.util.MemoryMeasurer.UnitTest.MemoryFiller
 
interval - Variable in class bb.util.MemoryMonitor
Specifies how often the memory state should be checked.
interval - Variable in class bb.util.ThreadMonitor
Specifies how often the thread state should be checked.
interval_default - Static variable in class bb.util.MemoryMeasurer.UnitTest.MemoryFiller
 
interval_default - Static variable in class bb.util.MemoryMonitor
Default value for MemoryMonitor.interval.
interval_default - Static variable in class bb.util.ThreadMonitor
Default value for ThreadMonitor.interval.
interval_test - Static variable in class bb.util.MemoryMonitor.UnitTest
Contract: this constant always has the smallest possible value allowed for MemoryMonitor.interval, namely 1.
interval_test - Static variable in class bb.util.ThreadMonitor.UnitTest
Contract: this constant always has the smallest possible value allowed for MemoryMonitor.interval, namely 1.
intervals - Variable in class bb.science.Bins
 
intsToCharsMap_1 - Variable in class bb.util.ObjectState.UnitTest.SuperClass
 
intsToCharsMap_2 - Variable in class bb.util.ObjectState.UnitTest.SubClass
 
inverseSqrt2pi - Static variable in class bb.science.Math2
Stores the value of 1 / sqrt(2*pi).
investigate_bitFlip() - Method in class bb.util.StringUtil.UnitTest
 
invokeNow(Runnable) - Static method in class bb.gui.SwingUtil
Synchronously executes task on EventQueue's dispatch thread (i.e. this method does return until task has finished running).
invokeNowIfEdt(Runnable) - Static method in class bb.gui.SwingUtil
Ensures that at some point task is executed on EventQueue's dispatch thread.
inX(int, int, Color) - Static method in class bb.gui.Strut
Reurns a new horizontal (x-axis oriented) Strut instance with the specified length, preferred transverse size, and color.
inX(int) - Static method in class bb.gui.Strut
Reurns a new horizontal (x-axis oriented) Strut instance with the specified length.
inY(int, int, Color) - Static method in class bb.gui.Strut
Reurns a new vertical (y-axis oriented) Strut instance with the specified length, preferred transverse size, and color.
inY(int) - Static method in class bb.gui.Strut
Reurns a new vertical (y-axis oriented) Strut instance with the specified length.
is(String) - Method in class bb.util.State
Returns whether or not state equals this instance's current state.
isAlive() - Method in class bb.util.logging.HandlerAbstract
Accessor for HandlerAbstract.alive.
isAllAsciiChars(String) - Static method in class bb.util.StringUtil
Determines whether or not s consists exclusively of US-ASCII chars.
isAscii(int) - Static method in class bb.util.CharUtil
Determines whether or not c has a value that a Java char can represent.
isBlank(String) - Static method in class bb.util.StringUtil
Determines whether or not s is "blank" (i.e. is either null, zero-length, or solely consists of whitespace).
isChar(int) - Static method in class bb.util.CharUtil
Determines whether or not c has a value that a Java char can represent.
isDayOfMonthLast(Date) - Static method in class bb.util.DateUtil
Determines whether date falls on the last day of the month.
isDayOfYearLast(Date) - Static method in class bb.util.DateUtil
Determines whether or not date falls on the last day of the year.
isDeadlocked() - Method in class bb.util.ThreadMonitor
Reports whether or not thread deadlock was detected at the last check cycle.
isDecimalDigit(int) - Static method in class bb.util.CharUtil
Determines whether or not c represents a decimal digit (i.e. '0', '1', ..., '9').
isDefault(Field) - Static method in class bb.util.ReflectUtil
Returns true if f has default (unnamed) access.
isDoubleClick(MouseEvent) - Static method in class bb.gui.MouseUtil
Determines whether the MouseEvent represents a double click.
isDuplicateEvent(ActionEvent) - Method in class bb.gui.DuplicateEventActionListener
Determines if this is a duplicate event or not by comparing the difference of when actionEvent occured and DuplicateEventActionListener.lastEventTime with DuplicateEventActionListener.duplicateEventMaxTimeDifference.
isEmpty() - Method in class bb.util.ConcurrentHashSet
 
isEmpty() - Method in class bb.util.Properties2
 
isEmpty() - Method in class bb.util.Unmodifiables.UnmodifiableCollection
 
isEmpty() - Method in class bb.util.Unmodifiables.UnmodifiableMap
 
isEven(int) - Static method in class bb.util.NumberUtil
Determines whether or not i is an even number.
isExactDay(Date, Date) - Static method in class bb.util.DateUtil
Determines whether or not date occurs on the exact day as dateReference.
isExactWeek(Date, Date) - Static method in class bb.util.DateUtil
Determines whether or not date occurs in the exact week as dateReference occurs in.
isFalse(boolean) - Method in class bb.util.Check
Checks that value == false.
isFinal(Field) - Static method in class bb.util.ReflectUtil
Returns Modifier.isFinal( f.
isFor(long) - Method in class bb.util.DateUtil.DateInfo
Returns true if this instance is suitable for time, false otherwise.
isFrozen() - Method in class bb.util.Properties2
Reports whether or not this instance's state has been frozen.
isInCurrentBin(Date) - Method in class bb.science.StatsOverTime
 
isInObjectGraph(Object) - Static method in class bb.util.ObjectState
 
isKeyOnlyPresent(String) - Method in class bb.util.Properties2
Reports whether or not only key is effectively in this instance (i.e. it has no substantial associated value).
isLeapDay - Variable in class bb.util.DateUtil.DateInfo
 
isLeapDay(Date) - Static method in class bb.util.DateUtil
Determines whether or not date is a leap day in the Gregorian Calendar (i.e. is February 29th).
isLeftMouseButtonClick(MouseEvent) - Static method in class bb.gui.MouseUtil
Determines whether the MouseEvent represents a click of the leftmost mouse button (buttion #1).
isLightweight() - Method in class bb.gui.Strut
Returns true: this Component is peerless.
isLineEnd(int) - Static method in class bb.util.CharUtil
Determines whether or not c represents a (lower or upper case) Roman Letter (i.e.
isLoggable(LogRecord) - Method in class bb.util.logging.FilterMsgSuppress
First gets record's raw message, that is, before localization or formatting.
isLoggable(LogRecord) - Method in class bb.util.logging.HandlerAbstract
If record is null, immediately returns false., Otherwise, returns super.isLoggable(record).
isLoggable(Level) - Method in class bb.util.logging.Logger2
 
isMemoryLow() - Method in class bb.util.MemoryMonitor
Reports whether or not the low memory state was detected at the last check cycle.
isMicrosoft() - Static method in class bb.util.OsUtil
Determines whether or not the operating system is from Microsoft (e.g.
isMiddleMouseButtonClick(MouseEvent) - Static method in class bb.gui.MouseUtil
Determines whether the MouseEvent represents a click of the middle mouse button (buttion #2).
isMonitoring() - Method in class bb.util.MemoryMonitor
Reports whether or not this instance is actively monitoring memory.
isMonitoring() - Method in class bb.util.ThreadMonitor
Reports whether or not this instance is actively monitoring threads.
isNewLineEnd(String) - Static method in class bb.util.StringUtil
This method determines whether or not the supplied String ends in a newline char.
isNewLineNext() - Method in class bb.io.ParseReader
Reports if the next character on the stream is a newline char (i.e.
isNonDataLine(String) - Method in class bb.io.FileParser
 
isNormal(double) - Static method in class bb.util.NumberUtil
Determines whether or not d is a "normal" double (i.e. that d is not NaN or infinite).
isNormal(float) - Static method in class bb.util.NumberUtil
Determines whether or not f is a "normal" float, which is defined as f is not NaN or infinite.
isNormalized(double[]) - Static method in class bb.science.Math2
Returns isNormalized(numbers, Math2.normalizationErrorTolerance_default).
isNormalized(double[], double) - Static method in class bb.science.Math2
Reports whether or not numbers is normalized within an error specified by errorTolerance.
isNull(Object) - Method in class bb.util.Check
Checks that obj is null.
isObjectGraphEmpty() - Static method in class bb.util.ObjectState
 
isOdd(int) - Static method in class bb.util.NumberUtil
Determines whether or not i is an odd number.
isPrivate(Field) - Static method in class bb.util.ReflectUtil
Returns Modifier.isPrivate( f.
isProgramEntryPoint - Variable in class bb.util.Execute.Caller
 
isProtected(Field) - Static method in class bb.util.ReflectUtil
Returns Modifier.isProtected( f.
isPublic(Field) - Static method in class bb.util.ReflectUtil
Returns Modifier.isPublic( f.
isReverseMapped(Object, Object) - Method in class bb.util.BidirectionalMap
Determines whether or not the reverse map of keysPartner-->key exists in this BidirectionalMap instance.
isRightMouseButtonClick(MouseEvent) - Static method in class bb.gui.MouseUtil
Determines whether the MouseEvent represents a click of the rightmost mouse button (buttion #3).
isRomanLetter(int) - Static method in class bb.util.CharUtil
Determines whether or not c represents a (lower or upper case) Roman Letter (i.e.
isRomanLetterLowerCase(int) - Static method in class bb.util.CharUtil
Determines whether or not c represents a lower case Roman Letter (i.e.
isRomanLetterUpperCase(int) - Static method in class bb.util.CharUtil
Determines whether or not c represents an upper case Roman Letter (i.e.
isRootFile(File) - Method in class bb.io.filefilter.VisibleOrRootFilter
 
isSameCenturyOfMillenia(Date, Date) - Static method in class bb.util.DateUtil
Determines whether or not date occurs in the same century of the millenia as dateReference.
isSameDayOfMonth(Date, Date) - Static method in class bb.util.DateUtil
Determines whether or not date occurs in the same day of month as dateReference.
isSameDayOfWeek(Date, Date) - Static method in class bb.util.DateUtil
Determines whether or not date occurs in the same day of week as dateReference.
isSameDayOfYear(Date, Date) - Static method in class bb.util.DateUtil
Determines whether or not date occurs in the same day of year as dateReference.
isSameDecadeOfCentury(Date, Date) - Static method in class bb.util.DateUtil
Determines whether or not date occurs in the same decade of the century as dateReference.
isSameHourOfDay(Date, Date) - Static method in class bb.util.DateUtil
Determines whether or not date occurs in the same hour of the day as dateReference.
isSameMinuteOfHour(Date, Date) - Static method in class bb.util.DateUtil
Determines whether or not date occurs in the same minute of the hour as dateReference.
isSameMonth(Date, Date) - Static method in class bb.util.DateUtil
Determines whether or not date occurs in the same month of the year as dateReference.
isSameSecondOfMinute(Date, Date) - Static method in class bb.util.DateUtil
Determines whether or not date occurs in the same second of the minute as dateReference.
isSameWeekOfMonth(Date, Date) - Static method in class bb.util.DateUtil
Determines whether or not date occurs in the same week of month as dateReference.
isSameWeekOfYear(Date, Date) - Static method in class bb.util.DateUtil
Determines whether or not date occurs in the same week of year as dateReference.
isSameYear(Date, Date) - Static method in class bb.util.DateUtil
Determines whether or not date occurs in the same year as dateReference.
isSerious(LogRecord) - Method in class bb.util.logging.HandlerConsole
Returns true if record's Level has at the same or higher value than HandlerConsole.levelSerious.
isSingleClick(MouseEvent) - Static method in class bb.gui.MouseUtil
Determines whether the MouseEvent represents a single click.
isStatic(Field) - Static method in class bb.util.ReflectUtil
Returns Modifier.isStatic( f.
issueSummary() - Method in class bb.util.Benchmark
Returns a summary of any issues that occured.
isSwitchKey(String) - Method in class bb.util.Properties2
Determines whether or not s is a key for a command line switch.
isTarable(File) - Static method in class bb.io.TarUtil
If path is a directory, then returns true.
isTokenNext(String) - Method in class bb.io.ParseReader
Returns isTokenNext(token, true) (i.e. is always case sensitive).
isTokenNext(String, boolean) - Method in class bb.io.ParseReader
Determines if token's chars next occur on the stream.
isTransitionAllowed(E, E) - Method in class bb.util.StateMachine
 
isTrimmable(String) - Static method in class bb.util.StringUtil
Determines whether or not s is "trimmable" (i.e. either begins and/or ends with a whitespace char).
isTrue(boolean) - Method in class bb.util.Check
Checks that value == true.
isUnix() - Static method in class bb.util.OsUtil
Determines whether or not the operating system is Unix (including Linux and OS/X).
isValidPassword(char[]) - Static method in class bb.io.EncryptUtil
Checks if the supplied password is valid.
isValidPort(int) - Static method in class bb.net.NetUtil
Determines whether or not port is a valid TCP or UDP port number.
isWeekDay(Date) - Static method in class bb.util.DateUtil
Determines whether or not date's day of week is a "week day" (i.e.
isWeekEnd(Date) - Static method in class bb.util.DateUtil
Determines whether or not date's day of week is a "week end" (i.e.
isWindows2000() - Static method in class bb.util.OsUtil
Determines whether or not the operating system is Windows 2000 by comparing OsUtil.windows2000_osName to the result of getOsName.
isWindows98() - Static method in class bb.util.OsUtil
Determines whether or not the operating system is Windows 98 by comparing OsUtil.windows98_osName to the result of getOsName.
isWindowsNT() - Static method in class bb.util.OsUtil
Determines whether or not the operating system is Windows NT by comparing OsUtil.windowsNt_osName to the result of getOsName.
isWindowsXP() - Static method in class bb.util.OsUtil
Determines whether or not the operating system is Windows 2000 by comparing OsUtil.windowsXp_osName to the result of getOsName.
isWithin(double, double, double) - Static method in class bb.science.Math2
Determines whether or not a and b are within epsilon of each other, that is, that the distance between a and b is <= epsilon.
isWithinDays(Date, Date, int) - Static method in class bb.util.DateUtil
Determines whether or not date occurs within the the specififed limit of days from dateReference.
isWithinOneUlp(double, double) - Static method in class bb.science.Math2
Determines whether or not a and b are within one ulp of each other.
isZeroDigit0 - Static variable in class bb.util.NumberUtil
 
isZipable(File) - Static method in class bb.io.ZipUtil
If path is a directory, then returns true.
iterator() - Method in class bb.util.ConcurrentHashSet
Returns an Iterator over the elements in this set.
iterator() - Method in class bb.util.Unmodifiables.UnmodifiableCollection
 
iterator() - Method in class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet
 

J

JarFilter - Class in bb.io.filefilter
File filter that accepts Java Archive files.
JarFilter() - Constructor for class bb.io.filefilter.JarFilter
Constructs a new JarFilter instance.
JarOrZipFilter - Class in bb.io.filefilter
File filter that accepts ZIP or Java Archive files.
JarOrZipFilter() - Constructor for class bb.io.filefilter.JarOrZipFilter
Constructs a new JarOrZipFilter instance.
JavaFilter - Class in bb.io.filefilter
File filter that accepts Java source code files.
JavaFilter() - Constructor for class bb.io.filefilter.JavaFilter
Constructs a new JavaFilter instance.
jdbcUrl - Static variable in class bb.jdbc.DBConnManager
 
JDBCUtil - Class in bb.jdbc
Provides static utility methods for generic JDBC operations.
JDBCUtil() - Constructor for class bb.jdbc.JDBCUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
jdcDriver - Static variable in class bb.jdbc.DBConnManager
 
jframe - Variable in class bb.gui.ScreenShot.UnitTest.Gui
 
jlabel - Variable in class bb.gui.ScreenShot.UnitTest.Gui
 
join - Variable in class bb.gui.BasicStrokeSerializer
 
jpanel - Variable in class bb.gui.ScreenShot.UnitTest.Gui
 
jtextArea - Variable in class bb.util.logging.DialogMsgSuppress
 
jtextArea - Variable in class bb.util.logging.FrameLog
 
JUnitExecutor - Class in bb.util
Discovers and autoexecutes all the JUnit 4 test methods (i.e. those annotated Test) found in the class files of some directory tree.
JUnitExecutor() - Constructor for class bb.util.JUnitExecutor
Constructor.
JUnitExecutor.AudioFeedback - Class in bb.util
Provides audio feedback for test events.
JUnitExecutor.AudioFeedback() - Constructor for class bb.util.JUnitExecutor.AudioFeedback
 
JUnitExecutor.BufferWithEcho - Class in bb.util
Modifies superclass to echo the last line stored in the buffer to the console after byte(s) are written to it.
JUnitExecutor.BufferWithEcho(PrintStream) - Constructor for class bb.util.JUnitExecutor.BufferWithEcho
 
JUnitExecutor.DescriptionFields - Class in bb.util
Parses and stores fields from a Description.
JUnitExecutor.DescriptionFields(Description) - Constructor for class bb.util.JUnitExecutor.DescriptionFields
 
JUnitExecutor.FindTestEvents - Class in bb.util
Stores all events that occur while finding classes with JUnit tests, from which it can generate a report.
JUnitExecutor.FindTestEvents() - Constructor for class bb.util.JUnitExecutor.FindTestEvents
 
JUnitExecutor.PcmFilter - Class in bb.util
Filters on the basis of package, class, and method names (pcm).
JUnitExecutor.PcmFilter(Set<Pattern>, Set<Pattern>, Set<Pattern>) - Constructor for class bb.util.JUnitExecutor.PcmFilter
 
JUnitExecutor.PrintStreamFeedback - Class in bb.util
Provides console feedback for test events.
JUnitExecutor.PrintStreamFeedback(PrintStream) - Constructor for class bb.util.JUnitExecutor.PrintStreamFeedback
 
JUnitExecutor.RunListenerAbstract - Class in bb.util
Defines some common functionality used by a couple of (otherwise very different) RunListener implementations.
JUnitExecutor.RunListenerAbstract() - Constructor for class bb.util.JUnitExecutor.RunListenerAbstract
 
JUnitExecutor.StdStreams - Class in bb.util
Swaps and unswaps the standard streams (System.out and System.err) for a pair of JUnitExecutor.BufferWithEcho instances.
JUnitExecutor.StdStreams() - Constructor for class bb.util.JUnitExecutor.StdStreams
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
JUnitExecutor.StdStreamSwapper - Class in bb.util
Every time that a test method is about to be executed, this intercepts the standard streams (out and err) and captures any output.
JUnitExecutor.StdStreamSwapper() - Constructor for class bb.util.JUnitExecutor.StdStreamSwapper
 
JUnitExecutor.TestRunEvents - Class in bb.util
Stores all events which occur during a test run, from which it can generate a report.
JUnitExecutor.TestRunEvents() - Constructor for class bb.util.JUnitExecutor.TestRunEvents
 
jvmState - Variable in class bb.util.Benchmark.Measurement
Records Benchmark.JvmState just after the measurement ended.

K

keepWithinLength(String, int) - Static method in class bb.util.StringUtil
Returns s if its length is less than limitLength.
kelvin - Static variable in class bb.science.Unit
Models the SI base unit of thermodynamic temperature, the kelvin.
keySet() - Method in class bb.util.Properties2
keySet - Variable in class bb.util.Unmodifiables.UnmodifiableMap
 
keySet() - Method in class bb.util.Unmodifiables.UnmodifiableMap
 
keysLegal - Static variable in class bb.io.EncryptUtil
Specifies all the switch keys which can legally appear as command line arguments to main.
keysLegal - Static variable in class bb.util.JUnitExecutor
Specifies all the switch keys which can legally appear as command line arguments to main.
keysLegal_archive - Static variable in class bb.io.TarUtil
Specifies all the switch keys which can legally appear as command line arguments to main for an archive.
keysLegal_archive - Static variable in class bb.io.ZipUtil
Specifies all the switch keys which can legally appear as command line arguments to main for an archive operation.
keysLegal_extract - Static variable in class bb.io.TarUtil
Specifies all the switch keys which can legally appear as command line arguments to main for an extract.
keysLegal_extract - Static variable in class bb.io.ZipUtil
Specifies all the switch keys which can legally appear as command line arguments to main for an extract operation.
keysLegal_listContents - Static variable in class bb.io.ZipUtil
Specifies all the switch keys which can legally appear as command line arguments to main for a content list operation.
keysSmtpSslMandatory - Static variable in class bb.net.Emailer
Set of all mandatory keys for the properties arg of Emailer.makeForSmtpSsl(bb.util.Properties2).
keysSmtpSslOptional - Static variable in class bb.net.Emailer
Set of all optional keys for the properties arg of Emailer.makeForSmtpSsl(bb.util.Properties2).
kilo - Static variable in class bb.science.Prefix
Models the SI prefix for 103, the kilo.
knows(String) - Method in class bb.util.State
Returns whether or not this instance knows of state as a valid state that it can reach.

L

label(String, Component) - Static method in class bb.gui.ComponentUtil
"Labels" component.
label - Variable in class d.g.ObjectStateDisplay
 
last - Variable in class bb.io.StreamUtil.TransferProgressReporter
 
last() - Method in class bb.util.Unmodifiables.UnmodifiableSortedSet
 
lastEventTime - Variable in class bb.gui.DuplicateEventActionListener
Occurence of the last event registered by this instance.
lastIndexOf(Object) - Method in class bb.util.Unmodifiables.UnmodifiableList
 
lastKey() - Method in class bb.util.Properties2
 
lastKey() - Method in class bb.util.Unmodifiables.UnmodifiableSortedMap
 
lastLineNumber - Variable in class bb.io.FileParser
 
latched() - Method in class bb.util.TimeElapsedLatch
Returns true once the specified amount of time has elapsed, false until then.
latestX - Static variable in class d.g.ObjectStateDisplay
Every time any ObjectStateDisplay instance is moved, this field stores its latest x position.
latestY - Static variable in class d.g.ObjectStateDisplay
Every time any ObjectStateDisplay instance is moved, this field stores its latest y position.
leading - Variable in class bb.gui.GraphicsLabel
 
leapSecond - Variable in class bb.util.DateUtil.DateInfo
-1 if is a negative leap second day (has never happened as of 2005/3/22), 0 if no leap second, +1 if is a positive leap second day (a normal leap second).
lengthMax - Variable in class bb.io.StreamUtil.Drainer
 
lengthRandom(Random) - Method in class bb.science.Bins.UnitTest
 
level - Variable in class bb.util.logging.FormatterFull.Parser.LogRecordData
 
level - Variable in class bb.util.logging.LogUtil.NodeProp
 
levelEvents - Variable in class bb.util.Execute
 
levels - Variable in class bb.util.logging.HandlerAudio
Stores the set of Levels encountered by publish since the last call to getLevelWorst.
levels - Static variable in class bb.util.logging.LogUtil
 
levelSerious - Variable in class bb.util.logging.HandlerConsole
All LogRecords with this or a higher Level are considered to be "serious" log events by isSerious.
Lfsr - Class in bb.science
Implements a linear feedback shift register (LFSR).
Lfsr(int) - Constructor for class bb.science.Lfsr
Convenience constructor that simply calls Lfsr(n, 1).
Lfsr(int, int) - Constructor for class bb.science.Lfsr
Fundamental constructor.
lfsr - Variable in class bb.util.Benchmark.LfsrAdvancer
 
Lfsr.UnitTest - Class in bb.science
See the Overview page of the project's javadocs for a general description of this unit test class.
Lfsr.UnitTest() - Constructor for class bb.science.Lfsr.UnitTest
 
line - Static variable in class bb.io.ConsoleUtil
 
linearLeastSquaresFit(double[], double[]) - Static method in class bb.science.Math2
Given a series of 2D ordered pairs stored in the xValues and yValues arrays, that is, the points (xValues[0], yValues[0]), (xValues[1], yValues[1]), ..., this method determines the coefficients a and b of the linear fit y = a + bx as well as some of the fitness measures.
lineLength - Static variable in class bb.io.ConsoleUtil
 
lineNumber - Variable in class bb.io.ParseReader
Current line number.
lineNumberInitial_default - Static variable in class bb.io.ParseReader
 
LinePanel - Class in bb.gui
A Swing container that resembles the AWT container Box: it always lays out its Components in a single line (that can be either horizontal or vertical), and it does not allow the LayoutManager to be changed from what it was constructed with.
LinePanel(LinePanel.Axis, boolean) - Constructor for class bb.gui.LinePanel
Constructs a new LinePanel with the specified LinePanel.Axis and buffering strategy.
LinePanel.Axis - Enum in bb.gui
Enum of the possible orientations of the axis that components will be laid out along.
LinePanel.Axis() - Constructor for enum bb.gui.LinePanel.Axis
 
LinePanel.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
LinePanel.UnitTest() - Constructor for class bb.gui.LinePanel.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
lineStart(AtomicBoolean, boolean) - Method in class bb.util.ObjectState
 
lineTerminatorPattern - Static variable in class bb.util.StringUtil
A regex which matches Pattern's line terminators.
lineTerminators - Static variable in class bb.io.ParseReader.UnitTest
 
list - Variable in class bb.util.ListWithIndex
 
list - Variable in class bb.util.Unmodifiables.UnmodifiableList
 
listCommands() - Method in class bb.util.CommandLineInterface.Commands
 
listContents_key - Static variable in class bb.io.ZipUtil
 
listener - Variable in class bb.io.filefilter.BaseFilter
 
listeners - Variable in class bb.util.MemoryMonitor
Set of all MemoryMonitorListeners that are interested in memory events.
listeners - Variable in class bb.util.ThreadMonitor
Set of all ThreadMonitorListeners that are interested in thread events.
listIterator() - Method in class bb.util.Unmodifiables.UnmodifiableList
 
listIterator(int) - Method in class bb.util.Unmodifiables.UnmodifiableList
 
ListWithIndex - Class in bb.util
Contains an internal List, as well as keeps track of the current position (index) in the List.
ListWithIndex() - Constructor for class bb.util.ListWithIndex
 
loadClass(File, String) - Method in class bb.util.JUnitExecutor
 
loadFactor_default - Static variable in class bb.util.BidirectionalMap
 
loadFailures - Variable in class bb.util.JUnitExecutor.FindTestEvents
 
loadProperties() - Static method in class bb.util.logging.LogUtil
 
LocaleTimeZoneUtil - Class in bb.util
The original version of this class did Locale and TimeZone checking code for another project.
LocaleTimeZoneUtil() - Constructor for class bb.util.LocaleTimeZoneUtil
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
LocaleTimeZoneUtil.LocaleComparator - Class in bb.util
Imposes an ordering on Locales that is consistent with equals; see compare for details.
LocaleTimeZoneUtil.LocaleComparator() - Constructor for class bb.util.LocaleTimeZoneUtil.LocaleComparator
 
lock_DateInfo - Static variable in class bb.util.DateUtil
Object used for synchronization by the DateInfo code.
lockFirst - Variable in class bb.util.ThreadMeasurer.UnitTest.DoubleLockAquirer
 
lockSecond - Variable in class bb.util.ThreadMeasurer.UnitTest.DoubleLockAquirer
 
log(double, double) - Static method in class bb.science.Math2
Returns the logarithm of x in the supplied base.
log(Level, String, Throwable) - Method in class bb.util.Execute
 
log(LogRecord) - Method in class bb.util.logging.Logger2
Contract: should never throw any Throwable.
log10(double) - Static method in class bb.science.Math2
Returns the logarithm of x in base 10.
logDirectory - Static variable in class bb.util.logging.LogUtil
Directory where log files are to be stored.
logDirectory_key - Static variable in class bb.util.logging.LogUtil
 
logDirectory_valueDefault - Static variable in class bb.util.logging.LogUtil
 
logFile - Variable in class bb.util.UncaughtThrowableLogger.UnitTest
 
loggedMessages - Variable in class bb.util.logging.Logger2
Solely used (and lazy initialized) inside logIfNew to store messages known by this instance.
logger - Variable in class bb.io.StreamUtil.TransferProgressReporter
 
logger - Variable in class bb.net.Emailer.Listener
 
logger - Variable in class bb.util.Execute
 
logger - Variable in class bb.util.logging.Logger2
This class actually delegates all of its low-level logging work to this internal Logger instance.
logger - Variable in class bb.util.UncaughtThrowableLogger
Logger where all Throwables will get logged to.
logger - Variable in class bb.util.UncaughtThrowableLogger.UnitTest
 
Logger2 - Class in bb.util.logging
Subclass of Logger which adds this additional functionality: all logging methods log robustly (see Logger2.log(LogRecord) log) the logIfNew methods This class is multithread safe: every method which uses mutable state is synchronized.
Logger2(Logger) - Constructor for class bb.util.logging.Logger2
Constructs a new Logger2 which ultimately defers to Logger2.logger for all of its work.
logger2 - Variable in class bb.util.MemoryMonitor
Logger2 where certain information (e.g. otherwise unhandleable errors) gets written to.
logger2 - Variable in class bb.util.MemoryMonitorListenerImpl
 
logger2 - Variable in class bb.util.Properties2
 
logger2 - Variable in class bb.util.ThreadMonitor
Logger where certain information (e.g. otherwise unhandleable errors) gets written to.
Logger2.UnitTest - Class in bb.util.logging
See the Overview page of the project's javadocs for a general description of this unit test class.
Logger2.UnitTest() - Constructor for class bb.util.logging.Logger2.UnitTest
 
Logger2.UnitTest.LogRecordCrashes - Class in bb.util.logging
 
Logger2.UnitTest.LogRecordCrashes(Level, String) - Constructor for class bb.util.logging.Logger2.UnitTest.LogRecordCrashes
 
logger2_default - Static variable in class bb.util.logging.LogUtil
A default Logger2 instance that any user of this class may draw on via getLogger2 if they do not want to bother creating their own Logger.
logicMode - Variable in class bb.io.filefilter.CompoundFilter
 
logIfNew(Level, String, String, String) - Method in class bb.util.logging.Logger2
Simply calls logIfNew(level, sourceClass, sourceMethod, message, (Object[]) null).
logIfNew(Level, String, String, String, Object) - Method in class bb.util.logging.Logger2
Simply calls logIfNew(level, sourceClass, sourceMethod, message, new Object[] {parameter}).
logIfNew(Level, String, String, String, Object[]) - Method in class bb.util.logging.Logger2
This method only logs the information if it produces a message which is unknown by this class.
logProblem(Throwable) - Method in class bb.util.Execute
Contract: should never throw any Throwable, since may be implicitly used in a finally clause.
logStart() - Method in class bb.util.Execute
 
logStop(long) - Method in class bb.util.Execute
Contract: should never throw any Throwable, since will be used in a finally clause.
LogUtil - Class in bb.util.logging
Provides static constants and utility methods relating to the java.util.logging package.
LogUtil() - Constructor for class bb.util.logging.LogUtil
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
LogUtil.NodeProp - Class in bb.util.logging
 
LogUtil.NodeProp() - Constructor for class bb.util.logging.LogUtil.NodeProp
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
LogUtil.UnitTest - Class in bb.util.logging
See the Overview page of the project's javadocs for a general description of this unit test class.
LogUtil.UnitTest() - Constructor for class bb.util.logging.LogUtil.UnitTest
 
long_1 - Static variable in class bb.util.ObjectState.UnitTest.SuperClass
 
long_2 - Static variable in class bb.util.ObjectState.UnitTest.SubClass
 
lookAndFeel_default - Static variable in class bb.gui.LookAndFeelDialog
 
lookAndFeelClassnames - Static variable in class bb.gui.LookAndFeelUtil
This array lists all the Look and Feel fully qualified classnames that are available on the current system.
LookAndFeelDialog - Class in bb.gui
Subclass of JDialog that allows the user to choose the Swing Look and Feel.
LookAndFeelDialog(Frame, boolean, Component) - Constructor for class bb.gui.LookAndFeelDialog
Constructs a new LookAndFeelDialog instance.
LookAndFeelDialog.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
LookAndFeelDialog.UnitTest() - Constructor for class bb.gui.LookAndFeelDialog.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
lookAndFeels - Static variable in class bb.gui.LookAndFeelUtil
This array lists all the Look and Feel names that are available on the current system.
LookAndFeelUtil - Class in bb.gui
This class implements some constants and utilty methods for Swing's Look and Feel functionality.
LookAndFeelUtil() - Constructor for class bb.gui.LookAndFeelUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
lower - Variable in class bb.science.Bootstrap.Estimate
Is the lower bound (start of the confidence interval) of the estimate.
lower(E) - Method in class bb.util.Collections2.UnmodifiableNavigableSet
 

M

m - Variable in class bb.util.Unmodifiables.UnmodifiableMap
 
MagicPacket - Class in bb.net
This class can create and send a "magic packet" to wake up another computer over the network (aka WOL).
MagicPacket() - Constructor for class bb.net.MagicPacket
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
MagicPacket.UnitTest - Class in bb.net
See the Overview page of the project's javadocs for a general description of this unit test class.
MagicPacket.UnitTest() - Constructor for class bb.net.MagicPacket.UnitTest
 
magicPacketData(EthernetMacAddress) - Static method in class bb.net.MagicPacket
 
magnitude(double) - Static method in class bb.science.Math2
Returns the magnitude of x in a decimal (i.e. power of 10) scale.
magnitudeExactMax - Static variable in class bb.util.NumberUtil
 
magnitudesExact - Static variable in class bb.util.NumberUtil
All the positive powers of 10 that can be represented exactly as a double.
mailDebug_default - Static variable in class bb.net.Emailer
Default value for the "mail.debug" or "mail.smtp.debug" property.
mailtoProtocol - Static variable in class bb.net.UrlUtil
 
main(String[]) - Static method in class bb.gui.BasicStrokeSerializer.UnitTest
Tests the parent class.
main(String[]) - Static method in class bb.gui.DialogInputSecure.UnitTest
Tests the parent class.
main(String[]) - Static method in class bb.gui.Displayer.UnitTest
 
main(String[]) - Static method in class bb.gui.DocumentLimitedLength.UnitTest
Tests the parent class.
main(String[]) - Static method in class bb.gui.FontUtil.UnitTest
Tests the parent class.
main(String[]) - Static method in class bb.gui.GraphicsLabel.UnitTest
 
main(String[]) - Static method in class bb.gui.GroupLayout2.UnitTest
 
main(String[]) - Static method in class bb.gui.LinePanel.UnitTest
 
main(String[]) - Static method in class bb.gui.LookAndFeelDialog.UnitTest
 
main(String[]) - Static method in class bb.gui.MessageDialog.UnitTest
 
main(String[]) - Static method in class bb.gui.RectangleCanvas.UnitTest
 
main(String[]) - Static method in class bb.gui.ScreenShot.UnitTest
 
main(String[]) - Static method in class bb.gui.Sounds.UnitTest
 
main(String[]) - Static method in class bb.gui.SoundUtil
 
main(String[]) - Static method in class bb.gui.SoundUtil.UnitTest
Tests the parent class.
main(String[]) - Static method in class bb.gui.SwingUtil.UnitTest
 
main(String[]) - Static method in class bb.gui.ThrowableDialog.UnitTest
 
main(String[]) - Static method in class bb.io.ConsoleUtil.UnitTest
Tests the parent class.
main(String[]) - Static method in class bb.io.EncryptUtil
Encrypts or decrypts a target File into a destination file.
main(String[]) - Static method in class bb.io.TarUtil
May be used either to archive to or extract from a TAR file.
main(String[]) - Static method in class bb.io.ZipUtil
May be used either to list the contents of, archive to, or extract from a ZIP file.
main(String[]) - Static method in class bb.util.CommandLineInterface
 
main(String[]) - Static method in class bb.util.Execute.UnitTest
 
main(String[]) - Static method in class bb.util.JUnitExecutor
Creates a new JUnitExecutor instance and calls its run method.
main(String[]) - Static method in class bb.util.LocaleTimeZoneUtil
Performs the default Locale and TimeZone checks.
main(String[]) - Static method in class bb.util.logging.HandlerAudio.UnitTest
 
main(String[]) - Static method in class bb.util.logging.HandlerConsole.UnitTest
 
main(String[]) - Static method in class bb.util.logging.HandlerEmail.UnitTest
 
main(String[]) - Static method in class bb.util.logging.HandlerGui.UnitTest
 
main(String[]) - Static method in class bb.util.PreferencesUtil
Executes resetPreferences.
main(String[]) - Static method in class d.g.UnitTest
 
make(String, Point2D, Point2D, Graphics2D) - Static method in class bb.gui.GraphicsLabel
Fundamental factory method, called by many of the others.
make(File) - Static method in class bb.net.Emailer
Returns make( new Properties2(file) ).
make(Properties2) - Static method in class bb.net.Emailer
Inspects the value of the "mail.transport.protocol" key in properties (which must be defined), and then returns the result of calling the appropriate makeXXX method (e.g.
make(double[], double, double) - Static method in class bb.science.Bins.Intervals
Specifies that minimal set of intervals which satisifes these conditions: every element of values is inside one of the intervals every interval in the set has the same size, equal to the width param every interval's boundary points are separated from offset by an integral multiple of width.
make(double[], int) - Static method in class bb.science.Bins.Intervals
Specifies that set of intervals which satisifes these conditions: every element of values is inside one of the intervals the number of intervals in the set equals the number param the left (starting) boundary of the leftmost (smallest) interval equals the minimum element of values the right (ending) boundary of the rightmost (largest) interval equals the maximum element of values This method finds the min and max elements of values, which it uses for Bins.Intervals.begin and Bins.Intervals.end.
makeAbove(String, Point2D, double, Graphics2D) - Static method in class bb.gui.GraphicsLabel
Convenience factory method which returns a new GraphicsLabel instance which is above anchorPoint.
makeAnd(FileFilter...) - Static method in class bb.io.filefilter.CompoundFilter
Returns a new CompoundFilter instance that connects the elements of filters via logical AND.
makeArchiveFile(String) - Static method in class bb.io.ZipUtil.UnitTest
Result is always a temporary file that initially contains no data.
makeBelow(String, Point2D, double, Graphics2D) - Static method in class bb.gui.GraphicsLabel
Convenience factory method which returns a new GraphicsLabel instance which is below anchorPoint.
makeCenter(String, Point2D, Graphics2D) - Static method in class bb.gui.GraphicsLabel
Convenience factory method which returns a new GraphicsLabel instance which is centered on anchorPoint.
makeDataFile(File, long) - Static method in class bb.io.ZipUtil.UnitTest
Result is always a temporary file of the specified length (its data consists of the Latin alphabet continuously repeated).
makeDateFormatPerThread(String, boolean) - Static method in class bb.util.DateUtil.DateStringCache
 
makeDirectory(String) - Static method in class bb.io.ZipUtil.UnitTest
Result is always a directory located inside ZipUtil.UnitTest.root, with the specified name, that does not currently exist (hence, contains no data).
makeFail() - Method in class bb.util.ThreadMonitor.UnitTest.ListenerTest
 
makeFail() - Method in class bb.util.ThreadMonitor.UnitTest.ThreadMeasurerTest
 
makeFile() - Method in class bb.util.MemoryMonitorListenerImpl
 
makeFilterWithListener(FileFilter, FileFilterListener) - Static method in class bb.io.filefilter.FilterUtil
Returns a new java.io.FileFilter which delegates all filtering to filter.
makeFilterWithListener(FileFilter, FileFilterListener) - Static method in class bb.io.filefilter.FilterUtil
Same as FilterUtil.makeFilterWithListener(java.io.FileFilter, FileFilterListener) except that uses javax.swing.filechooser.FileFilter.
makeFocusListener(JTextComponent) - Static method in class bb.gui.TextFieldSecure.CaretSecure
Because this instance's caret is invisible, it is important to give the user some visual cue when the JTextComponent it is part of has keyboard focus.
makeForSmtpSsl(Properties2) - Static method in class bb.net.Emailer
Creates a new instance that is configured to use SMTP with SSL.
makeHorizontal() - Static method in class bb.gui.LinePanel
Returns a new LinePanel with a horizontal GroupLayout layout manager and a double buffer.
makeInputStream() - Method in class bb.io.StreamDrainerForwarding.UnitTest
 
makeLeft(String, Point2D, double, Graphics2D) - Static method in class bb.gui.GraphicsLabel
Convenience factory method which returns a new GraphicsLabel instance to the left of anchorPoint.
makeLogFile(String) - Static method in class bb.util.logging.LogUtil
Returns a new File instance which points to a location inside the log directory.
makeLogger2(Class) - Static method in class bb.util.logging.LogUtil
Returns makeLogger2(c, null) ).
makeLogger2(Class, String) - Static method in class bb.util.logging.LogUtil
Returns makeLogger2( getName(c, suffix) ).
makeLogger2(String) - Static method in class bb.util.logging.LogUtil
Returns makeLogger2( name, null ).
makeLogger2(String, String) - Static method in class bb.util.logging.LogUtil
Returns a new Logger2 created by a call to Logger2.getLogger2(name, resourceBundleName).
makeLogWriter(String) - Static method in class bb.util.logging.LogUtil
Returns makeLogWriter(prefix, false) (i.e. no auto flushing).
makeLogWriter(String, boolean) - Static method in class bb.util.logging.LogUtil
Returns makeLogWriter(LogUtil.logDirectory, prefix, autoFlush) (i.e. the default log directory is used).
makeLogWriter(File, String, boolean) - Static method in class bb.util.logging.LogUtil
Returns a new PrintWriter that ultimately writes to a file located in directory.
makeMask(int) - Static method in class bb.science.Lfsr
Returns an int with all the n low order bits set to 1 and all the high order bits set to 0.
makeOffsetCenter(String, Point2D, double, double, Graphics2D) - Static method in class bb.gui.GraphicsLabel
Convenience factory method which returns a new GraphicsLabel instance whose center is offset from anchorPoint.
makeOffsetCorner(String, Point2D, double, double, Graphics2D) - Static method in class bb.gui.GraphicsLabel
Convenience factory method which returns a new GraphicsLabel instance whose corner is offset from anchorPoint.
makeOr(FileFilter...) - Static method in class bb.io.filefilter.CompoundFilter
Returns a new CompoundFilter instance that connects the elements of filters via logical OR.
makeRight(String, Point2D, double, Graphics2D) - Static method in class bb.gui.GraphicsLabel
Convenience factory method which returns a new GraphicsLabel instance to the right of anchorPoint.
makeRight(String, GraphicsLabel, double, Graphics2D) - Static method in class bb.gui.GraphicsLabel
Convenience factory method which returns a new GraphicsLabel instance to the right of labelExisting.
makeSeed() - Static method in class bb.util.RandomUtil
This method first attempts to generate a high quality seed by calling makeSeedSecure.
makeSeedNext(int) - Static method in class bb.science.Lfsr
Returns the next seed suitable for an LFSR of size n.
makeSeedRandom(int) - Static method in class bb.science.Lfsr
Returns a pseudo-random seed suitable for an LFSR of size n.
makeSeedSecure() - Static method in class bb.util.RandomUtil
Returns makeSeedSecure("SHA1PRNG").
makeSeedSecure(String) - Static method in class bb.util.RandomUtil
Returns makeSeedSecure( SecureRandom.getInstance(algorithm) ).
makeSeedSecure(String, String) - Static method in class bb.util.RandomUtil
Returns makeSeedSecure( SecureRandom.getInstance(algorithm, provider) ).
makeSeedSecure(SecureRandom) - Static method in class bb.util.RandomUtil
Returns NumberUtil.bytesBigEndianToLong( random.generateSeed(8) ).
makeSeedUnique() - Static method in class bb.util.RandomUtil
This seed value generating function attempts to satisfy these goals: return a unique result for each call of this method return a unique series of results for each different JVM invocation return results which are uniformly spread around the range of all possible long values It uses the following techniques: an internal serial id field is incremented upon each call, so each call is guaranteed a different value; this field determines the high order bits of the result each call uses the result of System.nanoTime to determine the low order bits of the result; this should be different each time the JVM is run (assuming that the system time is different) a hash algorithm is applied to the above numbers before putting them into the high and low order parts of the result Warnings: the uniqueness goals cannot be guaranteed because the hash algorithm, while it is of high quality, is not guaranteed to be a 1-1 function (i.e. 2 different input ints might get mapped to the same output int).
makeTaps(int) - Static method in class bb.science.Lfsr
Returns an int which can function as the taps of n order maximal LFSR.
makeTestDirectoryTree() - Static method in class bb.io.DirUtil.UnitTest
 
makeTestString(int) - Static method in class bb.io.ParseReader.UnitTest
Make a test String which has the property that every line consists of the line number's characters followed by a line termination sequence determined by the getNthLineTerminator method.
makeTitle() - Method in class d.g.ObjectStateDisplay
 
makeVertical() - Static method in class bb.gui.LinePanel
Returns a new LinePanel with a vertical GroupLayout layout manager and a double buffer.
makeWriter() - Method in class bb.io.FileRollingWriter
 
malformedAddresses - Static variable in class bb.net.Emailer.UnitTest
 
manyExecutions - Variable in class bb.util.Benchmark.Params
Specifies whether or not many executions of Benchmark.task should be performed (as opposed to executing it just once).
map - Variable in class bb.util.BidirectionalMap
 
map - Variable in class bb.util.ConcurrentHashSet
 
mark(int) - Method in class bb.io.ParseReader
Mark the present position in the stream.
markSupported() - Method in class bb.io.ParseReader
Tell whether this stream supports the mark() operation.
mask - Variable in class bb.science.Lfsr
 
matches(char, char, boolean) - Static method in class bb.util.CharUtil
Determines whether or not c1 and c2 are matching char values.
matches(String, Set<Pattern>) - Method in class bb.util.JUnitExecutor.PcmFilter
 
matchingFiles - Static variable in class bb.io.filefilter.CompoundFilter.UnitTest
 
Math2 - Class in bb.science
This class offers additional static mathematical methods beyond the ones offered in Math.
Math2() - Constructor for class bb.science.Math2
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
Math2.UnitTest - Class in bb.science
See the Overview page of the project's javadocs for a general description of this unit test class.
Math2.UnitTest() - Constructor for class bb.science.Math2.UnitTest
 
max(double[]) - Static method in class bb.science.Math2
Returns the maximum element of numbers.
max - Variable in class bb.science.StatsOverTime.Stats
 
max - Variable in class bb.util.MemoryState
Maximum amount of memory that could be used by the JVM.
max(double, double) - Static method in class bb.util.NumberUtil
Returns the maximum value of d1 and d2.
maxAscii - Static variable in class bb.util.CharUtil
The maximum (int) value that a valid US-ASCII (i.e. 7 bit) char can have.
maxBackupPerPoolThread_default - Static variable in class bb.util.ThreadPoolExecutor2
Default value for the maxBackupPerPoolThread param that can be passed to the fundamental constructor.
maxChar - Static variable in class bb.util.CharUtil
The maximum (int) value that a valid Java char can have.
maxCharsPerLine - Static variable in class bb.io.ConsoleUtil
Maximum number of chars that will appear on a line of console output.
maximizeWindow(Window) - Static method in class bb.gui.SwingUtil
Sets the location and size of window so as to maximize its area.
maxRestoreJvmLoops - Static variable in class bb.util.MemoryMeasurer
Specifies the maximum number of loops that restoreJvm will execute.
maxTransverse - Variable in class bb.gui.Strut
Stores the maximum transverse (i.e. perpendicular direction) extent of this strut.
mean(double[]) - Static method in class bb.science.Math2
Returns the arithmetic mean of numbers.
mean - Variable in class bb.science.StatsOverTime.Stats
 
mean - Variable in class bb.util.Benchmark.Stats
Arithmetic mean of the execution time.
meanLower - Variable in class bb.util.Benchmark.Stats
Lower bound for Benchmark.Stats.mean's confidence interval.
meanUpper - Variable in class bb.util.Benchmark.Stats
Upper bound for the Benchmark.Stats.mean's confidence interval.
measure(long) - Method in class bb.util.Benchmark
Measures the execution time of n calls of Benchmark.task.
measureCpuTime - Variable in class bb.util.Benchmark.Params
Specifies whether or not the execution time is measured as CPU time or elapsed ("wall clock") time.
measurements - Variable in class bb.util.Benchmark
If Benchmark.params.
measurer - Variable in class bb.util.MemoryMeasurer.UnitTest.MemoryFiller
 
measurer - Variable in class bb.util.MemoryMonitor.MonitorTask
MemoryMeasurer used to measure the memory state.
measurer - Variable in class bb.util.ThreadMonitor.MonitorTask
ThreadMeasurer used to measure the thread state.
median(double[]) - Static method in class bb.science.Math2
Returns the median element of numbers.
median - Variable in class bb.science.StatsOverTime.Stats
 
mega - Static variable in class bb.science.Prefix
Models the SI prefix for 106, the mega.
memoryLow - Variable in class bb.util.MemoryMonitor
Records whether or not low memory has been detected.
memoryLowTrigger - Variable in class bb.util.MemoryMonitor.MonitorTask
If the ratio of the available memory to the maximum memory falls below this value, the low memory state is triggered.
memoryLowTrigger_default - Static variable in class bb.util.MemoryMonitor
A default value for the memoryLowTrigger arg to the MemoryMonitor constructor (which is subsequently assigned to the MemoryMonitor.MonitorTask.memoryLowTrigger field).
MemoryMeasurer - Class in bb.util
Class which measures memory state in a JVM.
MemoryMeasurer() - Constructor for class bb.util.MemoryMeasurer
Calls this(false).
MemoryMeasurer(boolean) - Constructor for class bb.util.MemoryMeasurer
Fundamental constructor.
MemoryMeasurer.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
MemoryMeasurer.UnitTest() - Constructor for class bb.util.MemoryMeasurer.UnitTest
 
MemoryMeasurer.UnitTest.MemoryFiller - Class in bb.util
Class which attempts to fill up memory to a specified point.
MemoryMeasurer.UnitTest.MemoryFiller(double, MemoryMeasurer) - Constructor for class bb.util.MemoryMeasurer.UnitTest.MemoryFiller
Returns this(fillPoint, MemoryMeasurer.UnitTest.MemoryFiller.interval_default, measurer).
MemoryMeasurer.UnitTest.MemoryFiller(double, long, MemoryMeasurer) - Constructor for class bb.util.MemoryMeasurer.UnitTest.MemoryFiller
Fundamental constructor.
MemoryMonitor - Class in bb.util
Class which actively monitors the memory state of a JVM looking for issues.
MemoryMonitor() - Constructor for class bb.util.MemoryMonitor
Simply calls this(MemoryMonitor.callRestoreJvm_default, MemoryMonitor.interval_default).
MemoryMonitor(boolean, long) - Constructor for class bb.util.MemoryMonitor
Simply calls this(new MemoryMeasurer.MemoryMeasurer(), MemoryMonitor.memoryLowTrigger_default, interval).
MemoryMonitor(MemoryMeasurer, double, long) - Constructor for class bb.util.MemoryMonitor
Constructor.
MemoryMonitor.MonitorTask - Class in bb.util
Class which detects memory issues and calls the appropriate fireXXX event notification method.
MemoryMonitor.MonitorTask(MemoryMeasurer, double) - Constructor for class bb.util.MemoryMonitor.MonitorTask
Constructor.
MemoryMonitor.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
MemoryMonitor.UnitTest() - Constructor for class bb.util.MemoryMonitor.UnitTest
 
MemoryMonitor.UnitTest.ListenerTest - Class in bb.util
Simple subclass of MemoryMonitorListenerImpl which can be interrogated to see if events have occured.
MemoryMonitor.UnitTest.ListenerTest() - Constructor for class bb.util.MemoryMonitor.UnitTest.ListenerTest
 
MemoryMonitorListener - Interface in bb.util
Interface for receiving events from MemoryMonitor.
MemoryMonitorListenerImpl - Class in bb.util
Simple implementation of MemoryMonitorListener which logs most events to its own internal Logger.
MemoryMonitorListenerImpl() - Constructor for class bb.util.MemoryMonitorListenerImpl
 
MemoryState - Class in bb.util
Class which records data describing the memory state of a JVM.
MemoryState(long, long, long) - Constructor for class bb.util.MemoryState
Constructor.
MemoryState.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
MemoryState.UnitTest() - Constructor for class bb.util.MemoryState.UnitTest
 
memoryUsed() - Static method in class bb.util.MemoryMeasurer
Returns how much memory on the heap is currently being used.
message - Variable in class bb.gui.ThrowableDialog
 
message - Static variable in class bb.gui.ThrowableDialog.UnitTest.TestDialog
 
message - Variable in class bb.util.logging.FormatterFull.Parser.LogRecordData
 
messageDelivered(TransportEvent) - Method in class bb.net.Emailer.Listener
 
MessageDialog - Class in bb.gui
Subclass of Dialog which displays a title & message(s), as well as an "OK" button.
MessageDialog(Window, String, Dialog.ModalityType, String...) - Constructor for class bb.gui.MessageDialog
Calls super(owner, title, modal), then adds each message in the array as a separate Label and an "OK" Button on the bottom, then shows this instance.
MessageDialog.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
MessageDialog.UnitTest() - Constructor for class bb.gui.MessageDialog.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
messageNotDelivered(TransportEvent) - Method in class bb.net.Emailer.Listener
 
messagePartiallyDelivered(TransportEvent) - Method in class bb.net.Emailer.Listener
 
meter - Static variable in class bb.science.Unit
Models the SI base unit of length, the meter.
methodCalling - Variable in class bb.util.Execute
 
methodName - Variable in class bb.util.Execute.Caller
 
methodName - Variable in class bb.util.JUnitExecutor.DescriptionFields
 
methodName - Variable in class bb.util.JUnitExecutor.RunListenerAbstract
 
methodName - Variable in class bb.util.logging.FormatterFull.Parser.LogRecordData
 
methodReqs - Variable in class bb.util.JUnitExecutor.PcmFilter
 
methods_key - Static variable in class bb.util.JUnitExecutor
 
micro - Static variable in class bb.science.Prefix
Models the SI prefix for 10-6, the micro.
milli - Static variable in class bb.science.Prefix
Models the SI prefix for 10-3, the milli.
millis - Variable in class bb.util.logging.FormatterFull.Parser.LogRecordData
 
min(double[]) - Static method in class bb.science.Math2
Returns the minimum element of numbers.
min - Variable in class bb.science.StatsOverTime.Stats
 
min(double, double) - Static method in class bb.util.NumberUtil
Returns the minimum value of d1 and d2.
minAscii - Static variable in class bb.util.CharUtil
The minimum (int) value that a valid US-ASCII (i.e. 7 bit) char can have.
minChar - Static variable in class bb.util.CharUtil
The minimum (int) value that a valid Java char can have.
minDigitsInSeriesNumber - Variable in class bb.io.FileRollingWriter
If > 0, specifies the minimum number of digits that must appear in each filename's series number (leading zeroes will be appended to a given number if necessary to make it achieve this length).
minimumNonDuplicateTimeDifference - Variable in class bb.gui.DuplicateEventActionListener
 
minMax(double[]) - Static method in class bb.science.Math2
Returns both the minimum and maximum element of numbers.
minTransverse - Variable in class bb.gui.Strut
Stores the minimum transverse (i.e. perpendicular direction) extent of this strut.
minusSign - Static variable in class bb.util.NumberUtil
 
minute - Static variable in class bb.util.TimeLength
Length of 1 minute in milliseconds.
MiscFactory - Class in bb.misc
Offers a public hook for classes outside this package (e.g.
MiscFactory() - Constructor for class bb.misc.MiscFactory
 
miterlimit - Variable in class bb.gui.BasicStrokeSerializer
 
modal - Variable in class bb.gui.DialogInputSecure.DialogTask
 
modulo(int, int) - Static method in class bb.science.Math2
Returns a mod b.
mole - Static variable in class bb.science.Unit
Models the SI base unit of amount of substance, the mole.
monitorTask - Variable in class bb.util.MemoryMonitor
MemoryMonitor.MonitorTask used to measure the memory state.
monitorTask - Variable in class bb.util.ThreadMonitor
ThreadMonitor.MonitorTask used to measure the thread state.
month - Variable in class bb.util.DateUtil.DateInfo
 
month - Static variable in class bb.util.TimeLength
Length of a standard month (i.e. exactly 30 TimeLength.days) in milliseconds.
monthStart - Variable in class bb.util.DateUtil.DateInfo
 
MouseUtil - Class in bb.gui
This class provides static utility methods that deal with MouseEvents.
MouseUtil() - Constructor for class bb.gui.MouseUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
move(File, File) - Static method in class bb.io.FileUtil
Moves file into directory.
msgsSuppressed - Static variable in class bb.util.logging.FilterMsgSuppress
Stores all the message substrings which identify messages to be suppressed.

N

n - Variable in class bb.science.Lfsr
 
n - Variable in class bb.science.Samples
Stores the number of data values recorded by this instance.
n - Variable in class bb.util.RandomUtil.UnitTest.SingleThread_MersenneTwisterFast
 
n - Variable in class bb.util.RandomUtil.UnitTest.SingleThread_RandomPerThread
 
name - Variable in class bb.science.Prefix
The full name of the prefix (e.g. milli, kilo, mega etc).
name - Variable in class bb.science.Unit
The full name of the unit (e.g. meter, gram).
nameToClassname - Static variable in class bb.gui.LookAndFeelUtil
This Map correlates lookAndFeels to lookAndFeelClassnames.
nameToNodeProps - Static variable in class bb.util.logging.LogUtil
 
naN(float) - Method in class bb.util.Check
Checks that value is NaN.
naN(double) - Method in class bb.util.Check
Checks that value is NaN.
nano - Static variable in class bb.science.Prefix
Models the SI prefix for 10-9, the nano.
nanText - Static variable in class bb.util.NumberUtil
 
nCharsTillRollover - Variable in class bb.io.FileRollingWriter
Maximum number of chars already written to the current rollover file that will allow before closing this file and start writing to a new one.
nCharsWritten - Variable in class bb.io.FileRollingWriter
 
nDigitsIntMax - Static variable in class bb.util.NumberUtil
If an int is written using decimal digits, this field records the maximum number of digits that could be present.
nDigitsLongMax - Static variable in class bb.util.NumberUtil
If a long is written using decimal digits, this field records the maximum number of digits that could be present.
nDigitsMantissaMax - Static variable in class bb.util.NumberUtil
If the mantissa of a double is written as a (positive) integer using decimal digits, this field records the maximum number of digits that could be present.
needsJUnitTests(Class) - Method in class bb.util.JUnitExecutor
 
needsLineEnd(String) - Method in class bb.util.OsUtil.ExecTask
Returns a newline if msg does not end in one, otherwise returns blank.
needsTests(Class) - Method in class bb.util.JUnitExecutor.FindTestEvents
 
negative(byte) - Method in class bb.util.Check
Checks that value is strictly negative (i.e. value < 0).
negative(short) - Method in class bb.util.Check
Checks that value is strictly negative (i.e. value < 0).
negative(int) - Method in class bb.util.Check
Checks that value is strictly negative (i.e. value < 0).
negative(long) - Method in class bb.util.Check
Checks that value is strictly negative (i.e. value < 0).
negative(float) - Method in class bb.util.Check
Checks that value is strictly negative (i.e. value < 0).
negative(double) - Method in class bb.util.Check
Checks that value is strictly negative (i.e. value < 0).
negativeInfinityText - Static variable in class bb.util.NumberUtil
 
NetUtil - Class in bb.net
Provides static utility methods that deal with networking.
NetUtil() - Constructor for class bb.net.NetUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
NetUtil.UnitTest - Class in bb.net
See the Overview page of the project's javadocs for a general description of this unit test class.
NetUtil.UnitTest() - Constructor for class bb.net.NetUtil.UnitTest
 
NetUtil.UnitTest.ServerSocketConnector - Class in bb.net
Creates a normal client Socket to NetUtil.UnitTest.ServerSocketConnector.serverSocket, and then waits until stopWaiting is called.
NetUtil.UnitTest.ServerSocketConnector(ServerSocket) - Constructor for class bb.net.NetUtil.UnitTest.ServerSocketConnector
 
newConnection() - Static method in class bb.jdbc.DBConnManager
Returns a newly constructed Connection instance.
newline - Static variable in class bb.util.StringUtil
Platform's standard for the char sequence that should separate lines.
newString(String) - Static method in class bb.util.StringUtil
Immediately returns null if s == null.
next() - Method in class bb.util.logging.FormatterFull.Parser
This method assumes that either an entrySeparator has previously been read from in, so that data for a LogRecord is next, or that end of stream has been encountered.
nextCharNewline(String, int) - Static method in class bb.util.StringUtil
 
nextFileCount() - Method in class bb.io.FileRollingWriter
Finds any previously written files inside FileRollingWriter.directory that both start with FileRollingWriter.filePrefix and end with FileRollingWriter.fileSuffix, and then returns the next available file count.
nextLoggerId - Variable in class bb.util.MemoryMonitor
The next MemoryMonitor.logger2's Id.
nextLoggerId - Variable in class bb.util.ThreadMonitor
The next ThreadMonitor.logger2's Id.
nextRandomWithMagnitude(int) - Static method in class bb.science.Math2
Returns a number with the specified magnitude but random coefficient.
nextRootName(File) - Static method in class bb.io.FileParent
 
nextTimerId - Variable in class bb.util.MemoryMonitor
The next MemoryMonitor.timer value's Id.
nextTimerId - Variable in class bb.util.ThreadMonitor
The next ThreadMonitor.timer value's Id.
noArgParameters - Static variable in class bb.util.ReflectUtil
An empty Object[] that caches the parameter used by ReflectUtil.callLogError(Object, String).
noArgSignature - Static variable in class bb.util.ReflectUtil
An empty Class[] that caches the signature used by ReflectUtil.callLogError(Object, String).
noiseMap - Static variable in class bb.util.Benchmark
Maps a Params instance to the block statistics that result from benchmarking Benchmark.noiseTask.
noiseTask - Static variable in class bb.util.Benchmark
Task used to estimate the execution time noise floor.
nondataLinePattern - Variable in class bb.io.FileParser
 
nonmatchingFiles - Static variable in class bb.io.filefilter.CompoundFilter.UnitTest
 
normal(float) - Method in class bb.util.Check
Checks that value is "normal", which is defined as it passing all these tests: is not NaN is not infinite
normal(double) - Method in class bb.util.Check
Checks that value is "normal", which is defined as it passing all these tests: is not NaN is not infinite
NormalFileFilter - Class in bb.io.filefilter
File filter that accepts files.
NormalFileFilter() - Constructor for class bb.io.filefilter.NormalFileFilter
Constructs a new NormalFileFilter instance.
normalizationErrorTolerance_default - Static variable in class bb.science.Math2
A default value for the errorTolerance param of the normalize method.
normalizationSum(double[]) - Static method in class bb.science.Math2
Returns the sum of every element of numbers, which is also the normalization factor for numbers.
normalize(double[]) - Static method in class bb.science.Math2
Simply calls normalize(numbers, Math2.normalizationErrorTolerance_default).
normalize(double[], double) - Static method in class bb.science.Math2
Normalizes numbers, that is, divides each element by that constant factor which causes the sum of (the new values of) numbers to equal 1.
normalizeWhitespace(String) - Static method in class bb.util.StringUtil
Performs whitespace normalization, as per the XML spec.
normalNegative(float) - Method in class bb.util.Check
Checks that value is normal and negative.
normalNegative(double) - Method in class bb.util.Check
Checks that value is normal and negative.
normalNotNegative(float) - Method in class bb.util.Check
Checks that value is normal and not negative.
normalNotNegative(double) - Method in class bb.util.Check
Checks that value is normal and not negative.
normalNotPositive(float) - Method in class bb.util.Check
Checks that value is normal and not positive.
normalNotPositive(double) - Method in class bb.util.Check
Checks that value is normal and not positive.
normalPositive(float) - Method in class bb.util.Check
Checks that value is normal and positive.
normalPositive(double) - Method in class bb.util.Check
Checks that value is normal and positive.
notBlank(String) - Method in class bb.util.Check
Checks that s is not "blank".
notEmpty(boolean[]) - Method in class bb.util.Check
Checks that array is not empty (i.e. is not null and array.length > 0).
notEmpty(byte[]) - Method in class bb.util.Check
Checks that array is not empty (i.e. is not null and array.length > 0).
notEmpty(short[]) - Method in class bb.util.Check
Checks that array is not empty (i.e. is not null and array.length > 0).
notEmpty(char[]) - Method in class bb.util.Check
Checks that array is not empty (i.e. is not null and array.length > 0).
notEmpty(int[]) - Method in class bb.util.Check
Checks that array is not empty (i.e. is not null and array.length > 0).
notEmpty(long[]) - Method in class bb.util.Check
Checks that array is not empty (i.e. is not null and array.length > 0).
notEmpty(float[]) - Method in class bb.util.Check
Checks that array is not empty (i.e. is not null and array.length > 0).
notEmpty(double[]) - Method in class bb.util.Check
Checks that array is not empty (i.e. is not null and array.length > 0).
notEmpty(T[]) - Method in class bb.util.Check
Checks that array is not empty (i.e. is not null and array.length > 0).
notEmpty(Collection<T>) - Method in class bb.util.Check
Checks that collection is not empty (i.e. is not null and collection.size() > 0).
notEmpty(Map<K, V>) - Method in class bb.util.Check
Checks that map is not empty (i.e. is not null and map.size() > 0).
notInfinite(float) - Method in class bb.util.Check
Checks that value is not infinite.
notInfinite(double) - Method in class bb.util.Check
Checks that value is not infinite.
notNaN(float) - Method in class bb.util.Check
Checks that value is not NaN.
notNaN(double) - Method in class bb.util.Check
Checks that value is not NaN.
notNegative(byte) - Method in class bb.util.Check
Checks that value is not strictly negative (i.e. value >= 0).
notNegative(short) - Method in class bb.util.Check
Checks that value is not strictly negative (i.e. value >= 0).
notNegative(int) - Method in class bb.util.Check
Checks that value is not strictly negative (i.e. value >= 0).
notNegative(long) - Method in class bb.util.Check
Checks that value is not strictly negative (i.e. value >= 0).
notNegative(float) - Method in class bb.util.Check
Checks that value is not strictly negative (i.e. value >= 0).
notNegative(double) - Method in class bb.util.Check
Checks that value is not strictly negative (i.e. value >= 0).
notNull(Object) - Method in class bb.util.Check
Checks that obj is not null.
notPositive(byte) - Method in class bb.util.Check
Checks that value is not strictly positive (i.e. value <= 0).
notPositive(short) - Method in class bb.util.Check
Checks that value is not strictly positive (i.e. value <= 0).
notPositive(int) - Method in class bb.util.Check
Checks that value is not strictly positive (i.e. value <= 0).
notPositive(long) - Method in class bb.util.Check
Checks that value is not strictly positive (i.e. value <= 0).
notPositive(float) - Method in class bb.util.Check
Checks that value is not strictly positive (i.e. value <= 0).
notPositive(double) - Method in class bb.util.Check
Checks that value is not strictly positive (i.e. value <= 0).
notZero(byte) - Method in class bb.util.Check
Checks that value !
notZero(short) - Method in class bb.util.Check
Checks that value !
notZero(int) - Method in class bb.util.Check
Checks that value !
notZero(long) - Method in class bb.util.Check
Checks that value !
notZero(float) - Method in class bb.util.Check
Checks that value !
notZero(double) - Method in class bb.util.Check
Checks that value !
ns - Variable in class bb.util.Collections2.UnmodifiableNavigableSet
 
nsHandlers(Logger) - Static method in class bb.util.logging.LogUtil
Calls NodeProp.findBest to get the NodeProp whose associated key best matches logger's name and whose handlerClasses field is non-null.
nsLevel(Logger) - Static method in class bb.util.logging.LogUtil
Calls NodeProp.findBest to get the NodeProp whose associated key best matches logger's name and whose level field is non-null.
nsPatternUniversalMatch - Static variable in class bb.util.logging.LogUtil
Serves as the universal matching pattern of last resort.
nsSuffix - Static variable in class bb.util.logging.LogUtil
 
nsUseParentHandlers(Logger) - Static method in class bb.util.logging.LogUtil
Calls NodeProp.findBest to get the NodeProp whose associated key best matches logger's name and whose useParentHandlers field is non-null.
nullPrefix - Static variable in class bb.science.Prefix
Models the "null" prefix (i.e. when there is no visible prefix, that is, for 100 = 1).
number - Variable in class bb.science.Bins.Intervals
 
numberActions - Variable in class bb.util.Benchmark.Params
Records how many actions are performed by each invocation of Benchmark.task.
numberCharsMax - Variable in class bb.gui.DialogInputSecure.DialogTask
 
numberCharsMax - Variable in class bb.gui.DocumentLimitedLength
Maximum number of chars that this instance will hold.
numberCpus() - Static method in class bb.util.ThreadPoolExecutor2
Returns the total number of CPUs that are available to this JVM.
numberCpusReserved_default - Static variable in class bb.util.ThreadPoolExecutor2
Default value for the numberCpusReserved param that can be passed to the fundamental constructor.
numberExecutions - Variable in class bb.util.Benchmark
Records how many executions of Benchmark.task were performed for each time measurement.
numberFormatHits - Variable in class bb.util.DateUtil.DateStringCache
Number of times that format returned a cached value.
numberFormatMisses - Variable in class bb.util.DateUtil.DateStringCache
Number of times that format did not return a cached value.
numberFormatPutFails - Variable in class bb.util.DateUtil.DateStringCache
Number of times that format failed to cache data when it called put.
numberLines - Static variable in class bb.io.ParseReader.UnitTest
 
numberLoops - Variable in class bb.gui.SoundUtil.Player
 
numberMeasurements - Variable in class bb.util.Benchmark.Params
If Benchmark.Params.manyExecutions is true, then once Benchmark.numberExecutions has been determined, specifies the number of timing measurements to perform.
numberParseHits - Variable in class bb.util.DateUtil.DateStringCache
Number of times that parse returned a cached value.
numberParseMisses - Variable in class bb.util.DateUtil.DateStringCache
Number of times that parse did not return a cached value.
numberParsePutFails - Variable in class bb.util.DateUtil.DateStringCache
Number of times that parse failed to cache data when it called put.
numberResamples - Variable in class bb.science.Bootstrap
 
numberResamples - Variable in class bb.science.Bootstrap.UnitTest.CiTask
 
numberResamples - Variable in class bb.science.Bootstrap.UnitTest.CoverageTask
 
numberResamples - Static variable in class bb.science.Bootstrap.UnitTest
 
numberResamples_default - Static variable in class bb.science.Bootstrap
Default value for Bootstrap.numberResamples.
numberTests - Static variable in class bb.io.ParseReader.UnitTest
 
numberTransitions - Static variable in class bb.util.Benchmark.LfsrAdvancer
 
numberTrials - Static variable in class bb.science.Bootstrap.UnitTest
 
NumberUtil - Class in bb.util
Provides static utility methods related to numbers.
NumberUtil() - Constructor for class bb.util.NumberUtil
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
NumberUtil.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
NumberUtil.UnitTest() - Constructor for class bb.util.NumberUtil.UnitTest
 
numCharsContext - Static variable in class bb.util.StringUtil
 
numDropped - Variable in class bb.util.BufferFixed
Number of old elements that were dropped from BufferFixed.deque since the last call to getAndResetState.
numDropped - Variable in class bb.util.BufferFixed.State
Copy of the numDropped field.
numObjsCreatedPerLoop - Static variable in class bb.util.MemoryMeasurer.UnitTest.MemoryFiller
 
numToGenerate - Variable in class bb.util.logging.HandlerAbstract.UnitTest.LogGenerator
 

O

object - Variable in class bb.util.ObjectState
Object that this instance is concerned with.
Object_1 - Variable in class bb.util.ObjectState.UnitTest.SuperClass
 
Object_2 - Variable in class bb.util.ObjectState.UnitTest.SubClass
 
ObjectArray_1 - Variable in class bb.util.ObjectState.UnitTest.SuperClass
 
ObjectArray_2 - Variable in class bb.util.ObjectState.UnitTest.SubClass
 
ObjectCollection_1 - Variable in class bb.util.ObjectState.UnitTest.SuperClass
 
ObjectCollection_2 - Variable in class bb.util.ObjectState.UnitTest.SubClass
 
ObjectCounter<E> - Class in bb.util
Class to which arbitrary objects may be added, and statistical inquiries may be made about (e.g.
ObjectCounter() - Constructor for class bb.util.ObjectCounter
 
ObjectCounter.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
ObjectCounter.UnitTest() - Constructor for class bb.util.ObjectCounter.UnitTest
 
objects - Variable in class bb.util.MemoryMeasurer.UnitTest.MemoryFiller
 
ObjectState - Class in bb.util
Determines the state of some other object.
ObjectState(Object, ObjectState.Filter...) - Constructor for class bb.util.ObjectState
Calls the fundamental constructor after converting filters into a non-null Set.
ObjectState(Object, Set<ObjectState.Filter>) - Constructor for class bb.util.ObjectState
Constructor.
objectState - Variable in class d.g.ObjectStateDisplay
 
ObjectState.AcceptOnlyImmediateClass - Class in bb.util
Accepts a Class only if it is object's class.
ObjectState.AcceptOnlyImmediateClass() - Constructor for class bb.util.ObjectState.AcceptOnlyImmediateClass
 
ObjectState.AcceptOnlyPublicProtectedFields - Class in bb.util
Accepts a Field only if it is public or protected.
ObjectState.AcceptOnlyPublicProtectedFields() - Constructor for class bb.util.ObjectState.AcceptOnlyPublicProtectedFields
 
ObjectState.ClassFilterAbstract - Class in bb.util
Base class for Filters which care only about Classes.
ObjectState.ClassFilterAbstract() - Constructor for class bb.util.ObjectState.ClassFilterAbstract
 
ObjectState.FieldFilterAbstract - Class in bb.util
Base class for Filters which care only about Fields.
ObjectState.FieldFilterAbstract() - Constructor for class bb.util.ObjectState.FieldFilterAbstract
 
ObjectState.Filter - Interface in bb.util
Interface for types which accept/reject Classes/Fields.
ObjectState.RejectInterfaces - Class in bb.util
Rejects a Class if it is an interface.
ObjectState.RejectInterfaces() - Constructor for class bb.util.ObjectState.RejectInterfaces
 
ObjectState.RejectObjectClass - Class in bb.util
Rejects a Class if it is Object.class.
ObjectState.RejectObjectClass() - Constructor for class bb.util.ObjectState.RejectObjectClass
 
ObjectState.RejectStaticFields - Class in bb.util
Rejects a Field if it is static.
ObjectState.RejectStaticFields() - Constructor for class bb.util.ObjectState.RejectStaticFields
 
ObjectState.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
ObjectState.UnitTest() - Constructor for class bb.util.ObjectState.UnitTest
 
ObjectState.UnitTest.CompoundClass - Class in bb.util
 
ObjectState.UnitTest.CompoundClass() - Constructor for class bb.util.ObjectState.UnitTest.CompoundClass
 
ObjectState.UnitTest.CompoundClass.InnerClass1 - Class in bb.util
 
ObjectState.UnitTest.CompoundClass.InnerClass1() - Constructor for class bb.util.ObjectState.UnitTest.CompoundClass.InnerClass1
 
ObjectState.UnitTest.CompoundClass.InnerClass2 - Class in bb.util
 
ObjectState.UnitTest.CompoundClass.InnerClass2() - Constructor for class bb.util.ObjectState.UnitTest.CompoundClass.InnerClass2
 
ObjectState.UnitTest.InterfaceImplementingClass - Class in bb.util
 
ObjectState.UnitTest.InterfaceImplementingClass() - Constructor for class bb.util.ObjectState.UnitTest.InterfaceImplementingClass
 
ObjectState.UnitTest.NoFields - Class in bb.util
 
ObjectState.UnitTest.NoFields() - Constructor for class bb.util.ObjectState.UnitTest.NoFields
 
ObjectState.UnitTest.ReferringClass - Class in bb.util
 
ObjectState.UnitTest.ReferringClass() - Constructor for class bb.util.ObjectState.UnitTest.ReferringClass
 
ObjectState.UnitTest.SubClass - Class in bb.util
Has fields which provide similar complete coverage and distinct values as ObjectState.UnitTest.SuperClass.
ObjectState.UnitTest.SubClass() - Constructor for class bb.util.ObjectState.UnitTest.SubClass
 
ObjectState.UnitTest.SubInterface2 - Interface in bb.util
 
ObjectState.UnitTest.SubInterface4 - Interface in bb.util
 
ObjectState.UnitTest.SuperClass - Class in bb.util
Has fields which provide complete coverage of: all modifier permutations public protected private static final many field types primitives arrays, Collection, Map java.lang and CharSequence Also, all the values are distinct, both within this class and from ObjectState.UnitTest.SubClass below.
ObjectState.UnitTest.SuperClass() - Constructor for class bb.util.ObjectState.UnitTest.SuperClass
 
ObjectState.UnitTest.SuperInterface1 - Interface in bb.util
 
ObjectState.UnitTest.SuperInterface3 - Interface in bb.util
 
objectToCount - Variable in class bb.util.ObjectCounter
 
occurred() - Method in class bb.util.DateUtil.TimeZoneChange
 
offsetIndex(int) - Method in class bb.util.ListWithIndex
Changes index to index + offset.
onBytesRead(byte[], int) - Method in class bb.io.StreamDrainerForwarding
Hook method for the event that bytes were read from StreamDrainerForwarding.in by run.
onBytesRead(byte[], int) - Method in class bb.io.StreamDrainerForwarding.UnitTest.Crashes
 
onCacheMiss(long, DateUtil.DateInfoBin[], DateUtil.DateInfo[]) - Method in class bb.util.DateUtil.DateInfoBin
Handles a cache miss.
onContinueExecution() - Method in class d.g.ObjectStateDisplay
This method always disables continueButton and sets its label to indicate that execution has proceeded.
onDeadlocked(String) - Method in class bb.util.ThreadMonitor.UnitTest.ListenerTest
 
onDeadlocked(String) - Method in interface bb.util.ThreadMonitorListener
Called whenever the associated ThreadMonitor instance first detects deadlock when previously it had detected no deadlock.
onFailure(String, Throwable) - Method in class bb.util.Check.Arg
Called whenever a check fails and the code has both errMsg and throwable to report.
onFailure(String, Throwable) - Method in class bb.util.Check.Assert
Called whenever a check fails and the code has both errMsg and throwable to report.
onFailure(String) - Method in class bb.util.Check.CheckAdaptor
Called whenever a check fails and the code has just errMsg to report.
onFailure(String) - Method in class bb.util.Check
Called whenever a check fails and the code has just errMsg to report.
onFailure(String, Throwable) - Method in class bb.util.Check
Called whenever a check fails and the code has both errMsg and throwable to report.
onFailure(String, Throwable) - Method in class bb.util.Check.State
Called whenever a check fails and the code has both errMsg and throwable to report.
onLogNewArrived() - Method in class bb.util.logging.FrameLog
 
onLogsNewestDisplayed() - Method in class bb.util.logging.FrameLog
 
onMemoryLow(MemoryState) - Method in class bb.util.MemoryMonitor.UnitTest.ListenerTest
 
onMemoryLow(MemoryState) - Method in interface bb.util.MemoryMonitorListener
Called whenever the associated MemoryMonitor instance first detects the low memory state when previously it had detected a not low memory state.
onMemoryLow(MemoryState) - Method in class bb.util.MemoryMonitorListenerImpl
 
onMemoryLowDetected() - Method in class bb.util.MemoryMonitor.UnitTest.ListenerTest
 
onMemoryNotLow(MemoryState) - Method in class bb.util.MemoryMonitor.UnitTest.ListenerTest
 
onMemoryNotLow(MemoryState) - Method in interface bb.util.MemoryMonitorListener
Called whenever the associated MemoryMonitor instance first detects a not low memory state when previously it had detected the low memory state.
onMemoryNotLow(MemoryState) - Method in class bb.util.MemoryMonitorListenerImpl
 
onMemoryNotLowDetected() - Method in class bb.util.MemoryMonitor.UnitTest.ListenerTest
 
onMemoryState(MemoryState) - Method in interface bb.util.MemoryMonitorListener
Called whenever the associated MemoryMonitor instance has measured a new memory state.
onMemoryState(MemoryState) - Method in class bb.util.MemoryMonitorListenerImpl
 
onMonitoringError(Throwable) - Method in interface bb.util.MemoryMonitorListener
Called when the associated MemoryMonitor instance has detected some error while monitoring.
onMonitoringError(Throwable) - Method in class bb.util.MemoryMonitorListenerImpl
 
onMonitoringError(Throwable) - Method in class bb.util.ThreadMonitor.UnitTest.ListenerTest
 
onMonitoringError(Throwable) - Method in interface bb.util.ThreadMonitorListener
Called when the associated ThreadMonitor instance has detected some error while monitoring.
onMonitoringStarted() - Method in interface bb.util.MemoryMonitorListener
Called when the associated MemoryMonitor instance has just started monitoring.
onMonitoringStarted() - Method in class bb.util.MemoryMonitorListenerImpl
 
onMonitoringStarted() - Method in class bb.util.ThreadMonitor.UnitTest.ListenerTest
 
onMonitoringStarted() - Method in interface bb.util.ThreadMonitorListener
Called when the associated ThreadMonitor instance has just started monitoring.
onMonitoringStopped() - Method in interface bb.util.MemoryMonitorListener
Called when the associated MemoryMonitor instance has just stopped monitoring.
onMonitoringStopped() - Method in class bb.util.MemoryMonitorListenerImpl
 
onMonitoringStopped() - Method in class bb.util.ThreadMonitor.UnitTest.ListenerTest
 
onMonitoringStopped() - Method in interface bb.util.ThreadMonitorListener
Called when the associated ThreadMonitor instance has just stopped monitoring.
onNotDeadlocked(String) - Method in class bb.util.ThreadMonitor.UnitTest.ListenerTest
 
onNotDeadlocked(String) - Method in interface bb.util.ThreadMonitorListener
Called whenever the associated ThreadMonitor instance first detects no deadlock when previously it had detected deadlock.
onProblem(String, Throwable) - Method in class bb.util.JUnitExecutor.StdStreamSwapper
Handles problems generated by the JUnit framework itself (including this class), as opposed to Throwables raised by the test methods (which should get caught by the JUnit framework and passed to testFailure).
onShutdown() - Static method in class d.p
Performs actions that should only be done before the JVM shuts down, such as flushing pw.
onThreadState(String) - Method in class bb.util.ThreadMonitor.UnitTest.ListenerTest
 
onThreadState(String) - Method in interface bb.util.ThreadMonitorListener
Called whenever the associated ThreadMonitor instance has measured a new thread state.
open - Variable in class bb.io.FileRollingWriter
 
opened(ConnectionEvent) - Method in class bb.net.Emailer.Listener
 
operation_key - Static variable in class bb.io.EncryptUtil
 
orderOfMagnitude(double) - Static method in class bb.science.Math2
Returns the order of magnitude of x in a decimal (i.e. power of 10) scale.
osSpecificPreparation() - Method in class bb.util.Benchmark
Calls operating system specific commands to prepare for benchmarking.
OsUtil - Class in bb.util
Provides static utility methods relating to the operating system that the JVM is running on.
OsUtil() - Constructor for class bb.util.OsUtil
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
OsUtil.ExecTask - Class in bb.util
Encapsulates all the work carried out by both the execSynch and execAsynch methods.
OsUtil.ExecTask(String, String[], File, StreamDrainer, StreamDrainer) - Constructor for class bb.util.OsUtil.ExecTask
 
OsUtil.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
OsUtil.UnitTest() - Constructor for class bb.util.OsUtil.UnitTest
 
other - Variable in class bb.util.ObjectState.UnitTest.ReferringClass
 
otherMode - Variable in class bb.io.filefilter.BaseFilter
 
OtherMode - Enum in bb.io.filefilter
Enum of all the ways that "other" file system elements can be handled by a filter.
OtherMode() - Constructor for enum bb.io.filefilter.OtherMode
 
out - Variable in class bb.io.StreamDrainerForwarding
 
out - Variable in class bb.io.StreamDrainerStoring.UnitTest.ByteChunkSender
 
outDrainer - Variable in class bb.util.OsUtil.ExecTask
 
outHandler - Variable in class bb.util.logging.HandlerConsole
Used to write non-serious logs.
outlierIssues - Variable in class bb.util.Benchmark
Records any outlier issues that were found in the measurements.
overwrite_key - Static variable in class bb.io.TarUtil
 
overwrite_key - Static variable in class bb.io.ZipUtil
 
overwriteLine(String) - Static method in class bb.io.ConsoleUtil
Merely records a request to replace the current line with s.
owner - Variable in class bb.gui.ThrowableDialog
The Frame or Dialog that owns this instance; may be null.

P

p - Class in d
This class provides static methods which send output to a PrintWriter.
p() - Constructor for class d.p
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
p.UnitTest - Class in d
See the Overview page of the project's javadocs for a general description of this unit test class.
p.UnitTest() - Constructor for class d.p.UnitTest
 
packageName - Variable in class bb.util.JUnitExecutor.DescriptionFields
 
packageReqs - Variable in class bb.util.JUnitExecutor.PcmFilter
 
packages_key - Static variable in class bb.util.JUnitExecutor
 
paint(Graphics2D) - Method in class bb.gui.GraphicsLabel
Paints this instance's text onto g2.
paint(Graphics) - Method in class bb.gui.GraphicsLabel.UnitTest.Sheet
 
paint(Graphics) - Method in class bb.gui.RectangleCanvas
Overrides to do custom painting (here, draws a rectangle).
paint(Graphics) - Method in class bb.gui.Strut
Since this is a lightweight (has no peer) gui object that is a direct subclass of Component, this method must be implemented.
paint(Graphics) - Method in class bb.gui.TextFieldSecure.CaretSecure
Draws nothing, effectively making the caret invisible.
paintBaseline(Graphics2D) - Method in class bb.gui.GraphicsLabel
Paints the baseline for this instance's text onto g2.
paintBounds(Graphics2D) - Method in class bb.gui.GraphicsLabel
Paints the rectangle which bounds this instance's text onto g2.
paintComponentTree(Component, Graphics) - Static method in class bb.gui.ComponentUtil
Drills depth first down the Component tree rooted at component.
parameterArray - Static variable in class bb.io.StreamUtil
Cached value used by close.
paramLabels - Variable in class bb.science.DistributionFit
 
paramLabels - Static variable in class bb.science.GaussianFit
 
params - Variable in class bb.science.DistributionFit
 
params - Variable in class bb.util.Benchmark
Controls how this instance's benchmarking is done.
parent - Variable in class bb.gui.DialogInputSecure.DialogTask
 
parent - Variable in class bb.io.FileParent
The parent directory of FileParent.file.
parse(String) - Static method in class bb.util.Date2
 
parse(String) - Method in class bb.util.DateUtil.DateStringCache
Returns the date which is the correct parse of string.
parse(String) - Method in class bb.util.DateUtil.IsoDateFormat
 
parse(String, String) - Static method in class bb.util.MemoryState
Parse a new MemoryState instance from the data in s.
parseDayStamp(String) - Static method in class bb.util.DateUtil
 
parseDouble(String) - Static method in class bb.util.NumberUtil
Parses a double from s.
parseInt(String) - Static method in class bb.util.NumberUtil
Parses an int from s.
parseInt(String, int, int) - Static method in class bb.util.NumberUtil
Parses an int from the specified substring of s.
parseInt(char[], int, int) - Static method in class bb.util.NumberUtil
Same as parseInt(s), except that this version operates on a char[] instead of a String.
parseIntCheck(int) - Method in class bb.util.NumberUtil.UnitTest
 
parseLevel(String) - Static method in class bb.util.logging.LogUtil
Returns the Level that corresponds to s.
parseLines(String) - Static method in class bb.util.StringUtil
Returns parseLines(s, false).
parseLines(String, boolean) - Static method in class bb.util.StringUtil
Parses individual lines out of s, which are collectively returned as String[].
parseLineSecond() - Method in class bb.util.logging.FormatterFull.Parser
 
parseLinesRemaining() - Method in class bb.util.logging.FormatterFull.Parser
As per the next contract, will lump any remaining info into FormatterFull.Parser.data.
parseList(String, Properties2) - Static method in class bb.util.JUnitExecutor
 
parseLong(String) - Static method in class bb.util.NumberUtil
Parses a long from s.
parseNames(Description) - Method in class bb.util.JUnitExecutor.RunListenerAbstract
Parses the class name and method name out of description and assigns the results to JUnitExecutor.RunListenerAbstract.className and JUnitExecutor.RunListenerAbstract.methodName.
parseProperties(File) - Static method in class bb.util.Properties2
Parses a new Properties instance from the contents of file.
ParseReader - Class in bb.io
A Reader class designed for convenient and high performance parsing.
ParseReader(Reader, char[], int, int, int) - Constructor for class bb.io.ParseReader
The fundamental constructor.
ParseReader(Reader, char[], int, int) - Constructor for class bb.io.ParseReader
Calls this( in, buffer, start, end, ParseReader.lineNumberInitial_default ).
ParseReader(char[]) - Constructor for class bb.io.ParseReader
Calls this( null, buffer, 0, buffer.length ).
ParseReader(Reader) - Constructor for class bb.io.ParseReader
Calls this( in, new char[ParseReader.bufferLength_default], 0, 0 ).
ParseReader(InputStream, String) - Constructor for class bb.io.ParseReader
Calls this( new InputStreamReader(in, charEncoding) ).
ParseReader(InputStream) - Constructor for class bb.io.ParseReader
Calls this(in, ParseReader.charEncoding_default).
ParseReader(File) - Constructor for class bb.io.ParseReader
Calls this( new FileInputStream(file) ).
ParseReader.UnitTest - Class in bb.io
See the Overview page of the project's javadocs for a general description of this unit test class.
ParseReader.UnitTest() - Constructor for class bb.io.ParseReader.UnitTest
 
parseStateInitial(Class<E>, String) - Method in class bb.util.StateMachine
 
parseStatesFinal(Class<E>, String) - Method in class bb.util.StateMachine
 
parseStrictness - Variable in class bb.net.Emailer
Specifies the boolean value that will be supplied to InternetAddress.parse(String, boolean) when parsing address Strings (e.g. from, to, cc, and bcc).
parseStrictness_default - Static variable in class bb.net.Emailer
Default value for Emailer.parseStrictness.
parseTimeStamp(String) - Static method in class bb.util.DateUtil
 
parseTimeStampForFile(String) - Static method in class bb.util.DateUtil
 
parseTransitions(Class<E>, String...) - Method in class bb.util.StateMachine
Parses rules into an EnumMap.
partMode - Variable in class bb.io.filefilter.BaseFilter
 
PartMode - Enum in bb.io.filefilter
Enum of the different parts of a File's path which can be extracted and subjected to a filter's test.
PartMode() - Constructor for enum bb.io.filefilter.PartMode
 
passesTest(File) - Method in class bb.io.filefilter.BaseFilter
Applies this filter's test to file.
passesTest(String) - Method in class bb.io.filefilter.BaseFilter
Determines whether or not part (which is some part of a File's full path) passes this filter's test.
passesTest(String) - Method in class bb.io.filefilter.BaseFilter.UnitTest.TestFilter
 
passesTest(String) - Method in class bb.io.filefilter.RegexFilter
 
passesTest(File) - Method in class bb.io.filefilter.TarableFilter
 
passesTest(File) - Method in class bb.io.filefilter.VisibleFilter
 
passesTest(File) - Method in class bb.io.filefilter.VisibleOrRootFilter
 
passesTest(File) - Method in class bb.io.filefilter.ZippableFilter
 
password_key - Static variable in class bb.io.EncryptUtil
 
passwordInstruction_key - Static variable in class bb.io.EncryptUtil
 
pathsToArchive_key - Static variable in class bb.io.TarUtil
 
pathsToArchive_key - Static variable in class bb.io.ZipUtil
 
pattern - Variable in class bb.util.DateUtil.DateStringCache
Description of how to turn a Date into a String.
patterns - Variable in class bb.io.filefilter.RegexFilter
 
pauseExecution - Variable in class d.g.ObjectStateDisplay
 
pauseTime - Static variable in class bb.util.MemoryMeasurer
Specifies the number of milliseconds that restoreJvm will sleep for between loop iterations.
pdfObserved - Variable in class bb.science.DistributionFit
 
pdfTheory - Variable in class bb.science.DistributionFit
 
percentCompleted - Variable in class bb.util.ProgressIndicator
 
perform(Object, Benchmark.Params) - Method in class bb.util.Benchmark
Carries out the benchmarking of task according to the specifications found in params.
perform() - Method in class bb.util.Execute
Fundamental API method that implements the essential functionality of this class.
perform() - Static method in class bb.util.MemoryMeasurer
Returns perform(false).
perform(boolean) - Static method in class bb.util.MemoryMeasurer
Returns new MemoryMeasurer(callRestoreJvm).
period - Static variable in class bb.io.ConsoleUtil
 
peta - Static variable in class bb.science.Prefix
Models the SI prefix for 1015, the peta.
pico - Static variable in class bb.science.Prefix
Models the SI prefix for 10-12, the pico.
play(URL, int, boolean) - Static method in class bb.gui.SoundUtil
Plays the sound located at url in a loop that will execute numberLoops times.
play() - Method in class bb.gui.SoundUtil.Player
Initiates the playing of clip in a loop that will execute numberLoops times.
playAsynch(File) - Static method in class bb.gui.SoundUtil
Simply calls playAsynch(file, 1).
playAsynch(File, int) - Static method in class bb.gui.SoundUtil
Creates a URL for file and supplies this to playAsynch.
playAsynch(URL) - Static method in class bb.gui.SoundUtil
Simply calls playAsynch(url, 1).
playAsynch(URL, int) - Static method in class bb.gui.SoundUtil
Simply calls play(url, numberLoops, false).
playErrorMajor() - Static method in class bb.gui.Sounds
Simply calls playErrorMajor(true).
playErrorMajor(boolean) - Static method in class bb.gui.Sounds
Plays a major error sound.
playErrorMinor() - Static method in class bb.gui.Sounds
Simply calls playErrorMinor(true).
playErrorMinor(boolean) - Static method in class bb.gui.Sounds
Plays a minor error sound.
playNotify() - Static method in class bb.gui.Sounds
Simply calls playNotify(true).
playNotify(boolean) - Static method in class bb.gui.Sounds
Plays a notify sound.
playSound() - Method in class bb.gui.ThrowableDialog
This implementation calls Sounds.playErrorMinor().
playSound(int) - Method in class bb.util.Execute
Contract: should never throw any Throwable, since will be used in a finally clause.
playSynch(File) - Static method in class bb.gui.SoundUtil
Simply calls playSynch(file, 1).
playSynch(File, int) - Static method in class bb.gui.SoundUtil
Creates a URL for file and supplies this to playSynch.
playSynch(URL) - Static method in class bb.gui.SoundUtil
Simply calls playSynch(url, 1).
playSynch(URL, int) - Static method in class bb.gui.SoundUtil
Simply calls play(url, numberLoops, true).
point - Variable in class bb.science.Bootstrap.Estimate
Records a single value ("point") estimate.
pollFirst() - Method in class bb.util.Collections2.UnmodifiableNavigableSet
 
pollLast() - Method in class bb.util.Collections2.UnmodifiableNavigableSet
 
pool - Static variable in class bb.jdbc.DBConnManager
 
poolSize - Static variable in class bb.jdbc.DBConnManager
 
poolSize(int) - Static method in class bb.util.ThreadPoolExecutor2
Returns Math.max( numberCpus - numberCpusReserved, 1 ) (i.e.
port_default - Static variable in class bb.net.MagicPacket
Default port value to send the magic packet to.
positive(byte) - Method in class bb.util.Check
Checks that value is strictly positive (i.e. value > 0).
positive(short) - Method in class bb.util.Check
Checks that value is strictly positive (i.e. value > 0).
positive(int) - Method in class bb.util.Check
Checks that value is strictly positive (i.e. value > 0).
positive(long) - Method in class bb.util.Check
Checks that value is strictly positive (i.e. value > 0).
positive(float) - Method in class bb.util.Check
Checks that value is strictly positive (i.e. value > 0).
positive(double) - Method in class bb.util.Check
Checks that value is strictly positive (i.e. value > 0).
positiveInfinityText - Static variable in class bb.util.NumberUtil
 
power10(int) - Static method in class bb.science.Math2
Returns the specified integer power of 10.
precisionOfCoverage(int, double, double) - Method in class bb.science.Bootstrap.UnitTest
Assume that you perform a CI generating process n times, and that each CI has the exact same coverage probabilty (i.e. confidenceLevel) specified by p.
PreferencesUtil - Class in bb.util
Provides static utility methods for dealing with Preferences.
PreferencesUtil() - Constructor for class bb.util.PreferencesUtil
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
preferredTransverse - Variable in class bb.gui.Strut
Stores the preferred transverse (i.e. perpendicular direction) extent of this strut.
prefix - Variable in class bb.science.Bootstrap.UnitTest.CiResult
 
prefix - Variable in class bb.science.Bootstrap.UnitTest.CoverageResult
 
Prefix - Class in bb.science
This class models the state corresponding to a prefix for a scientific unit of measurement.
Prefix() - Constructor for class bb.science.Prefix
This special protected constructor is used solely to make a "null" Prefix instance.
Prefix(String, String, int) - Constructor for class bb.science.Prefix
Constructs a new Prefix instance for the supplied name, symbol, and exponent.
Prefix.UnitTest - Class in bb.science
See the Overview page of the project's javadocs for a general description of this unit test class.
Prefix.UnitTest() - Constructor for class bb.science.Prefix.UnitTest
 
prefix_default - Static variable in class bb.util.DateUtil
Default value for the prefix param of getCacheIssues(prefix, separator).
prefsName - Variable in class bb.gui.Displayer
 
preselectIfIsCurrent(JRadioButton) - Method in class bb.gui.LookAndFeelDialog
 
preselectIfIsDefault(JRadioButton) - Method in class bb.gui.LookAndFeelDialog
 
present - Static variable in class bb.util.ConcurrentHashSet
Dummy value to associate with an Object in the backing Map.
preventDce() - Method in class bb.util.Benchmark
Attempts to prevent a sophisticated compiler from using dead-code elimination to skip computations that should be benchmarked.
prime1 - Static variable in class bb.util.HashUtil
A 31-bit prime number.
prime2 - Static variable in class bb.util.HashUtil
A 31-bit prime number.
printAudioFileFormatsCanWrite() - Static method in class bb.gui.SoundUtil
 
printAvailable() - Static method in class bb.util.LocaleTimeZoneUtil
 
printContentInfo(HttpServletRequest, PrintWriter) - Method in class bb.servlet.RequestEcho
Prints to out information about the request's content.
printDefaults() - Static method in class bb.util.LocaleTimeZoneUtil
 
printEntries(File) - Method in class bb.io.TarUtil.UnitTest
 
printEntries(File) - Static method in class bb.io.ZipUtil.UnitTest
 
printExtraTime(double, double, double) - Static method in class bb.util.MemoryMonitor.UnitTest
 
printExtraTime(double, double, double) - Static method in class bb.util.ThreadMonitor.UnitTest
 
printFileDescriptions(File) - Static method in class bb.gui.SoundUtil
 
printHeaders(HttpServletRequest, PrintWriter) - Method in class bb.servlet.RequestEcho
Prints to out any name/value header pairs in the request.
printInfo(long, boolean) - Method in class bb.gui.DuplicateEventActionListener
 
printLastSeveralCharsRead(StringBuilder) - Static method in class bb.io.ParseReader.UnitTest
Confirm that the ParseReader's idea of lineNumber is consistent with the value recorded on the last line read.
printMemoryState(MemoryState) - Static method in class bb.util.MemoryMeasurer.UnitTest
 
printMetadata(HttpServletRequest, PrintWriter) - Method in class bb.servlet.RequestEcho
Prints to out metadata about the request.
printNetworkInfo(HttpServletRequest, PrintWriter) - Method in class bb.servlet.RequestEcho
Prints to out the network information (local and remote) involved in the request.
printParameters(HttpServletRequest, PrintWriter) - Method in class bb.servlet.RequestEcho
Prints to out any name/value parameter pairs in the request.
PrintStreamStoring - Class in bb.io
PrintStream subclass that writes all bytes to an internal byte buffer.
PrintStreamStoring() - Constructor for class bb.io.PrintStreamStoring
 
PrintStreamStoring.UnitTest - Class in bb.io
See the Overview page of the project's javadocs for a general description of this unit test class.
PrintStreamStoring.UnitTest() - Constructor for class bb.io.PrintStreamStoring.UnitTest
 
printSystemProperties() - Method in class bb.util.CommandLineInterface.Commands
 
printTime() - Method in class bb.util.CommandLineInterface.Commands
 
printUrlDescription(URL) - Static method in class bb.gui.SoundUtil
 
printUrlInfo(HttpServletRequest, PrintWriter) - Method in class bb.servlet.RequestEcho
Prints to out information about the URL used by the request.
PrintWriterStoring - Class in bb.io
PrintWriter subclass that writes all chars to an internal char buffer.
PrintWriterStoring() - Constructor for class bb.io.PrintWriterStoring
 
PrintWriterStoring.UnitTest - Class in bb.io
See the Overview page of the project's javadocs for a general description of this unit test class.
PrintWriterStoring.UnitTest() - Constructor for class bb.io.PrintWriterStoring.UnitTest
 
private_final_field - Variable in class bb.misc.ClassToReflectOn
 
process(Bootstrap.Estimate, Bootstrap.Estimate) - Method in class bb.science.Bootstrap.UnitTest.CiResult.Metrics
 
process(Bootstrap.Estimate, double) - Method in class bb.science.Bootstrap.UnitTest.CoverageResult.Metrics
 
programExit() - Method in class bb.gui.ThrowableDialog
This implementation calls System.exit(1).
programExit() - Method in class bb.gui.ThrowableDialog.UnitTest.TestDialog
 
ProgressIndicator - Class in bb.util
Class that stores the amount of progress completed by some other process.
ProgressIndicator() - Constructor for class bb.util.ProgressIndicator
 
ProgressIndicator.StatusUpdater - Class in bb.util
 
ProgressIndicator.StatusUpdater() - Constructor for class bb.util.ProgressIndicator.StatusUpdater
 
prompt - Variable in class bb.gui.DialogInputSecure.DialogTask
 
Properties2 - Class in bb.util
This class is what Properties ought to have been, namely, a Map<String, String> implementation with additional constraints and convenience methods.
Properties2(File...) - Constructor for class bb.util.Properties2
Constructs a new instance with key/value pairs parsed from files.
Properties2(Map<String, String>) - Constructor for class bb.util.Properties2
Constructs a new instance with initial key/value pairs drawn from m.
Properties2(String[]) - Constructor for class bb.util.Properties2
Constructs a new instance with initial key/value pairs parsed from args.
Properties2() - Constructor for class bb.util.Properties2
Constructs a new instance which contains no key/value pairs.
Properties2.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
Properties2.UnitTest() - Constructor for class bb.util.Properties2.UnitTest
 
protected_field - Variable in class bb.misc.ClassToReflectOn
 
ps - Variable in class bb.util.JUnitExecutor.PrintStreamFeedback
 
public_static_field - Static variable in class bb.misc.ClassToReflectOn
 
publish(LogRecord) - Method in class bb.util.logging.HandlerAudio
If isAlive or isLoggable(record) returns false, then immediately returns.
publish(LogRecord) - Method in class bb.util.logging.HandlerConsole
If isAlive or isLoggable(record) returns false, then immediately returns.
publish(LogRecord) - Method in class bb.util.logging.HandlerEmail
If isAlive or isLoggable(record) returns false, then immediately returns.
publish(LogRecord) - Method in class bb.util.logging.HandlerGui
If isAlive or isLoggable(record) returns false, then immediately returns.
pushbackCapacity - Variable in class bb.io.ParseReader
Records how much space at the beginning of ParseReader.buffer should be reserved for future pushbacks.
put(Object, Object) - Method in class bb.util.BidirectionalMap
Establishes an association (i.e. a bidirectional map) between object1 and object2.
put(Date, boolean, String, AtomicLong) - Method in class bb.util.DateUtil.DateStringCache
Puts the date <--> mapping into the cache.
put(String, String) - Method in class bb.util.Properties2
Associates key with value, replacing any previous mapping of key.
put(K, V) - Method in class bb.util.Unmodifiables.UnmodifiableMap
 
putAll(Map<? extends String, ? extends String>) - Method in class bb.util.Properties2
Copies all of the mappings from m to this instance.
putAll(Map<? extends K, ? extends V>) - Method in class bb.util.Unmodifiables.UnmodifiableMap
 
putIfAbsent(String, String) - Method in class bb.util.Properties2
putKeyOnly(String) - Method in class bb.util.Properties2
Associates key with the result of getValueUndefined.
pw - Variable in class bb.science.Bootstrap.UnitTest
A PrintWriter for method output.
pw - Variable in class bb.util.MemoryMonitorListenerImpl
 
pw - Variable in class bb.util.ThreadMonitor.UnitTest.ListenerTest
 
pw - Static variable in class d.p
The PrintWriter used by the s methods.

Q

quantile(double[], int, int) - Static method in class bb.science.Math2
Returns the kth q-quantile of numbers.
queueSize(int, int) - Static method in class bb.util.ThreadPoolExecutor2
Returns Math.max( poolSize(numberCpusReserved) * maxBackupPerPoolThread, 1 ).
quit() - Method in class bb.util.CommandLineInterface.Commands
 
quoteWhitespaceTokenize(String, boolean) - Static method in class bb.util.StringUtil
This method breaks up the supplied String into tokens.

R

random - Static variable in class bb.io.ParseReader.UnitTest
 
random - Static variable in class bb.science.Lfsr
 
random - Variable in class bb.util.RandomUtil.UnitTest.SingleThread_MersenneTwisterFast
 
random01(MersenneTwisterFast) - Method in class bb.science.Bootstrap.UnitTest.DistributionAbstract
Returns a uniform random pick from the open interval (0, 1).
randomBytes(int) - Static method in class bb.io.EncryptUtil
Returns a cryptographically strong pseudo-random sequence of bytes as an array.
RandomUtil - Class in bb.util
Provides static utility methods relating to Random.
RandomUtil() - Constructor for class bb.util.RandomUtil
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
RandomUtil.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
RandomUtil.UnitTest() - Constructor for class bb.util.RandomUtil.UnitTest
 
RandomUtil.UnitTest.SingleThread_MersenneTwisterFast - Class in bb.util
 
RandomUtil.UnitTest.SingleThread_MersenneTwisterFast(int, boolean) - Constructor for class bb.util.RandomUtil.UnitTest.SingleThread_MersenneTwisterFast
 
RandomUtil.UnitTest.SingleThread_RandomPerThread - Class in bb.util
 
RandomUtil.UnitTest.SingleThread_RandomPerThread(int) - Constructor for class bb.util.RandomUtil.UnitTest.SingleThread_RandomPerThread
 
rank - Variable in class bb.gui.FontUtil.FontRank
 
rankAsciiCharsByHammingDistance(byte) - Static method in class bb.util.StringUtil
Meant for use just by describeAsciiCharsByHammingDistance to provide a better diagnostic message to the user.
rankFonts(String) - Static method in class bb.gui.FontUtil
Retrieves every Font in the local system by calling getFonts.
read(ObjectInputStream) - Static method in class bb.gui.BasicStrokeSerializer
Deserializes a BasicStrokeSerializer object from objectInputStream, converts it to a new BasicStroke instance, and returns it.
read() - Method in class bb.io.ParseReader
Returns the next char from the stream.
read(char[], int, int) - Method in class bb.io.ParseReader
Attempts to read chars into the specified portion of cbuf.
readAsciiToChars(File) - Static method in class bb.io.FileUtil
Reads file's contents into a byte[] (using the readBytes method), converts that into a char[] (using the StringUtil.asciiBytesToChars method) returns the char[].
readBytes(File) - Static method in class bb.io.FileUtil
Reads file's contents into a byte[] which is returned.
readBytesEnd(File, int) - Static method in class bb.io.FileUtil
Reads the final part of file's contents into a byte[] which is returned.
readChars(File) - Static method in class bb.io.FileUtil
Reads file's contents into a byte[] (using readBytes), converts that into a char[] (using StringUtil.bytesToChars), and then returns the char[].
readConsoleSecure(String, Object...) - Static method in class bb.io.EncryptUtil
Reads and returns some sensitive piece of information (e.g. a password) from the Console in a secure manner (the user's typing will not be echoed).
readDataLine() - Method in class bb.io.FileParser
Reads the next line of data for the file, parses all the tokens on that line (using tokenDelimiterRegexp), and returns them.
readExternal(ObjectInput) - Method in class bb.gui.GroupLayout2
Customizes deserialization.
readFully(InputStream, byte[]) - Static method in class bb.io.StreamUtil
Fully reads into the entire supplied byte[].
readFully(InputStream, byte[], int, int) - Static method in class bb.io.StreamUtil
Tries to read exactly the requested length from in into bytes.
readFully(Reader, char[]) - Static method in class bb.io.StreamUtil
Fully reads into the entire supplied char[].
readFully(Reader, char[], int, int) - Static method in class bb.io.StreamUtil
Tries to read exactly the requested length from in into chars.
readInFile(File, OutputStream) - Static method in class bb.io.TarUtil
Reads all the bytes from path and writes them to out.
readInFile(File, OutputStream) - Static method in class bb.io.ZipUtil
Reads all the bytes from path and writes them to out.
readLine() - Method in class bb.io.ParseReader
Reads all the characters in the stream up to but not including the next line termination sequence or until end of stream is hit.
readObject(ObjectInputStream) - Method in class bb.gui.LinePanel
Customizes deserialization.
readObject(ObjectInputStream) - Method in class bb.gui.TextFieldSecure
Customizes deserialization.
readResolve() - Method in class bb.util.Unmodifiables.UnmodifiableList
UnmodifiableRandomAccessList instances are serialized as UnmodifiableList instances to allow them to be deserialized in pre-1.4 JREs (which do not have UnmodifiableRandomAccessList).
readString(File) - Static method in class bb.io.FileUtil
Returns new String( readBytes(file) ).
readThruToken(String) - Method in class bb.io.ParseReader
Returns readThruToken(token, true, false) (i.e. is always case sensitive and excludes token from result).
readThruToken(String, boolean, boolean) - Method in class bb.io.ParseReader
Reads over as many chars as necessary until token is read thru.
readTimeout_default - Static variable in class bb.net.UrlUtil
 
ready() - Method in class bb.io.ParseReader
Tell whether this stream is ready to be read.
RectangleCanvas - Class in bb.gui
Subclass of Canvas which simply draws a rectangular shape.
RectangleCanvas(int, int, Color) - Constructor for class bb.gui.RectangleCanvas
Constructor.
RectangleCanvas.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
RectangleCanvas.UnitTest() - Constructor for class bb.gui.RectangleCanvas.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
referencePoint - Variable in class bb.gui.GraphicsLabel
 
ReflectUtil - Class in bb.util
Provides static utility methods related to reflection.
ReflectUtil() - Constructor for class bb.util.ReflectUtil
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
ReflectUtil.FieldComparator - Class in bb.util
Imposes an ordering on Fields that is consistent with equals; see compare for details.
ReflectUtil.FieldComparator() - Constructor for class bb.util.ReflectUtil.FieldComparator
 
ReflectUtil.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
ReflectUtil.UnitTest() - Constructor for class bb.util.ReflectUtil.UnitTest
 
ReflectUtil.UnitTest.Planet - Enum in bb.util
 
ReflectUtil.UnitTest.Planet() - Constructor for enum bb.util.ReflectUtil.UnitTest.Planet
 
refresh() - Method in class bb.gui.ThrowableDialog
 
regexes - Static variable in class bb.io.filefilter.RegexFilter.UnitTest
 
RegexFilter - Class in bb.io.filefilter
Accepts any File which matches a set of regular expressions.
RegexFilter(Set<Pattern>) - Constructor for class bb.io.filefilter.RegexFilter
Calls this(patterns, FileMode.test, DirectoryMode.reject).
RegexFilter(Set<Pattern>, FileMode, DirectoryMode) - Constructor for class bb.io.filefilter.RegexFilter
Calls this(patterns, fileMode, directoryMode, OtherMode.reject, PartMode.name).
RegexFilter(Set<Pattern>, FileMode, DirectoryMode, OtherMode, PartMode) - Constructor for class bb.io.filefilter.RegexFilter
Constructs a new RegexFilter instance.
RegexFilter.UnitTest - Class in bb.io.filefilter
See the Overview page of the project's javadocs for a general description of this unit test class.
RegexFilter.UnitTest() - Constructor for class bb.io.filefilter.RegexFilter.UnitTest
 
register - Variable in class bb.science.Lfsr
 
rejected(File, String) - Method in interface bb.io.filefilter.FileFilterListener
Called when file has just been rejected by a filter.
releaseGui() - Method in class bb.util.logging.HandlerGui
 
remove(Object) - Method in class bb.util.BidirectionalMap
Completely unmaps object from its partner.
remove(Object) - Method in class bb.util.ConcurrentHashSet
 
remove() - Method in class bb.util.ListWithIndex
Removes the element at index from the list.
remove(Object) - Method in class bb.util.Properties2
remove(Object, Object) - Method in class bb.util.Properties2
remove(Object) - Method in class bb.util.Unmodifiables.UnmodifiableCollection
 
remove(int) - Method in class bb.util.Unmodifiables.UnmodifiableList
 
remove(Object) - Method in class bb.util.Unmodifiables.UnmodifiableMap
 
removeAll(Collection<?>) - Method in class bb.util.Unmodifiables.UnmodifiableCollection
 
removeConnectionListener(ConnectionListener) - Method in class bb.net.Emailer
Attempts to remove connectionListener from an internal Set of ConnectionListeners.
removeHandler(Handler) - Method in class bb.util.logging.Logger2
 
removeHandlers(Logger) - Static method in class bb.util.logging.LogUtil
Removes all of logger's Handlers.
removeIfPresent(Object) - Method in class bb.util.BidirectionalMap
Completely unmaps object from its partner, if an association exists.
removeListener(MemoryMonitorListener) - Method in class bb.util.MemoryMonitor
Attempts to remove listener from an internal set.
removeListener(ThreadMonitorListener) - Method in class bb.util.ThreadMonitor
Attempts to remove listener from an internal set.
removePropertyChangeListener(PropertyChangeListener) - Method in class bb.util.ListWithIndex
 
removeQuotes(String, int) - Static method in class bb.util.StringUtil
This utility method removes a matching leading and trailing pair of quote marks, if present, from the supplied String and returns the substring inside the quotes.
removeTransportListener(TransportListener) - Method in class bb.net.Emailer
Attempts to remove transportListener from an internal Set of TransportListeners.
rename(File, File) - Static method in class bb.io.DirUtil
Trys to rename directory1 to directory2, and throws an IOException if the rename failed.
rename(File, File) - Static method in class bb.io.FileUtil
Trys to rename file1 to file2.
repeatChars(char, int) - Static method in class bb.util.StringUtil
Returns a String of the specified length which consists of entirely of the char c.
replace(String, String) - Method in class bb.util.Properties2
replace(String, String, String) - Method in class bb.util.Properties2
replaceButton - Variable in class bb.util.logging.FrameLog
 
reportThreadContention - Variable in class bb.util.ThreadMeasurer
 
reportThreadTimes - Variable in class bb.util.ThreadMeasurer
 
RequestEcho - Class in bb.servlet
This servlet echoes back information about the request that was sent to it.
RequestEcho() - Constructor for class bb.servlet.RequestEcho
 
requiresGlyph(char) - Static method in class bb.gui.FontUtil
Determines whether or not c requires a glyph from a Font or not.
reset() - Method in class bb.io.ParseReader
Reset the stream.
resetFonts() - Static method in class bb.gui.FontUtil
Determines all the Fonts which are currently available on the running system and stores them in an internal field.
resetPreferences() - Static method in class bb.util.PreferencesUtil
Removes all Preferences nodes except for the system and user root nodes.
resetPreferences(Preferences) - Static method in class bb.util.PreferencesUtil
Since cannot remove a root node, this method instead removes all of root's children.
resizeBuffer(int) - Method in class bb.io.ParseReader
Resizes buffer to the requested (greater) capacity.
restoreJvm() - Static method in class bb.util.MemoryMeasurer
Tries to restore the JVM to as clean a state as possible.
retainAll(Collection<?>) - Method in class bb.util.Unmodifiables.UnmodifiableCollection
 
returnConnection(Connection) - Static method in class bb.jdbc.DBConnManager
Every Connection returned by getConnection must be sent back to this class by calling this method.
root - Static variable in class bb.io.ZipUtil.UnitTest
 
root_key - Static variable in class bb.util.JUnitExecutor
 
rootName - Variable in class bb.io.FileParent
If FileParent.parent is null, then this field holds a made up name for an imaginary root directory containing FileParent.file.
roundToCent(double) - Static method in class bb.util.NumberUtil
Rounds d to the nearest cent (i.e. second decimal place, 0.01) and returns this.
roundToMill(double) - Static method in class bb.util.NumberUtil
Rounds d to the nearest mill (i.e. third decimal place, 0.001) and returns this.
run() - Method in class bb.gui.DialogInputSecure.DialogTask
 
run() - Method in class bb.gui.SoundUtil.Player.Closer
 
run() - Method in class bb.io.ConsoleUtil.LineWriterTask
 
run() - Method in interface bb.io.StreamDrainer
Drains the InputStream supplied to init.
run() - Method in class bb.io.StreamDrainerForwarding
Drains the InputStream supplied to init.
run() - Method in class bb.io.StreamDrainerStoring
 
run() - Method in class bb.io.StreamDrainerStoring.UnitTest.ByteChunkSender
 
run() - Method in class bb.io.StreamUtil.Drainer
 
run() - Method in class bb.net.NetUtil.UnitTest.ServerSocketConnector
 
run() - Method in class bb.science.Bootstrap.UnitTest.CiTask
 
run() - Method in class bb.science.Bootstrap.UnitTest.CoverageTask
 
run() - Method in class bb.util.Benchmark.LfsrAdvancer
 
run() - Method in class bb.util.CommandLineInterface.StdinReader
 
run() - Method in class bb.util.Execute.TestGui
 
run(String, JUnitExecutor.PcmFilter) - Method in class bb.util.JUnitExecutor
Determines all the classes underneath root which contain JUnit 4 test methods (i.e. those which are annotated @Test) that pass pcmFilter.
run() - Method in class bb.util.logging.HandlerAbstract.UnitTest.LogGenerator
 
run() - Method in class bb.util.logging.HandlerAudio.SoundPlayer
 
run() - Method in class bb.util.logging.HandlerEmail.EmailSender
 
run() - Method in class bb.util.MemoryMonitor.MonitorTask
Detects any memory issues and calls the appropriate fireXXX event notification method.
run() - Method in class bb.util.OsUtil.ExecTask
 
run() - Method in class bb.util.ProgressIndicator.StatusUpdater
 
run() - Method in class bb.util.RandomUtil.UnitTest.SingleThread_MersenneTwisterFast
 
run() - Method in class bb.util.RandomUtil.UnitTest.SingleThread_RandomPerThread
 
run() - Method in class bb.util.ThreadMeasurer.UnitTest.DoubleLockAquirer
 
run() - Method in class bb.util.ThreadMonitor.MonitorTask
Detects any thread issues and calls the appropriate fireXXX event notification method.
run() - Method in class d.g.ObjectStateDisplay
...
runCalled - Variable in class bb.io.StreamDrainerForwarding
 

S

s(Object) - Static method in class d.g
Simply calls s(null, obj, true).
s(Object, boolean) - Static method in class d.g
Simply calls s(null, obj, pauseExecution).
s(String, Object) - Static method in class d.g
Simply calls s(label, obj, true).
s(String, Object, boolean) - Static method in class d.g
Displays obj's state in a new window.
s() - Static method in class d.p
Prints a blank line.
s(boolean) - Static method in class d.p
Prints b on a line.
s(char) - Static method in class d.p
Prints c on a line.
s(long) - Static method in class d.p
Prints l on a line.
s(double) - Static method in class d.p
Prints d on a line.
s(CharSequence) - Static method in class d.p
Prints charSequence on a line.
s(String, Object) - Static method in class d.p
Prints out label followed by obj.
sample - Variable in class bb.science.Bootstrap
 
sampleLength - Variable in class bb.science.Bootstrap.UnitTest.CiTask
 
sampleLength - Variable in class bb.science.Bootstrap.UnitTest.CoverageTask
 
sampleLength - Static variable in class bb.science.Bootstrap.UnitTest
 
Samples - Class in bb.science
Simply stores double values via the add method.
Samples() - Constructor for class bb.science.Samples
Constructor which allocates an initial buffer with size Samples.sizeInitial_default.
Samples(int) - Constructor for class bb.science.Samples
Constructor which allocates an initial buffer with size specified by sizeInitial.
samples - Variable in class bb.science.StatsOverTime
Stores the data values of the current bin.
Samples.UnitTest - Class in bb.science
See the Overview page of the project's javadocs for a general description of this unit test class.
Samples.UnitTest() - Constructor for class bb.science.Samples.UnitTest
 
sb - Variable in class bb.util.logging.FormatterFull.Parser
 
scaleFactor - Variable in class bb.science.Prefix
Convenience field that equals 10exponent.
scientificNotationFormat - Static variable in class bb.util.NumberUtil
 
ScreenShot - Class in bb.gui
Class which supports taking screen shots of the entire desktop, AWT Components, or Swing JComponents.
ScreenShot() - Constructor for class bb.gui.ScreenShot
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
ScreenShot.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
ScreenShot.UnitTest() - Constructor for class bb.gui.ScreenShot.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
ScreenShot.UnitTest.Gui - Class in bb.gui
 
ScreenShot.UnitTest.Gui() - Constructor for class bb.gui.ScreenShot.UnitTest.Gui
 
screenSize() - Static method in class bb.gui.SwingUtil
Returns the screen's size.
sd(double[]) - Static method in class bb.science.Math2
Returns sd(numbers, true).
sd(double[], boolean) - Static method in class bb.science.Math2
Returns sd(numbers, mean(numbers), biased).
sd(double[], double) - Static method in class bb.science.Math2
Returns sd(numbers, mean, true).
sd(double[], double, boolean) - Static method in class bb.science.Math2
Returns the standard deviation of numbers.
sd - Variable in class bb.util.Benchmark.Stats
Standard deviation of the execution time.
sdFractionThreshold - Variable in class bb.util.Benchmark.Params
Maximum fraction of the standard deviation (sd) present in Benchmark.statsBlock which may be due to effects besides Benchmark.task's intrinsic variation before a warning is issued that the sd is too high.
sdIssues - Variable in class bb.util.Benchmark.Stats
Records any issues with the standard deviation.
sdLower - Variable in class bb.util.Benchmark.Stats
Lower bound for the standard deviation's confidence interval.
sdUpper - Variable in class bb.util.Benchmark.Stats
Upper bound for the standard deviation's confidence interval.
second - Static variable in class bb.science.Unit
Models the SI base unit of time, the second.
second - Static variable in class bb.util.TimeLength
Length of 1 second in milliseconds.
secureRandomAlgorithm_default - Static variable in class bb.io.EncryptUtil
 
seeIfShouldExit(int) - Method in class bb.util.Execute
Contract: should never throw any Throwable, since will be used in a finally clause.
selectLevel(int) - Method in class bb.util.logging.HandlerAbstract.UnitTest.LogGenerator
 
send(String, String, String) - Method in class bb.net.Emailer
Convenience method that calls the more general send method with null values for the cc and bcc arguments.
send(String, String, String, String, String, Map<String, String>) - Method in class bb.net.Emailer
This method sends an email using the info in the arguments.
send(EthernetMacAddress, InetAddress) - Static method in class bb.net.MagicPacket
Simply calls send(ethernetMacAddress, inetAddress, port_default).
send(EthernetMacAddress, InetAddress, int) - Static method in class bb.net.MagicPacket
Sends the "magic packet" data (constructed from ethernetMacAddress) to inetAddress at port.
sendPostMessage(HttpURLConnection, HttpParameters) - Static method in class bb.net.HttpUtil
This method: sets the request method of the connection arg to "POST" adds the request property "Content-Type"/"application/x-www-form-urlencoded" writes parameters.toPostParameterString() to connection's OutputStream Note: this method performs no cleanup actions (e.g. closing the OutputStream).
sendUserMsg(String) - Method in class bb.util.Benchmark
Displays a non-critical message to the user.
separator - Static variable in class bb.util.MemoryMonitorListenerImpl
 
separator_default - Static variable in class bb.util.DateUtil
Default value for the separator param of getCacheIssues(prefix, separator).
separatorDefault - Static variable in class bb.util.MemoryState
Default value for the separator arg of MemoryState.toStringHeader(String)/MemoryState.toString(String, boolean).
sequenceNumber - Variable in class bb.util.logging.FormatterFull.Parser.LogRecordData
 
serialCorrelationIssues - Variable in class bb.util.Benchmark
Records any serial correlation issues that were found in the measurements.
serialVersionUID - Static variable in class bb.gui.BasicStrokeSerializer
 
serialVersionUID - Static variable in class bb.gui.DialogInputSecure
 
serialVersionUID - Static variable in class bb.gui.Displayer
 
serialVersionUID - Static variable in class bb.gui.DocumentLimitedLength
 
serialVersionUID - Static variable in class bb.gui.GraphicsLabel.UnitTest.Sheet
 
serialVersionUID - Static variable in class bb.gui.GroupLayout2
 
serialVersionUID - Static variable in class bb.gui.LinePanel
 
serialVersionUID - Static variable in class bb.gui.LookAndFeelDialog
 
serialVersionUID - Static variable in class bb.gui.MessageDialog
 
serialVersionUID - Static variable in class bb.gui.RectangleCanvas
 
serialVersionUID - Static variable in class bb.gui.Strut
 
serialVersionUID - Static variable in class bb.gui.TextFieldSecure.CaretSecure
 
serialVersionUID - Static variable in class bb.gui.TextFieldSecure.ContentSecure
 
serialVersionUID - Static variable in class bb.gui.TextFieldSecure.DocumentSecure
 
serialVersionUID - Static variable in class bb.gui.TextFieldSecure
 
serialVersionUID - Static variable in class bb.gui.ThrowableDialog
 
serialVersionUID - Static variable in class bb.gui.ThrowableDialog.UnitTest.TestDialog
 
serialVersionUID - Static variable in class bb.servlet.RequestEcho
 
serialVersionUID - Static variable in class bb.util.CaseInsensitiveComparator
 
serialVersionUID - Static variable in class bb.util.Collections2.UnmodifiableNavigableSet
 
serialVersionUID - Static variable in class bb.util.ConcurrentHashSet
 
serialVersionUID - Static variable in class bb.util.Date2
 
serialVersionUID - Static variable in class bb.util.DateUtil.IsoDateFormat
 
serialVersionUID - Static variable in class bb.util.JUnitExecutor.PcmFilter
 
serialVersionUID - Static variable in class bb.util.LocaleTimeZoneUtil.LocaleComparator
 
serialVersionUID - Static variable in class bb.util.logging.DialogMsgSuppress
 
serialVersionUID - Static variable in class bb.util.logging.FrameLog
 
serialVersionUID - Static variable in class bb.util.logging.Logger2.UnitTest.LogRecordCrashes
 
serialVersionUID - Static variable in class bb.util.ReflectUtil.FieldComparator
 
serialVersionUID - Static variable in class bb.util.Unmodifiables.UnmodifiableCollection
 
serialVersionUID - Static variable in class bb.util.Unmodifiables.UnmodifiableList
 
serialVersionUID - Static variable in class bb.util.Unmodifiables.UnmodifiableMap
 
serialVersionUID - Static variable in class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet
 
serialVersionUID - Static variable in class bb.util.Unmodifiables.UnmodifiableRandomAccessList
 
serialVersionUID - Static variable in class bb.util.Unmodifiables.UnmodifiableSet
 
serialVersionUID - Static variable in class bb.util.Unmodifiables.UnmodifiableSortedMap
 
serialVersionUID - Static variable in class bb.util.Unmodifiables.UnmodifiableSortedSet
 
serialVersionUID - Static variable in class d.g.ObjectStateDisplay
 
serverSocket - Variable in class bb.net.NetUtil.UnitTest.ServerSocketConnector
 
session - Variable in class bb.net.Emailer
Session used by this instance.
set(Object, String, Object) - Static method in class bb.util.ReflectUtil
Mutates the value of the field of obj which is named fieldName.
set(int) - Method in class bb.util.State
Adjusts the internal index to the specified index, which changes the state to the one at that index.
set(String) - Method in class bb.util.State
Moves to the specified state.
set(int, E) - Method in class bb.util.Unmodifiables.UnmodifiableList
 
setAlive(boolean) - Method in class bb.util.logging.HandlerAbstract
Mutator for HandlerAbstract.alive.
setAxis(int) - Method in class bb.gui.Strut
Mutator for the axis field.
setBarrier(CyclicBarrier) - Method in class bb.util.ThreadMonitor.UnitTest.ListenerTest
 
setBounds(int, int, int, int) - Method in class bb.gui.Strut
Overrides superclass implementation to enforce the fixed strut length requirement: if axis == xAxis, then the width arg is replaced by strutLength in a call to super.reshape; else if axis == yAxis, then the height arg is replaced by strutLength in a call to super.reshape.
setCleanFractionThreshold(double) - Method in class bb.util.Benchmark.Params
Mutator for Benchmark.Params.cleanFractionThreshold.
setConfidenceLevel(double) - Method in class bb.util.Benchmark.Params
Mutator for Benchmark.Params.confidenceLevel.
setConsoleFeedback(boolean) - Method in class bb.util.Benchmark.Params
Mutator for Benchmark.Params.consoleFeedback.
setDate(int) - Method in class bb.util.Date2
 
setDateInfoCacheSizeMax(int) - Static method in class bb.util.DateUtil
Sets the DateUtil.dateInfoCacheSizeMax field to sizeMax.
setDeadlocked(boolean) - Method in class bb.util.ThreadMonitor
 
setEncoding(String) - Method in class bb.util.logging.HandlerConsole
 
setErrorManager(ErrorManager) - Method in class bb.util.logging.HandlerConsole
 
setEstimateNoiseFloor(boolean) - Method in class bb.util.Benchmark.Params
Mutator for Benchmark.Params.estimateNoiseFloor.
setExecutionTimeGoal(double) - Method in class bb.util.Benchmark.Params
Mutator for Benchmark.Params.executionTimeGoal.
setFilter(Filter) - Method in class bb.util.logging.HandlerConsole
 
setFilter(Filter) - Method in class bb.util.logging.Logger2
 
setFormatter(Formatter) - Method in class bb.util.logging.HandlerConsole
 
setHeightMaxToPref(Component) - Static method in class bb.gui.ComponentUtil
Sets just the maximum height of component to its preferred height; the maximum width is left unchanged.
setHours(int) - Method in class bb.util.Date2
 
setIndex(int) - Method in class bb.util.ListWithIndex
Assigns the current value of index.
setLayout(LayoutManager) - Method in class bb.gui.LinePanel
Overrides the superclass version to forbid changing the LayoutManager after construction.
setLevel(Level) - Method in class bb.util.logging.HandlerConsole
 
setLevel(Level) - Method in class bb.util.logging.Logger2
 
setLineNumber(int) - Method in class bb.io.ParseReader
Set the current line number.
setManyExecutions(boolean) - Method in class bb.util.Benchmark.Params
Mutator for Benchmark.Params.manyExecutions.
setMaxTransverse(int) - Method in class bb.gui.Strut
Mutator for the maxTransverse field.
setMeasureCpuTime(boolean) - Method in class bb.util.Benchmark.Params
Mutator for Benchmark.Params.measureCpuTime.
setMemoryLow(boolean) - Method in class bb.util.MemoryMonitor
 
setMemoryState(MemoryState) - Method in class bb.util.MemoryMonitor
 
setMessage(String) - Method in class bb.gui.ThrowableDialog
Mutator for the message field.
setMinTransverse(int) - Method in class bb.gui.Strut
Mutator for the minTransverse field.
setMinutes(int) - Method in class bb.util.Date2
 
setMonth(int) - Method in class bb.util.Date2
 
setNumberActions(long) - Method in class bb.util.Benchmark.Params
Mutator for Benchmark.Params.numberActions.
setNumberMeasurements(int) - Method in class bb.util.Benchmark.Params
Mutator for Benchmark.Params.numberMeasurements.
setParent(Logger) - Method in class bb.util.logging.Logger2
 
setPercentCompleted(double) - Method in class bb.util.ProgressIndicator
 
setPreferredTransverse(int) - Method in class bb.gui.Strut
Mutator for the preferredTransverse field.
setPrintWriter(PrintWriter) - Static method in class d.p
Mutator for p.pw.
setSdFractionThreshold(double) - Method in class bb.util.Benchmark.Params
Mutator for Benchmark.Params.sdFractionThreshold.
setSeconds(int) - Method in class bb.util.Date2
 
setSizeMax(int) - Method in class bb.util.DateUtil.DateStringCache
Mutator for DateUtil.DateStringCache.sizeMax.
setStrutLength(int) - Method in class bb.gui.Strut
Mutator for the strutLength field.
setThreadState(String) - Method in class bb.util.ThreadMonitor
 
setThrowable(Throwable) - Method in class bb.gui.ThrowableDialog
Mutator for the throwable field.
setThrowable(Throwable) - Method in class bb.io.StreamDrainerForwarding
 
setThrowable(Throwable) - Method in class bb.io.StreamDrainerStoring
 
setTime(long) - Method in class bb.util.Date2
 
setUp() - Method in class bb.net.Emailer.UnitTest
 
setUp() - Method in class bb.util.UncaughtThrowableLogger.UnitTest
 
setupClass() - Static method in class bb.io.DirUtil.UnitTest
 
setupClass() - Static method in class bb.science.Bootstrap.UnitTest
 
setUseParentHandlers(boolean) - Method in class bb.util.logging.Logger2
 
SetUtil - Class in bb.util
Provides static utility methods for Sets.
SetUtil() - Constructor for class bb.util.SetUtil
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
SetUtil.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
SetUtil.UnitTest() - Constructor for class bb.util.SetUtil.UnitTest
 
setValue(V) - Method in class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntry
 
setWarmupTime(double) - Method in class bb.util.Benchmark.Params
Mutator for Benchmark.Params.warmupTime.
setWidthMaxToPref(Component) - Static method in class bb.gui.ComponentUtil
Sets just the maximum width of component to its preferred height; the maximum height is left unchanged.
setYear(int) - Method in class bb.util.Date2
 
shift(double, double) - Method in class bb.gui.GraphicsLabel
Returns shift(GraphicsLabel.getText(), dx, dy).
shift(String, double, double) - Method in class bb.gui.GraphicsLabel
Returns a new GraphicsLabel which is the same as this instance except that the GraphicsLabel.text field is changed to the text param and the GraphicsLabel.referencePoint field is shifted by the deltas.
short_1 - Static variable in class bb.util.ObjectState.UnitTest.SuperClass
 
short_2 - Static variable in class bb.util.ObjectState.UnitTest.SubClass
 
shouldRun(Description) - Method in class bb.util.JUnitExecutor.PcmFilter
 
shouldRun(JUnitExecutor.DescriptionFields) - Method in class bb.util.JUnitExecutor.PcmFilter
 
shouldRun(String, String, String) - Method in class bb.util.JUnitExecutor.PcmFilter
 
shouldWait - Variable in class bb.net.NetUtil.UnitTest.ServerSocketConnector
Condition predicate for this instance's condition queue (i.e. the wait/notifyAll calls below; see "Java Concurrency in Practice" by Goetz et al p. 296ff, especially p. 299).
shouldWait - Variable in class bb.util.Execute.TestGui
Condition predicate for this instance's condition queue (i.e. the wait/notifyAll calls below; see "Java Concurrency in Practice" by Goetz et al p. 296ff, especially p. 299).
shouldWait - Variable in class d.g.ObjectStateDisplay
 
showOnlyBasicInfo - Variable in class bb.gui.ThrowableDialog
 
shuffle(T[]) - Static method in class bb.util.ArrayUtil
Simply calls shuffle(a, new Random()).
shuffle(T[], Random) - Static method in class bb.util.ArrayUtil
Shuffles the elements of a in a random fashion.
shuffle(int[], Random) - Static method in class bb.util.ArrayUtil
Shuffles the elements of a in a random fashion.
sign(double) - Static method in class bb.science.Math2
Implements the sign function: returns -1 if x < 0, 0 if x == 0, 1 if x > 0.
size() - Method in class bb.science.Samples
Returns the number of values that have been added to this instance.
size - Variable in class bb.science.StatsOverTime.Stats
 
size() - Method in class bb.util.BufferFixed
Returns BufferFixed.deque.
size() - Method in class bb.util.ConcurrentHashSet
 
size() - Method in class bb.util.ListWithIndex
Returns the size of the internal List.
size() - Method in class bb.util.Properties2
 
size() - Method in class bb.util.Unmodifiables.UnmodifiableCollection
 
size() - Method in class bb.util.Unmodifiables.UnmodifiableMap
 
sizeInitial_default - Static variable in class bb.science.Samples
Specifies the default value for the initial size of the values buffer.
sizeMax - Variable in class bb.util.BufferFixed
Maximum number of elements that can be stored in BufferFixed.deque.
sizeMax - Variable in class bb.util.BufferFixed.State
Copy of the sizeMax field.
sizeMax - Variable in class bb.util.DateUtil.DateStringCache
Specifies the maximum number of elements that DateUtil.DateStringCache.dateToString and DateUtil.DateStringCache.stringToDate may hold.
sizeMax_default - Static variable in class bb.util.BufferFixed
Default value for BufferFixed.sizeMax.
sizeMax_default - Static variable in class bb.util.DateUtil.DateStringCache
Default value for DateUtil.DateStringCache.sizeMax.
skip(long) - Method in class bb.io.ParseReader
This method attempts to skip over the requested number of characters.
skipFully(long) - Method in class bb.io.ParseReader
This method guarantees to skip over the specified number of chars.
skipTillTokenNext(String) - Method in class bb.io.ParseReader
Returns skipTillTokenNext(token, true) (i.e. is always case sensitive).
skipTillTokenNext(String, boolean) - Method in class bb.io.ParseReader
Skips over as many chars as necessary until token is next on the stream.
skipWhitespace() - Method in class bb.io.ParseReader
Skips over all whitespace on the stream until hit first non-whitespace char (or end of stream); that first non-whitespace char will be what is next read from the stream.
sleepTime - Static variable in class bb.util.ProgressIndicator.StatusUpdater
 
sm - Variable in class bb.util.Unmodifiables.UnmodifiableSortedMap
 
sortedMap - Variable in class bb.util.Properties2
Holds all this instance's property data.
SoundFileFilter - Class in bb.io.filefilter
File filter that accepts sound files.
SoundFileFilter() - Constructor for class bb.io.filefilter.SoundFileFilter
Constructs a new SoundFileFilter instance.
soundOnTaskSuccess - Variable in class bb.util.Execute
 
Sounds - Class in bb.gui
Provides static utility methods which play various sounds.
Sounds() - Constructor for class bb.gui.Sounds
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
Sounds.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
Sounds.UnitTest() - Constructor for class bb.gui.Sounds.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
SoundUtil - Class in bb.gui
Provides static methods relating to sound.
SoundUtil() - Constructor for class bb.gui.SoundUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
SoundUtil.Player - Class in bb.gui
Generates a Clip from a URL and can play it, but most importantly it robustly ensures that the clip is eventually closed and that this close event gets propagated.
SoundUtil.Player(URL, int) - Constructor for class bb.gui.SoundUtil.Player
 
SoundUtil.Player.Closer - Class in bb.gui
Sleeps for the duration of the sound playback, and then calls StreamUtil.close( Player.this ).
SoundUtil.Player.Closer() - Constructor for class bb.gui.SoundUtil.Player.Closer
 
SoundUtil.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
SoundUtil.UnitTest() - Constructor for class bb.gui.SoundUtil.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
spacer - Static variable in class bb.util.logging.FormatterFull
 
spacer - Static variable in class bb.util.logging.FormatterShort
 
spaceTabCommaPattern - Static variable in class bb.util.StringUtil
A regex which matches any combination of one or more space, tab or comma chars.
splitByChar(String, char, int, boolean) - Static method in class bb.util.StringUtil
Identical to splitByLiteral except that the token delimiter is restricted to a single char, which allows an even more optimized algorithm to be used.
splitByLiteral(String, String, int, boolean) - Static method in class bb.util.StringUtil
Splits s into tokens.
springForwardDay - Static variable in class bb.util.DateUtil.UnitTest
 
ss - Variable in class bb.util.Unmodifiables.UnmodifiableSortedSet
 
sslFactory_default - Static variable in class bb.net.Emailer
Default value for the "mail.smtp.socketFactory.class" property.
sst(double[]) - Static method in class bb.science.Math2
Returns sst(numbers, mean(numbers)).
sst(double[], double) - Static method in class bb.science.Math2
Caluculates the SST (Sum of Squares, Total), that is, the sum of the squares of the differences from mean of each element of numbers.
start - Variable in class bb.io.ParseReader
Index (inclusive) of the position in ParseReader.buffer where data starts.
start - Variable in class bb.io.StreamUtil.TransferProgressReporter
 
startMonitoring() - Method in class bb.util.MemoryMonitor
Starts monitoring if it is currently not happening.
startMonitoring() - Method in class bb.util.ThreadMonitor
Starts monitoring if it is currently not happening.
state() - Static method in class bb.util.Check
Returns a Check.State instance.
state - Variable in class bb.util.MemoryMonitor
Last memory state that was detected.
state - Variable in class bb.util.RandomUtil.UnitTest.SingleThread_MersenneTwisterFast
 
state - Variable in class bb.util.RandomUtil.UnitTest.SingleThread_RandomPerThread
 
State - Class in bb.util
This class is meant to represent named states.
State(String[]) - Constructor for class bb.util.State
 
State(String[], int) - Constructor for class bb.util.State
 
state - Variable in class bb.util.ThreadMonitor
Last thread state that was detected.
stateInstance - Static variable in class bb.util.Check
 
StateMachine<E extends Enum<E>> - Class in bb.util
Simple implementation of a software state machine.
StateMachine(EnumMap<E, EnumSet<E>>) - Constructor for class bb.util.StateMachine
Fundamental constructor.
StateMachine(Class<E>, String...) - Constructor for class bb.util.StateMachine
Convenience constructor which parses the transition rules from a String.
StateMachine.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
StateMachine.UnitTest() - Constructor for class bb.util.StateMachine.UnitTest
 
StateMachine.UnitTest.Numbers - Enum in bb.util
 
StateMachine.UnitTest.Numbers() - Constructor for enum bb.util.StateMachine.UnitTest.Numbers
 
states - Variable in class bb.util.State
Contract: is never null, zero length, contains a blank element, or contains duplicate elements.
statsAction - Variable in class bb.util.Benchmark
If Benchmark.params.
statsBlock - Variable in class bb.util.Benchmark
If Benchmark.params.
StatsOverTime - Class in bb.science
Stores statistics over time of an arbitrary data source.
StatsOverTime() - Constructor for class bb.science.StatsOverTime
Calls this(StatsOverTime.binLength_default).
StatsOverTime(long) - Constructor for class bb.science.StatsOverTime
Fundamental constructor.
StatsOverTime.Stats - Class in bb.science
 
StatsOverTime.Stats(double[]) - Constructor for class bb.science.StatsOverTime.Stats
 
StatsOverTime.UnitTest - Class in bb.science
See the Overview page of the project's javadocs for a general description of this unit test class.
StatsOverTime.UnitTest() - Constructor for class bb.science.StatsOverTime.UnitTest
 
statusLabel - Variable in class bb.util.logging.FrameLog
 
statusUpdater - Variable in class bb.util.ProgressIndicator
 
stdErrBuffer - Static variable in class bb.util.JUnitExecutor.StdStreams
 
stdErrOriginal - Static variable in class bb.util.JUnitExecutor.StdStreams
 
stdOut - Variable in class bb.util.OsUtil.ExecTask
 
stdOutBuffer - Static variable in class bb.util.JUnitExecutor.StdStreams
 
stdOutOriginal - Static variable in class bb.util.JUnitExecutor.StdStreams
 
stdStreamOriginal - Variable in class bb.util.JUnitExecutor.BufferWithEcho
 
stopMonitoring() - Method in class bb.util.MemoryMonitor
Stops monitoring if it is currently happening.
stopMonitoring() - Method in class bb.util.ThreadMonitor
Stops monitoring if it is currently happening.
stopWaiting() - Method in class bb.net.NetUtil.UnitTest.ServerSocketConnector
 
StreamDrainer - Interface in bb.io
Defines methods for a type that can be used to drain InputStreams.
StreamDrainerForwarding - Class in bb.io
StreamDrainer implementation that immediately forwards all bytes read from its InputStream to another OutputStream.
StreamDrainerForwarding(OutputStream) - Constructor for class bb.io.StreamDrainerForwarding
Constructor that simply assigns StreamDrainerForwarding.out with the correspondingparameter.
StreamDrainerForwarding(InputStream, OutputStream) - Constructor for class bb.io.StreamDrainerForwarding
Constructor that assigns StreamDrainerForwarding.out with the corresponding parameter, and calls init with the in parameter.
StreamDrainerForwarding.UnitTest - Class in bb.io
See the Overview page of the project's javadocs for a general description of this unit test class.
StreamDrainerForwarding.UnitTest() - Constructor for class bb.io.StreamDrainerForwarding.UnitTest
 
StreamDrainerForwarding.UnitTest.Crashes - Class in bb.io
StreamDrainerForwarding subclass which overrides onBytesRead to always throw a RuntimeException.
StreamDrainerForwarding.UnitTest.Crashes(InputStream, OutputStream) - Constructor for class bb.io.StreamDrainerForwarding.UnitTest.Crashes
 
StreamDrainerStoring - Class in bb.io
StreamDrainer implementation that stores all bytes read from its InputStream.
StreamDrainerStoring() - Constructor for class bb.io.StreamDrainerStoring
No-arg constructor.
StreamDrainerStoring(InputStream) - Constructor for class bb.io.StreamDrainerStoring
Constructor that calls init with in.
StreamDrainerStoring.UnitTest - Class in bb.io
See the Overview page of the project's javadocs for a general description of this unit test class.
StreamDrainerStoring.UnitTest() - Constructor for class bb.io.StreamDrainerStoring.UnitTest
 
StreamDrainerStoring.UnitTest.ByteChunkSender - Class in bb.io
Once every 100 ms writes an element of StreamDrainerStoring.UnitTest.byteChunks to StreamDrainerStoring.UnitTest.ByteChunkSender.out, until no more elements left.
StreamDrainerStoring.UnitTest.ByteChunkSender(OutputStream) - Constructor for class bb.io.StreamDrainerStoring.UnitTest.ByteChunkSender
 
StreamUtil - Class in bb.io
Provides miscellaneous static utility methods for dealing with streams.
StreamUtil() - Constructor for class bb.io.StreamUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
StreamUtil.Drainer - Class in bb.io
Solely used by the internal worker thread of the above drain method.
StreamUtil.Drainer(InputStream, int) - Constructor for class bb.io.StreamUtil.Drainer
 
StreamUtil.TransferProgressReporter - Class in bb.io
Solely used for reporting progress of the transfer method.
StreamUtil.TransferProgressReporter(PrintWriter) - Constructor for class bb.io.StreamUtil.TransferProgressReporter
 
StreamUtil.UnitTest - Class in bb.io
See the Overview page of the project's javadocs for a general description of this unit test class.
StreamUtil.UnitTest() - Constructor for class bb.io.StreamUtil.UnitTest
 
String_1 - Variable in class bb.util.ObjectState.UnitTest.SuperClass
 
String_2 - Variable in class bb.util.ObjectState.UnitTest.SubClass
 
String_split(String, String) - Method in class bb.util.StringUtil.UnitTest
 
StringBuffer_1 - Variable in class bb.util.ObjectState.UnitTest.SuperClass
 
StringBuffer_2 - Variable in class bb.util.ObjectState.UnitTest.SubClass
 
stringContructorTrimsGarbage - Static variable in class bb.util.StringUtil
 
stringToDate - Variable in class bb.util.DateUtil.DateStringCache
Stores the String --> Date mappings.
StringUtil - Class in bb.util
Provides various static String (and sometimes char[]) utility methods.
StringUtil() - Constructor for class bb.util.StringUtil
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
StringUtil.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
StringUtil.UnitTest() - Constructor for class bb.util.StringUtil.UnitTest
 
Strut - Class in bb.gui
This class is a Component that is always a specified length along a specified direction.
Strut(int, int) - Constructor for class bb.gui.Strut
Simply calls this(axis, strutLength, 0, null).
Strut(int, int, int, Color) - Constructor for class bb.gui.Strut
Simply calls this(axis, strutLength, Integer.MAX_VALUE, preferredTransverse, 0, color).
Strut(int, int, int, int, int, Color) - Constructor for class bb.gui.Strut
Constructs a new Strut instance with the specified strut orientation axis, length, max-preferred-minimum transverse sizes, and color.
strutLength - Variable in class bb.gui.Strut
Stores the length of this strut along the orientation axis.
subjectPrefix - Variable in class bb.util.logging.HandlerEmail.EmailSender
 
subjectPrefix - Variable in class bb.util.logging.HandlerEmail
Is the email subject field's prefix used by HandlerEmail.threadEmailer's emailer.
subList(int, int) - Method in class bb.util.Unmodifiables.UnmodifiableList
 
subList(int, int) - Method in class bb.util.Unmodifiables.UnmodifiableRandomAccessList
 
subMap(String, String) - Method in class bb.util.Properties2
subMap(K, K) - Method in class bb.util.Unmodifiables.UnmodifiableSortedMap
 
subSet(E, boolean, E, boolean) - Method in class bb.util.Collections2.UnmodifiableNavigableSet
 
subSet(E, E) - Method in class bb.util.Unmodifiables.UnmodifiableSortedSet
 
subtractParallelComponent(double[], double[]) - Static method in class bb.science.Math2
Subtracts from vector v1 that component which lies parallel to vector v2.
suffixes - Static variable in class bb.io.filefilter.CompoundFilter.UnitTest
 
suffixes - Variable in class bb.io.filefilter.SuffixFilter
 
SuffixFilter - Class in bb.io.filefilter
Subclass of RegexFilter that makes it convenient to match Files based on their endings.
SuffixFilter(String...) - Constructor for class bb.io.filefilter.SuffixFilter
Calls this( RegexFilter.toSet(java.lang.String...)(suffixes) ).
SuffixFilter(Set<String>) - Constructor for class bb.io.filefilter.SuffixFilter
Calls this(suffixes, FileMode.test, DirectoryMode.reject).
SuffixFilter(Set<String>, FileMode, DirectoryMode) - Constructor for class bb.io.filefilter.SuffixFilter
Calls this(suffixes, fileMode, directoryMode, OtherMode.reject, PartMode.name).
SuffixFilter(Set<String>, FileMode, DirectoryMode, OtherMode, PartMode) - Constructor for class bb.io.filefilter.SuffixFilter
Constructs a new SuffixFilter instance.
SuffixFilter.UnitTest - Class in bb.io.filefilter
See the Overview page of the project's javadocs for a general description of this unit test class.
SuffixFilter.UnitTest() - Constructor for class bb.io.filefilter.SuffixFilter.UnitTest
 
sum(double[]) - Static method in class bb.science.Math2
Returns the sum of every element of numbers.
suppressDateStringCaches() - Static method in class bb.util.DateUtil
Calls setSizeMax(0) on all the DateUtil.DateStringCache fields of this class: DateUtil.dayOfYearCache, DateUtil.timeOfDayStampCache, DateUtil.timeOfDayStampForFileCache, DateUtil.timeStampCache, DateUtil.timeStampForFileCache.
suppressMsg(String) - Static method in class bb.util.logging.FilterMsgSuppress
Adds msg to FilterMsgSuppress.msgsSuppressed. swap(T[], int, int) - Static method in class bb.util.ArrayUtil
Swaps elements i and j of a.
swap(int[], int, int) - Static method in class bb.util.ArrayUtil
Swaps elements i and j of a.
swap() - Static method in class bb.util.JUnitExecutor.StdStreams
 
SwingUtil - Class in bb.gui
General static utility methods that are useful for Swing programming.
SwingUtil() - Constructor for class bb.gui.SwingUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
SwingUtil.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
SwingUtil.UnitTest() - Constructor for class bb.gui.SwingUtil.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
symbol - Variable in class bb.science.Prefix
The symbol that identifies this prefix (e.g. m, k, M etc).
symbol - Variable in class bb.science.Unit
The symbol for the unit (e.g. m, g, etc).
synch - Variable in class bb.util.RandomUtil.UnitTest.SingleThread_MersenneTwisterFast
 

T

tabSize - Static variable in class d.g.ObjectStateDisplay
Specifies how many spaces a tab char will expand to when display Strings.
tailMap(String) - Method in class bb.util.Properties2
tailMap(K) - Method in class bb.util.Unmodifiables.UnmodifiableSortedMap
 
tailSet(E, boolean) - Method in class bb.util.Collections2.UnmodifiableNavigableSet
 
tailSet(E) - Method in class bb.util.Unmodifiables.UnmodifiableSortedSet
 
take() - Static method in class bb.gui.ScreenShot
Takes a screen shot of the entire desktop.
take(Rectangle) - Static method in class bb.gui.ScreenShot
Takes a screen shot of the specified region of the desktop.
take(Component) - Static method in class bb.gui.ScreenShot
Takes a screen shot of that part of the desktop whose area is where component lies.
take(Component, Rectangle) - Static method in class bb.gui.ScreenShot
Takes a screen shot of that part of the desktop whose area is the region relative to where component lies.
take(JComponent) - Static method in class bb.gui.ScreenShot
Takes a screen shot of just jcomponent (no other gui elements will be present in the result).
take(JComponent, Rectangle) - Static method in class bb.gui.ScreenShot
Takes a screen shot of just the specified region of jcomponent (no other gui elements will be present in the result).
taps - Variable in class bb.science.Lfsr
 
tarableFileSizeLimit - Static variable in class bb.io.TarUtil
Maximum size of a file that can be put into a TAR archive file by this class.
TarableFilter - Class in bb.io.filefilter
Filter that accepts everything which passes TarUtil.isTarable.
TarableFilter(FileFilterListener) - Constructor for class bb.io.filefilter.TarableFilter
Constructor.
tarCommand(File, File) - Method in class bb.io.TarUtil.UnitTest
 
tarFile_key - Static variable in class bb.io.TarUtil
 
TarFilter - Class in bb.io.filefilter
File filter that accepts TAR Archive files.
TarFilter() - Constructor for class bb.io.filefilter.TarFilter
Constructs a new TarFilter instance.
target - Variable in class bb.gui.LookAndFeelDialog
The Component whose Look and Feel will be changed by this instance.
TarUtil - Class in bb.io
Provides static utility methods for dealing with TAR Files.
TarUtil() - Constructor for class bb.io.TarUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
TarUtil.UnitTest - Class in bb.io
See the Overview page of the project's javadocs for a general description of this unit test class.
TarUtil.UnitTest() - Constructor for class bb.io.TarUtil.UnitTest
 
task - Variable in class bb.util.Benchmark
Packages the target code that will be benchmarked.
task - Variable in class bb.util.Execute
 
taskFirst - Variable in class bb.science.Bootstrap.UnitTest.CiResult
 
taskFirst - Variable in class bb.science.Bootstrap.UnitTest.CoverageResult
 
tearDown() - Method in class bb.net.Emailer.UnitTest
 
tearDown() - Method in class bb.util.UncaughtThrowableLogger.UnitTest
 
teardownClass() - Static method in class bb.io.DirUtil.UnitTest
 
teardownClass() - Static method in class bb.science.Bootstrap.UnitTest
 
tera - Static variable in class bb.science.Prefix
Models the SI prefix for 1012, the tera.
test_accept() - Method in class bb.io.filefilter.RegexFilter.UnitTest
 
test_accept() - Method in class bb.io.filefilter.SuffixFilter.UnitTest
 
test_accepts() - Method in class bb.util.DateConstraint.UnitTest
 
test_add() - Method in class bb.science.Samples.UnitTest
 
test_add_shouldFail() - Method in class bb.science.StatsOverTime.UnitTest
 
test_add_shouldPass() - Method in class bb.science.StatsOverTime.UnitTest
 
test_all() - Method in class bb.io.FileRollingWriter.UnitTest
 
test_all() - Method in class bb.io.ParseReader.UnitTest
 
test_all() - Method in class bb.io.StreamDrainerForwarding.UnitTest
Confirms that StreamDrainerForwarding immediately dumps to System.out all the bytes it drains from an InputStream.
test_all() - Method in class bb.io.StreamDrainerStoring.UnitTest
 
test_all() - Method in class bb.net.EthernetMacAddress.UnitTest
 
test_all_makeLogsConcurrentlyRapidly(int, Handler) - Method in class bb.util.logging.HandlerAbstract.UnitTest
 
test_all_makeLogsSeriallySlowly(int, Handler) - Method in class bb.util.logging.HandlerAbstract.UnitTest
 
test_all_shouldPass1() - Method in class bb.science.Bins.UnitTest
Tests a very simple case of a small data sample put into 2 bins, where the expected results are trivial to calculate.
test_all_shouldPass2() - Method in class bb.science.Bins.UnitTest
Tests the percent histogram example cited in the class javadocs.
test_all_shouldPass3() - Method in class bb.science.Bins.UnitTest
Tests many random scenarios by checking that Bins can at least be constructed without Exception.
test_archive_extract() - Method in class bb.io.TarUtil.UnitTest
 
test_archive_extract() - Method in class bb.io.ZipUtil.UnitTest
 
test_archive_extract_fileSizeLimit_shouldFail() - Method in class bb.io.TarUtil.UnitTest
 
test_archive_extract_fileSizeLimit_shouldFail() - Method in class bb.io.ZipUtil.UnitTest
 
test_archive_extract_fileSizeLimit_shouldPass() - Method in class bb.io.TarUtil.UnitTest
 
test_archive_extract_fileSizeLimit_shouldPass() - Method in class bb.io.ZipUtil.UnitTest
 
test_archive_extract_pathLengthLimit() - Method in class bb.io.TarUtil.UnitTest
 
test_areContentsSame() - Method in class bb.io.DirUtil.UnitTest
 
test_arraysToTextColumns() - Method in class bb.util.StringUtil.UnitTest
 
test_asciiBytesToChars() - Method in class bb.util.StringUtil.UnitTest
 
test_asciiBytesToChars_fail() - Method in class bb.util.StringUtil.UnitTest
 
test_asynchronousMode() - Static method in class bb.gui.MessageDialog.UnitTest
 
test_audit() - Method in class bb.util.Properties2.UnitTest
Calls all the methods which should use audit to log a mutation.
test_autocorrelationStatisticsMethods() - Method in class bb.science.Math2.UnitTest
 
test_Benchmark() - Method in class bb.util.Benchmark.UnitTest
Results on 2009-08-07 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): Thread.sleep: first = 100.549 ms, mean = 100.575 ms (CI deltas: -31.408 us, +8.119 us), sd = 74.747 us (CI deltas: -72.195 us, +48.902 us) WARNING: EXECUTION TIMES HAVE EXTREME OUTLIERS, execution times may have serial correlation, SD VALUES MAY BE INACCURATE Benchmark correctly measured a known execution time task.
test_bitTwiddling() - Method in class bb.science.Math2.UnitTest
 
test_bytesXXXToLong() - Method in class bb.util.NumberUtil.UnitTest
 
test_calendarLeapSecondBehavior() - Method in class bb.util.DateUtil.UnitTest
Result of running this method on 2004/9/27: dateAfterLeapSecondFirst.getTime() % TimeLength.day = 0 which means that my machine did NOT take a leap second into account?
test_callLogError() - Method in class bb.util.ReflectUtil.UnitTest
 
test_changeExtension() - Method in class bb.io.FileUtil.UnitTest
 
test_checkKeys_fail() - Method in class bb.util.Properties2.UnitTest
 
test_checkKeys_pass() - Method in class bb.util.Properties2.UnitTest
 
test_compare() - Method in class bb.util.CaseInsensitiveComparator.UnitTest
 
test_concatenate() - Method in class bb.util.ArrayUtil.UnitTest
 
test_constructor_StringArray_fail1() - Method in class bb.util.Properties2.UnitTest
 
test_constructor_StringArray_fail2() - Method in class bb.util.Properties2.UnitTest
 
test_constructor_StringArray_fail3() - Method in class bb.util.Properties2.UnitTest
 
test_constructor_StringArray_pass() - Method in class bb.util.Properties2.UnitTest
 
test_copy_compareContents() - Method in class bb.io.FileUtil.UnitTest
 
test_delete() - Method in class bb.io.FileUtil.UnitTest
 
test_describe() - Method in class bb.util.ObjectState.UnitTest
 
test_diagnoseGetProblem() - Method in class bb.util.ReflectUtil.UnitTest
 
test_diagnoseOutliers() - Method in class bb.util.Benchmark.UnitTest
Results on 2009-04-09 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): Benchmark correctly detected the following outlier issues: --EXECUTION TIMES APPEAR TO HAVE OUTLIERS --this was determined using the boxplot algorithm with median = 2.565 s, interquantileRange = 458.222 ms --1 are EXTREME (on the low side): #0 = 0.0 s --1 are mild (on the low side): #1 = 1.25 s --1 are EXTREME (on the high side): #59 = 5.0 s --1 are mild (on the high side): #58 = 3.75 s
test_diagnoseProblem() - Method in class bb.util.StringUtil.UnitTest
 
test_diagnoseSerialCorrelation() - Method in class bb.util.Benchmark.UnitTest
Results on 2009-04-09 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): Benchmark correctly detected the following serial correlation issues: --EXECUTION TIMES HAVE SERIAL CORRELATION --1 of the 15 autocorrelation function coefficients (r[k]) that were computed are expected to fall outside their 95% CI --but found these 3: r[1] is 3.7109230528011716 sigma above its mean, r[3] is 2.4956492069489786 sigma above its mean, r[4] is 2.2879399503263147 sigma above its mean --the 95% CI for the r[k] was calculated as mean +- 1.96 sigma (i.e. a Gaussian distribution was assumed)
test_directoryHandling() - Method in class bb.io.filefilter.BaseFilter.UnitTest
 
test_drain_shouldFail() - Method in class bb.io.StreamUtil.UnitTest
 
test_drain_shouldPass1() - Method in class bb.io.StreamUtil.UnitTest
 
test_drain_shouldPass2() - Method in class bb.io.StreamUtil.UnitTest
 
test_drainXXX_getInputStream_getOutputStream() - Method in class bb.net.UrlUtil.UnitTest
 
test_edt_fail() - Method in class bb.util.Check.UnitTest
 
test_edt_pass() - Method in class bb.util.Check.UnitTest
 
test_empty_fail() - Method in class bb.util.Check.UnitTest
 
test_empty_pass() - Method in class bb.util.Check.UnitTest
 
test_enhance() - Method in class bb.util.HashUtil.UnitTest
 
test_ensureSuffix() - Method in class bb.util.StringUtil.UnitTest
 
test_equals_fail_1() - Method in class bb.util.Check.UnitTest
 
test_equals_fail_10() - Method in class bb.util.Check.UnitTest
 
test_equals_fail_11() - Method in class bb.util.Check.UnitTest
 
test_equals_fail_12() - Method in class bb.util.Check.UnitTest
 
test_equals_fail_2() - Method in class bb.util.Check.UnitTest
 
test_equals_fail_3() - Method in class bb.util.Check.UnitTest
 
test_equals_fail_4() - Method in class bb.util.Check.UnitTest
 
test_equals_fail_5() - Method in class bb.util.Check.UnitTest
 
test_equals_fail_6() - Method in class bb.util.Check.UnitTest
 
test_equals_fail_7() - Method in class bb.util.Check.UnitTest
 
test_equals_fail_8() - Method in class bb.util.Check.UnitTest
 
test_equals_fail_9() - Method in class bb.util.Check.UnitTest
 
test_equals_pass() - Method in class bb.util.Check.UnitTest
 
test_execAsynch_shouldPass() - Method in class bb.util.OsUtil.UnitTest
 
test_execSynch_shouldFail() - Method in class bb.util.OsUtil.UnitTest
 
test_execSynch_shouldPass() - Method in class bb.util.OsUtil.UnitTest
 
test_extractUrl_analyseUrl() - Method in class bb.net.UrlUtil.UnitTest
 
test_fieldsDeclaredReport() - Method in class bb.util.ReflectUtil.UnitTest
 
test_fileHandling() - Method in class bb.io.filefilter.BaseFilter.UnitTest
 
test_filtering() - Method in class bb.io.filefilter.CompoundFilter.UnitTest
 
test_Filters() - Method in class bb.util.ObjectState.UnitTest
 
test_findBestFont() - Static method in class bb.gui.FontUtil.UnitTest
Results on 2009-02-16 on my 2.0 GHz Core 2 Duo laptop (server jvm): findBestFont(charsAll): java.awt.Font[family=Arial Unicode MS,name=Arial Unicode MS,style=plain,size=12]
test_findBestFontFamily() - Static method in class bb.gui.FontUtil.UnitTest
Results on 2009-02-16 on my 2.0 GHz Core 2 Duo laptop (server jvm): findBestFontFamily("Courier New", "Courier", "Terminal", "FixedSys", "Andale Mono", "Lucida Console", "Monaco", "Monospaced"): Courier New
test_findClassFile_getBytes() - Method in class bb.util.ClassUtil.UnitTest
 
test_findDisplayableCharPercent() - Static method in class bb.gui.FontUtil.UnitTest
Results on 2009-02-16 on my 2.0 GHz Core 2 Duo laptop (server jvm): findDisplayableCharPercent(aLogicalFont, charsAll) = 0.565673828125
test_findSignature() - Method in class bb.util.ReflectUtil.UnitTest
 
test_format() - Method in class bb.util.logging.FormatterShort.UnitTest
 
test_freeze_copy() - Method in class bb.util.Properties2.UnitTest
 
test_freeze_fail() - Method in class bb.util.Properties2.UnitTest
 
test_gaussianAndersonDarling() - Method in class bb.science.Math2.UnitTest
When last looked at the output on 2009-09-24, consistently saw: andersonDarling1 (Gaussian sample) = 0.13459667082165735, andersonDarling2 (uniform distribution sample) = 11170.383267133551 andersonDarling1 (Gaussian sample) = 0.18940867401726738, andersonDarling2 (uniform distribution sample) = 11064.463336125908 andersonDarling1 (Gaussian sample) = 0.3984548680792433, andersonDarling2 (uniform distribution sample) = 11038.706942927185 andersonDarling1 (Gaussian sample) = 0.41313940626760093, andersonDarling2 (uniform distribution sample) = 11217.005208263494 andersonDarling1 (Gaussian sample) = 0.27588003071356976, andersonDarling2 (uniform distribution sample) = 11115.653184588584 The average value above for andersonDarling1 of ~0.25 compares well with the value 0.2576117 that is reported in the "anderson darling normal test y1" section of this reference.
test_gaussianFit() - Method in class bb.science.Math2.UnitTest
 
test_gaussianKolmogorovSmirnov() - Method in class bb.science.Math2.UnitTest
When last looked at the output on 2009-09-24, consistently saw: kolmogorovSmirnov1 (Gaussian sample) = 0.5506861389029671, kolmogorovSmirnov2 (uniform distribution sample) = 57.55263461482368 kolmogorovSmirnov1 (Gaussian sample) = 0.7466358894082092, kolmogorovSmirnov2 (uniform distribution sample) = 57.34064194461067 kolmogorovSmirnov1 (Gaussian sample) = 0.7624236873765011, kolmogorovSmirnov2 (uniform distribution sample) = 57.16759617069217 kolmogorovSmirnov1 (Gaussian sample) = 0.836100754503244, kolmogorovSmirnov2 (uniform distribution sample) = 57.28774638323175 kolmogorovSmirnov1 (Gaussian sample) = 0.6035095000266333, kolmogorovSmirnov2 (uniform distribution sample) = 57.28436577988172 The average value above for kolmogorovSmirnov1 of ~0.65 is well under the critical value (so this test correctly accepts 1 as a Gaussian).
test_generateToStringCode() - Method in class bb.util.ObjectState.UnitTest
 
test_generateToStringLabeledCode() - Method in class bb.util.ObjectState.UnitTest
 
test_get_set() - Method in class bb.util.ReflectUtil.UnitTest
 
test_getContents() - Method in class bb.io.DirUtil.UnitTest
 
test_getDeadlockState() - Method in class bb.util.ThreadMeasurer.UnitTest
Warning: after this method returns, there will be dealocked threads in existence, but they will have daemon status.
test_getDescription() - Method in class bb.io.filefilter.CompoundFilter.UnitTest
 
test_getEnumValues() - Method in class bb.util.ReflectUtil.UnitTest
 
test_getFilesInTree() - Method in class bb.io.DirUtil.UnitTest
 
test_getFontFamilyNames() - Static method in class bb.gui.FontUtil.UnitTest
Results on 2009-08-21 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_15 server jvm):
test_getFonts() - Static method in class bb.gui.FontUtil.UnitTest
Results on 2009-08-21 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_15 server jvm):
test_getFtpUrl_writeFileToUrl() - Method in class bb.net.NetUtil.UnitTest
 
test_getInputSecure() - Static method in class bb.gui.DialogInputSecure.UnitTest
 
test_getLogger2() - Method in class bb.util.logging.LogUtil.UnitTest
 
test_getMemoryState() - Method in class bb.util.MemoryMeasurer.UnitTest
 
test_getMillValue() - Method in class bb.util.NumberUtil.UnitTest
 
test_getNameSimple() - Method in class bb.util.ClassUtil.UnitTest
 
test_getPackage() - Method in class bb.util.ClassUtil.UnitTest
 
test_getParentRelativeTo() - Method in class bb.io.FileUtil.UnitTest
 
test_getRelativePath() - Method in class bb.io.FileUtil.UnitTest
 
test_getScalePrefix() - Method in class bb.science.Prefix.UnitTest
 
test_getSocketState() - Method in class bb.net.NetUtil.UnitTest
 
test_getStackTraceString() - Method in class bb.util.ThreadUtil.UnitTest
 
test_getStackTraceString() - Method in class bb.util.ThrowableUtil.UnitTest
 
test_getThreadState() - Method in class bb.util.ThreadMeasurer.UnitTest
 
test_getTree() - Method in class bb.io.DirUtil.UnitTest
 
test_getTypeAndMessage() - Method in class bb.util.ThrowableUtil.UnitTest
 
test_getXXX() - Method in class bb.util.OsUtil.UnitTest
 
test_getXXX_fail1() - Method in class bb.util.DateUtil.UnitTest
 
test_getXXX_fail2() - Method in class bb.util.DateUtil.UnitTest
 
test_getXXX_pass() - Method in class bb.util.DateUtil.UnitTest
 
test_getXXXExtension() - Method in class bb.io.FileUtil.UnitTest
 
test_getXXXStamp() - Method in class bb.util.DateUtil.UnitTest
 
test_hasSize_fail_1() - Method in class bb.util.Check.UnitTest
 
test_hasSize_fail_2() - Method in class bb.util.Check.UnitTest
 
test_hasSize_fail_3() - Method in class bb.util.Check.UnitTest
 
test_hasSize_fail_4() - Method in class bb.util.Check.UnitTest
 
test_hasSize_pass() - Method in class bb.util.Check.UnitTest
 
test_indentLines() - Method in class bb.util.StringUtil.UnitTest
 
test_infinite_fail_double() - Method in class bb.util.Check.UnitTest
 
test_infinite_fail_float() - Method in class bb.util.Check.UnitTest
 
test_infinite_pass() - Method in class bb.util.Check.UnitTest
 
test_infinityBehavior() - Method in class bb.science.Math2.UnitTest
Confirms that certain corner cases concerning floating point infinity arithmetic behave as my code above assumes. test_infoTheory() - Method in class bb.science.Math2.UnitTest
 
test_isAllAsciiChars() - Method in class bb.util.StringUtil.UnitTest
 
test_isFalse_fail() - Method in class bb.util.Check.UnitTest
 
test_isFalse_pass() - Method in class bb.util.Check.UnitTest
 
test_isNull_fail() - Method in class bb.util.Check.UnitTest
 
test_isNull_pass() - Method in class bb.util.Check.UnitTest
 
test_isTrimmable() - Method in class bb.util.StringUtil.UnitTest
 
test_isTrue_fail() - Method in class bb.util.Check.UnitTest
 
test_isTrue_pass() - Method in class bb.util.Check.UnitTest
 
test_isXXX() - Method in class bb.util.DateUtil.UnitTest
 
test_isXXX() - Method in class bb.util.ReflectUtil.UnitTest
 
test_keepWithinLength() - Method in class bb.util.StringUtil.UnitTest
 
test_linearLeastSquaresFit() - Method in class bb.science.Math2.UnitTest
 
test_log() - Method in class bb.util.logging.Logger2.UnitTest
 
test_logIfNew() - Method in class bb.util.logging.Logger2.UnitTest
 
test_LogManagerBug() - Method in class bb.util.logging.LogUtil.UnitTest
Must run with a logging.properties file that only contains: com.xyz.level = FINE com.level = INFO Note how the child Logger's level is defined first.
test_LogRecordParser() - Method in class bb.util.logging.FormatterFull.UnitTest
 
test_logsPowersEtc() - Method in class bb.science.Math2.UnitTest
 
test_lowLevelStatisticsArrayMethods() - Method in class bb.science.Math2.UnitTest
 
test_magicPacketData() - Method in class bb.net.MagicPacket.UnitTest
This test is taken from http://users.pandora.be/jbosman/poweroff/poweroff.htm (see "3.2.8 Wake-On-LAN").
test_main() - Method in class bb.io.EncryptUtil.UnitTest
 
test_makeLogger2() - Method in class bb.util.logging.LogUtil.UnitTest
 
test_makeSeed() - Method in class bb.util.RandomUtil.UnitTest
 
test_maximizeWindow() - Static method in class bb.gui.SwingUtil.UnitTest
 
test_modulo() - Method in class bb.science.Math2.UnitTest
 
test_move() - Method in class bb.io.FileUtil.UnitTest
 
test_naN_fail_double() - Method in class bb.util.Check.UnitTest
 
test_naN_fail_float() - Method in class bb.util.Check.UnitTest
 
test_naN_pass() - Method in class bb.util.Check.UnitTest
 
test_negative_double_fail_1() - Method in class bb.util.Check.UnitTest
 
test_negative_double_fail_2() - Method in class bb.util.Check.UnitTest
 
test_negative_double_pass() - Method in class bb.util.Check.UnitTest
 
test_negative_int_fail() - Method in class bb.util.Check.UnitTest
 
test_negative_int_pass() - Method in class bb.util.Check.UnitTest
 
test_negative_long_fail() - Method in class bb.util.Check.UnitTest
 
test_negative_long_pass() - Method in class bb.util.Check.UnitTest
 
test_newString() - Method in class bb.util.StringUtil.UnitTest
 
test_nonBlank_pass() - Method in class bb.util.Check.UnitTest
 
test_normalize() - Method in class bb.science.Math2.UnitTest
 
test_normalizeWhitespace() - Method in class bb.util.StringUtil.UnitTest
 
test_notBlank_fail_1() - Method in class bb.util.Check.UnitTest
 
test_notBlank_fail_2() - Method in class bb.util.Check.UnitTest
 
test_notBlank_fail_3() - Method in class bb.util.Check.UnitTest
 
test_notEmpty_fail_1() - Method in class bb.util.Check.UnitTest
 
test_notEmpty_fail_2() - Method in class bb.util.Check.UnitTest
 
test_notEmpty_fail_3() - Method in class bb.util.Check.UnitTest
 
test_notEmpty_fail_4() - Method in class bb.util.Check.UnitTest
 
test_notEmpty_pass() - Method in class bb.util.Check.UnitTest
 
test_notInfinite_fail_double1() - Method in class bb.util.Check.UnitTest
 
test_notInfinite_fail_double2() - Method in class bb.util.Check.UnitTest
 
test_notInfinite_fail_float1() - Method in class bb.util.Check.UnitTest
 
test_notInfinite_fail_float2() - Method in class bb.util.Check.UnitTest
 
test_notInfinite_pass() - Method in class bb.util.Check.UnitTest
 
test_notNaN_fail_double() - Method in class bb.util.Check.UnitTest
 
test_notNaN_fail_float() - Method in class bb.util.Check.UnitTest
 
test_notNaN_pass() - Method in class bb.util.Check.UnitTest
 
test_notNegative_double_fail_1() - Method in class bb.util.Check.UnitTest
 
test_notNegative_double_fail_2() - Method in class bb.util.Check.UnitTest
 
test_notNegative_double_pass() - Method in class bb.util.Check.UnitTest
 
test_notNegative_int_fail() - Method in class bb.util.Check.UnitTest
 
test_notNegative_int_pass() - Method in class bb.util.Check.UnitTest
 
test_notNegative_long_fail() - Method in class bb.util.Check.UnitTest
 
test_notNegative_long_pass() - Method in class bb.util.Check.UnitTest
 
test_notNull_fail() - Method in class bb.util.Check.UnitTest
 
test_notNull_pass() - Method in class bb.util.Check.UnitTest
 
test_notPositive_double_fail_1() - Method in class bb.util.Check.UnitTest
 
test_notPositive_double_fail_2() - Method in class bb.util.Check.UnitTest
 
test_notPositive_double_pass() - Method in class bb.util.Check.UnitTest
 
test_notPositive_int_fail() - Method in class bb.util.Check.UnitTest
 
test_notPositive_int_pass() - Method in class bb.util.Check.UnitTest
 
test_notPositive_long_fail() - Method in class bb.util.Check.UnitTest
 
test_notPositive_long_pass() - Method in class bb.util.Check.UnitTest
 
test_notZero_double_fail() - Method in class bb.util.Check.UnitTest
 
test_notZero_double_pass() - Method in class bb.util.Check.UnitTest
 
test_notZero_int_fail() - Method in class bb.util.Check.UnitTest
 
test_notZero_int_pass() - Method in class bb.util.Check.UnitTest
 
test_offsetAndLength_fail() - Method in class bb.util.Check.UnitTest
 
test_offsetAndLength_pass() - Method in class bb.util.Check.UnitTest
 
test_onBytesRead() - Method in class bb.io.StreamDrainerForwarding.UnitTest
Confirms that the onBytesRead is being called by using a StreamDrainerForwarding.UnitTest.Crashes instance.
test_onMemoryXXX() - Method in class bb.util.MemoryMonitor.UnitTest
 
test_onXXX() - Method in class bb.util.ThreadMonitor.UnitTest
 
test_otherHandling() - Method in class bb.io.filefilter.BaseFilter.UnitTest
 
test_parse() - Method in class bb.util.MemoryState.UnitTest
 
test_parseDouble() - Method in class bb.util.NumberUtil.UnitTest
 
test_parseInt_fail1() - Method in class bb.util.NumberUtil.UnitTest
 
test_parseInt_fail2() - Method in class bb.util.NumberUtil.UnitTest
 
test_parseInt_pass1() - Method in class bb.util.NumberUtil.UnitTest
 
test_parseInt_pass2() - Method in class bb.util.NumberUtil.UnitTest
 
test_parseLines() - Method in class bb.util.StringUtil.UnitTest
 
test_parseLong_fail1() - Method in class bb.util.NumberUtil.UnitTest
 
test_parseLong_fail2() - Method in class bb.util.NumberUtil.UnitTest
 
test_parseLong_pass() - Method in class bb.util.NumberUtil.UnitTest
 
test_parseXXXStamp() - Method in class bb.util.DateUtil.UnitTest
 
test_partHandling() - Method in class bb.io.filefilter.BaseFilter.UnitTest
 
test_perform_Date() - Method in class bb.util.MemoryMeasurer.UnitTest
Results on 2009-06-10 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_14 server jvm): each array element of a Date uses 28.398416 bytes which implies that just a Date uses 24.398416 bytes (since the size of the reference in the array is 4 bytes)
test_perform_Object() - Method in class bb.util.MemoryMeasurer.UnitTest
Results on 2009-06-10 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_14 server jvm): each array element of an Object uses 12.000016 bytes which implies that just an Object uses 8.000016 bytes (since the size of the reference in the array is 4 bytes)
test_period() - Method in class bb.science.Lfsr.UnitTest
 
test_positive_double_fail_1() - Method in class bb.util.Check.UnitTest
 
test_positive_double_fail_2() - Method in class bb.util.Check.UnitTest
 
test_positive_double_pass() - Method in class bb.util.Check.UnitTest
 
test_positive_int_fail() - Method in class bb.util.Check.UnitTest
 
test_positive_int_pass() - Method in class bb.util.Check.UnitTest
 
test_positive_long_fail() - Method in class bb.util.Check.UnitTest
 
test_positive_long_pass() - Method in class bb.util.Check.UnitTest
 
test_printAvailableAlgorithms() - Method in class bb.io.EncryptUtil.UnitTest
 
test_publish() - Method in class bb.io.PrintStreamStoring.UnitTest
 
test_publish() - Method in class bb.io.PrintWriterStoring.UnitTest
 
test_publish() - Method in class bb.util.logging.HandlerConsole.UnitTest
 
test_put_get_remove() - Method in class bb.util.BidirectionalMap.UnitTest
 
test_quoteWhitespaceTokenize() - Method in class bb.util.StringUtil.UnitTest
 
test_rankFonts() - Static method in class bb.gui.FontUtil.UnitTest
(Abbreviated) Results on 2009-02-16 on my 2.0 GHz Core 2 Duo laptop (server jvm): rankFonts(charsFromManyLanguages): font = java.awt.Font[family=Arial Unicode MS,name=Arial Unicode MS,style=plain,size=12], rank = 0.5940704345703125 font = java.awt.Font[family=Dialog,name=Dialog.bold,style=plain,size=12], rank = 0.565673828125 font = java.awt.Font[family=Dialog,name=Dialog.plain,style=plain,size=12], rank = 0.565673828125 font = java.awt.Font[family=SansSerif,name=SansSerif.bold,style=plain,size=12], rank = 0.565673828125 ...
test_readChars() - Method in class bb.io.FileUtil.UnitTest
 
test_rename() - Method in class bb.io.FileUtil.UnitTest
 
test_repeatChars() - Method in class bb.util.StringUtil.UnitTest
 
test_s_boolean() - Method in class d.p.UnitTest
 
test_s_char() - Method in class d.p.UnitTest
 
test_s_CharSequence() - Method in class d.p.UnitTest
 
test_s_double() - Method in class d.p.UnitTest
 
test_s_long() - Method in class d.p.UnitTest
 
test_s_StringObject() - Method in class d.p.UnitTest
 
test_scientificNotationFormat() - Method in class bb.util.NumberUtil.UnitTest
 
test_selfConsistencyOfManyMethods() - Method in class bb.util.DateUtil.UnitTest
 
test_send() - Method in class bb.net.MagicPacket.UnitTest
 
test_send_shouldFail() - Method in class bb.net.Emailer.UnitTest
 
test_send_shouldWork() - Method in class bb.net.Emailer.UnitTest
 
test_serialization() - Static method in class bb.gui.DialogInputSecure.UnitTest
 
test_serialization() - Static method in class bb.gui.GroupLayout2.UnitTest
 
test_serialization() - Static method in class bb.gui.LinePanel.UnitTest
 
test_setOperations_sorted() - Method in class bb.util.SetUtil.UnitTest
 
test_setOperations_unsorted() - Method in class bb.util.SetUtil.UnitTest
 
test_setps() - Method in class d.p.UnitTest
 
test_shuffle() - Method in class bb.util.ArrayUtil.UnitTest
 
test_splitByChar_fail1() - Method in class bb.util.StringUtil.UnitTest
 
test_splitByChar_fail2() - Method in class bb.util.StringUtil.UnitTest
 
test_splitByChar_fail3() - Method in class bb.util.StringUtil.UnitTest
 
test_splitByChar_fail4() - Method in class bb.util.StringUtil.UnitTest
 
test_splitByChar_pass() - Method in class bb.util.StringUtil.UnitTest
 
test_splitByLiteral_fail1() - Method in class bb.util.StringUtil.UnitTest
 
test_splitByLiteral_fail2() - Method in class bb.util.StringUtil.UnitTest
 
test_splitByLiteral_fail3() - Method in class bb.util.StringUtil.UnitTest
 
test_splitByLiteral_fail4() - Method in class bb.util.StringUtil.UnitTest
 
test_splitByLiteral_pass() - Method in class bb.util.StringUtil.UnitTest
 
test_statisticsFunctions() - Method in class bb.science.Math2.UnitTest
 
test_subtractParallelComponent() - Method in class bb.science.Math2.UnitTest
 
test_swap() - Method in class bb.util.ArrayUtil.UnitTest
 
test_synchronousMode() - Static method in class bb.gui.MessageDialog.UnitTest
 
test_takesArbitraryObjects() - Method in class bb.util.ObjectCounter.UnitTest
 
test_takesOnlyStrings() - Method in class bb.util.ObjectCounter.UnitTest
 
test_toEngineeringString() - Method in class bb.science.FormatUtil.UnitTest
 
test_toEngineeringTime() - Method in class bb.science.FormatUtil.UnitTest
 
test_toLength() - Method in class bb.util.StringUtil.UnitTest
 
test_toMatrix() - Method in class bb.util.StringUtil.UnitTest
 
test_toRuntimeException_toString() - Method in class bb.util.ThrowableUtil.UnitTest
 
test_toString() - Method in class bb.science.Prefix.UnitTest
 
test_toString() - Method in class bb.science.Unit.UnitTest
 
test_toString() - Method in class bb.util.ObjectState.UnitTest
 
test_toString() - Method in class bb.util.StateMachine.UnitTest
 
test_toString() - Method in class bb.util.StringUtil.UnitTest
 
test_toString() - Method in class bb.util.ThreadUtil.UnitTest
 
test_toStringAscii() - Method in class bb.util.StringUtil.UnitTest
 
test_toStringLabeled() - Method in class bb.util.ObjectState.UnitTest
 
test_transfer() - Method in class bb.io.StreamUtil.UnitTest
 
test_uncaughtException_shouldPass1() - Method in class bb.util.UncaughtThrowableLogger.UnitTest
 
test_uncaughtException_shouldPass2() - Method in class bb.util.UncaughtThrowableLogger.UnitTest
 
test_uncaughtException_shouldPass3() - Method in class bb.util.UncaughtThrowableLogger.UnitTest
 
test_uncaughtException_shouldPass4() - Method in class bb.util.UncaughtThrowableLogger.UnitTest
 
test_unmodifiable_fail_1() - Method in class bb.util.Check.UnitTest
 
test_unmodifiable_fail_2() - Method in class bb.util.Check.UnitTest
 
test_unmodifiable_pass() - Method in class bb.util.Check.UnitTest
 
test_unmodifiableNavigableSet_fail() - Method in class bb.util.Collections2.UnitTest
 
test_unmodifiableNavigableSet_pass() - Method in class bb.util.Collections2.UnitTest
 
test_unmodifiableNavigableSet_pass2() - Method in class bb.util.Collections2.UnitTest
Main purpose of this method is to prove that can add Date2 instances to a NavigableSet.
test_validDirectory_fail() - Method in class bb.util.Check.UnitTest
 
test_validDirectory_pass() - Method in class bb.util.Check.UnitTest
 
test_validFile_fail() - Method in class bb.util.Check.UnitTest
 
test_validFile_pass() - Method in class bb.util.Check.UnitTest
 
test_validPort_fail_1() - Method in class bb.util.Check.UnitTest
 
test_validPort_fail_2() - Method in class bb.util.Check.UnitTest
 
test_validPort_pass() - Method in class bb.util.Check.UnitTest
 
test_whiteNoise() - Method in class bb.science.Bins.UnitTest
 
test_zero_double_fail_1() - Method in class bb.util.Check.UnitTest
 
test_zero_double_fail_2() - Method in class bb.util.Check.UnitTest
 
test_zero_double_pass() - Method in class bb.util.Check.UnitTest
 
test_zero_int_fail() - Method in class bb.util.Check.UnitTest
 
test_zero_int_pass() - Method in class bb.util.Check.UnitTest
 
testFailure(Failure) - Method in class bb.util.JUnitExecutor.AudioFeedback
 
testFailure(Failure) - Method in class bb.util.JUnitExecutor.PrintStreamFeedback
 
testFailure(Failure) - Method in class bb.util.JUnitExecutor.StdStreamSwapper
 
testFailure(Failure) - Method in class bb.util.JUnitExecutor.TestRunEvents
Called in between calls to testStarted and testFinished if a test method fails.
testFinished(Description) - Method in class bb.util.JUnitExecutor.AudioFeedback
 
testFinished(Description) - Method in class bb.util.JUnitExecutor.PrintStreamFeedback
 
testFinished(Description) - Method in class bb.util.JUnitExecutor.StdStreamSwapper
 
testFinished(Description) - Method in class bb.util.JUnitExecutor.TestRunEvents
 
testIgnored(Description) - Method in class bb.util.JUnitExecutor.AudioFeedback
 
testIgnored(Description) - Method in class bb.util.JUnitExecutor.PrintStreamFeedback
 
testIgnored(Description) - Method in class bb.util.JUnitExecutor.StdStreamSwapper
Note: the Junit 4 javadocs do not describe this method well (as of 2008/5/8), but it currently is called instead of testStarted if the method is annotated with both @Ignore and @Test.
testIgnored(Description) - Method in class bb.util.JUnitExecutor.TestRunEvents
Note: the Junit 4 javadocs do not describe this method well (as of 2008/5/8), but it currently is called instead of testStarted if the method is annotated with both @Ignore and @Test.
testOutputDirectory - Static variable in class bb.util.JUnitExecutor
 
testRunEvents - Variable in class bb.util.JUnitExecutor
 
testRunFinished(Result) - Method in class bb.util.JUnitExecutor.AudioFeedback
 
testRunFinished(Result) - Method in class bb.util.JUnitExecutor.PrintStreamFeedback
 
testRunFinished(Result) - Method in class bb.util.JUnitExecutor.StdStreamSwapper
 
testRunFinished(Result) - Method in class bb.util.JUnitExecutor.TestRunEvents
 
testRunStarted(Description) - Method in class bb.util.JUnitExecutor.AudioFeedback
 
testRunStarted(Description) - Method in class bb.util.JUnitExecutor.PrintStreamFeedback
 
testRunStarted(Description) - Method in class bb.util.JUnitExecutor.StdStreamSwapper
 
testRunStarted(Description) - Method in class bb.util.JUnitExecutor.TestRunEvents
 
testStarted(Description) - Method in class bb.util.JUnitExecutor.AudioFeedback
 
testStarted(Description) - Method in class bb.util.JUnitExecutor.PrintStreamFeedback
 
testStarted(Description) - Method in class bb.util.JUnitExecutor.StdStreamSwapper
 
testStarted(Description) - Method in class bb.util.JUnitExecutor.TestRunEvents
 
testString - Static variable in class bb.io.ParseReader.UnitTest
 
text - Variable in class bb.gui.GraphicsLabel
 
textExpected - Variable in class bb.io.filefilter.BaseFilter.UnitTest.TestFilter
 
textField - Variable in class bb.gui.ScreenShot.UnitTest.Gui
 
textFieldSecure - Variable in class bb.gui.DialogInputSecure
A TextFieldSecure instance that is used by this class to input highly sensitive text.
TextFieldSecure - Class in bb.gui
Subclass of JPasswordField which fixes defects in its superclass to offer superior security.
TextFieldSecure(int) - Constructor for class bb.gui.TextFieldSecure
Constructs a new TextFieldSecure instance.
TextFieldSecure.CaretSecure - Class in bb.gui
Subclass of DefaultCaret which is designed for high security.
TextFieldSecure.CaretSecure() - Constructor for class bb.gui.TextFieldSecure.CaretSecure
Constructor.
TextFieldSecure.ContentSecure - Class in bb.gui
Subclass of GapContent which is designed for high security.
TextFieldSecure.ContentSecure(int) - Constructor for class bb.gui.TextFieldSecure.ContentSecure
Constructor.
TextFieldSecure.DocumentSecure - Class in bb.gui
Subclass of DocumentLimitedLength which is designed for high security.
TextFieldSecure.DocumentSecure(int) - Constructor for class bb.gui.TextFieldSecure.DocumentSecure
Constructor.
textToMethod - Variable in class bb.util.CommandLineInterface.StdinReader
 
thenContinue(Callable<T>) - Static method in class bb.util.Execute
Returns thenContinue(task, LogUtil.getLogger2()).
thenContinue(Callable<T>, Logger) - Static method in class bb.util.Execute
Executes task, returns its result (or rethrows any Throwable task threw as a RuntimeException), and leaves the JVM running.
thenContinue(Runnable) - Static method in class bb.util.Execute
Simply calls thenContinue(task, LogUtil.getLogger2()).
thenContinue(Runnable, Logger) - Static method in class bb.util.Execute
Same as thenContinue, except that task is a Runnable, and so has no result.
thenContinueImpl(Object, Logger) - Static method in class bb.util.Execute
 
thenExitIfEntryPoint(Callable<T>) - Static method in class bb.util.Execute
Returns thenExitIfEntryPoint(task, LogUtil.getLogger2()).
thenExitIfEntryPoint(Callable<T>, Logger) - Static method in class bb.util.Execute
Executes task and plays a distinct sound depending on if task returned normally or threw a Throwable.
thenExitIfEntryPoint(Runnable) - Static method in class bb.util.Execute
Simply calls thenExitIfEntryPoint(task, LogUtil.getLogger2()).
thenExitIfEntryPoint(Runnable, Logger) - Static method in class bb.util.Execute
Same as thenExitIfEntryPoint, except that task is a Runnable, and so has no result.
thenExitIfEntryPointImpl(Object, Logger) - Static method in class bb.util.Execute
 
theoryInBs - Variable in class bb.science.Bootstrap.UnitTest.CiResult.Metrics
 
threadEmailer - Variable in class bb.util.logging.HandlerEmail
Executes a HandlerEmail.EmailSender instance.
threadId - Variable in class bb.util.logging.FormatterFull.Parser.LogRecordData
 
threadLocal - Static variable in class bb.util.RandomUtil
 
ThreadMeasurer - Class in bb.util
Class which measures the threads of a JVM.
ThreadMeasurer() - Constructor for class bb.util.ThreadMeasurer
Constructs an instance which gets thread information from the local JVM.
ThreadMeasurer(MBeanServerConnection) - Constructor for class bb.util.ThreadMeasurer
Constructs an instance which gets thread information from the JVM specified by server.
ThreadMeasurer(ThreadMXBean) - Constructor for class bb.util.ThreadMeasurer
Constructs an instance which gets thread information from threadMXBean.
ThreadMeasurer.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
ThreadMeasurer.UnitTest() - Constructor for class bb.util.ThreadMeasurer.UnitTest
 
ThreadMeasurer.UnitTest.DoubleLockAquirer - Class in bb.util
 
ThreadMeasurer.UnitTest.DoubleLockAquirer(Object, Object, CyclicBarrier) - Constructor for class bb.util.ThreadMeasurer.UnitTest.DoubleLockAquirer
 
ThreadMonitor - Class in bb.util
Class which actively monitors the thread state of a JVM looking for issues.
ThreadMonitor() - Constructor for class bb.util.ThreadMonitor
Simply calls this(new ThreadMeasurer.ThreadMeasurer(), ThreadMonitor.interval_default).
ThreadMonitor(ThreadMeasurer, long) - Constructor for class bb.util.ThreadMonitor
Constructor.
ThreadMonitor.MonitorTask - Class in bb.util
Class which detects thread issues and calls the appropriate fireXXX event notification method.
ThreadMonitor.MonitorTask(ThreadMeasurer) - Constructor for class bb.util.ThreadMonitor.MonitorTask
Constructor.
ThreadMonitor.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
ThreadMonitor.UnitTest() - Constructor for class bb.util.ThreadMonitor.UnitTest
 
ThreadMonitor.UnitTest.ListenerTest - Class in bb.util
Simple ThreadMonitorListener implementation meant for test purposes: it prints all events to System.out (except for onThreadState, which outputs to ThreadMonitor.UnitTest.ListenerTest.pw), it uses ThreadMonitor.UnitTest.ListenerTest.barrier to coordinate actions with the main thread, and onThreadState can be configured to deliberately throw a RuntimeException when makeFail called.
ThreadMonitor.UnitTest.ListenerTest() - Constructor for class bb.util.ThreadMonitor.UnitTest.ListenerTest
 
ThreadMonitor.UnitTest.ThreadMeasurerTest - Class in bb.util
Extends ThreadMeasurer to deliberately throw a RuntimeException when makeFail called.
ThreadMonitor.UnitTest.ThreadMeasurerTest() - Constructor for class bb.util.ThreadMonitor.UnitTest.ThreadMeasurerTest
 
ThreadMonitorListener - Interface in bb.util
Interface for receiving events from ThreadMonitor.
threadMXBean - Variable in class bb.util.ThreadMeasurer
Contract: is never null.
threadnameNew - Static variable in class bb.util.UncaughtThrowableLogger.UnitTest
 
threadnameOriginal - Variable in class bb.util.UncaughtThrowableLogger.UnitTest
 
threadPlayer - Variable in class bb.util.logging.HandlerAudio
Executes a HandlerAudio.SoundPlayer instance.
ThreadPoolExecutor2 - Class in bb.util
Extension of ThreadPoolExecutor that makes it more convenient to construct instances suited for a specific concurrent scenario.
ThreadPoolExecutor2() - Constructor for class bb.util.ThreadPoolExecutor2
Simply calls this(ThreadPoolExecutor2.maxBackupPerPoolThread_default).
ThreadPoolExecutor2(int) - Constructor for class bb.util.ThreadPoolExecutor2
Simply calls this(ThreadPoolExecutor2.numberCpusReserved_default, maxBackupPerPoolThread).
ThreadPoolExecutor2(int, int) - Constructor for class bb.util.ThreadPoolExecutor2
First calls super using these params: corePoolSize == maximumPoolSize == poolSize(numberCpusReserved) (so the pool always has a constant number of threads that equals the number of free CPUs or 1 if none free) keepAliveTime == Long.MAX_VALUE (so timeout is practically infinite) unit == TimeUnit.SECONDS workQueue == new ArrayBlockingQueue with an initial capacity determined by a call to queueSize(numberCpusReserved, maxBackupPerPoolThread) (so tasks will only pile up to a specified limit before being rejected by the queue) handler == new ThreadPoolExecutor.CallerRunsPolicy (so tasks rejected by a full queue will be executed by the calling thread) Then, a call is made to the pool's prestartAllCoreThreads method.
threadToObjCount - Static variable in class bb.util.ObjectState
The ObjectState.toStringLabeled(String, String) method can result in recursive calls because of its use of ObjectState.toStringSmart(java.lang.Object, java.lang.String, java.lang.String, java.util.Set).
ThreadUtil - Class in bb.util
Provides static utility methods for Threads.
ThreadUtil() - Constructor for class bb.util.ThreadUtil
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
ThreadUtil.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
ThreadUtil.UnitTest() - Constructor for class bb.util.ThreadUtil.UnitTest
 
throwable - Variable in class bb.gui.ThrowableDialog
 
throwable - Variable in class bb.io.StreamDrainerForwarding
 
throwable - Variable in class bb.io.StreamDrainerStoring
 
throwable - Variable in class bb.io.StreamUtil.Drainer
 
ThrowableDialog - Class in bb.gui
Subclass of JDialog which is used to notify the user of a caught Throwable.
ThrowableDialog(Dialog, String, boolean, String, Throwable) - Constructor for class bb.gui.ThrowableDialog
Constructs a new ThrowableDialog instance.
ThrowableDialog(Frame, String, boolean, String, Throwable) - Constructor for class bb.gui.ThrowableDialog
Constructs a new ThrowableDialog instance.
ThrowableDialog.UnitTest - Class in bb.gui
See the Overview page of the project's javadocs for a general description of this unit test class.
ThrowableDialog.UnitTest() - Constructor for class bb.gui.ThrowableDialog.UnitTest
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
ThrowableDialog.UnitTest.TestDialog - Class in bb.gui
 
ThrowableDialog.UnitTest.TestDialog() - Constructor for class bb.gui.ThrowableDialog.UnitTest.TestDialog
 
ThrowableUtil - Class in bb.util
Provides static utility methods for Throwables.
ThrowableUtil() - Constructor for class bb.util.ThrowableUtil
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
ThrowableUtil.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
ThrowableUtil.UnitTest() - Constructor for class bb.util.ThrowableUtil.UnitTest
 
time - Variable in class bb.util.DateUtil.TimeZoneChange
Stores the exact absolute time when the time zone change happens; has the value Long.MIN_VALUE if there is no time zone change.
timeDescription(long) - Static method in class bb.util.TimeLength
 
timeDiffSeconds(long, long) - Method in class bb.util.Benchmark
Robustly calculates and returns the difference t2 - t1 in seconds.
TimeElapsedLatch - Class in bb.util
This class provides a simple latch that is set once a specified amount of time has elapsed.
TimeElapsedLatch(long) - Constructor for class bb.util.TimeElapsedLatch
Constructor.
timeElapsedTillLatch - Variable in class bb.util.TimeElapsedLatch
 
timeExecFirst - Variable in class bb.util.Benchmark
First execution time for Benchmark.task.
TimeLength - Class in bb.util
Provides fields and methods related to lengths of some common periods of time.
TimeLength() - Constructor for class bb.util.TimeLength
This private constructor suppresses the default (public) constructor, ensuring non-instantiability.
timeNs() - Method in class bb.util.Benchmark
Returns the time since some fixed but arbitrary offset, in nanoseconds.
timeOfDayForFilePattern - Static variable in class bb.util.DateUtil
Serves the same purpose as DateUtil.timeOfDayPattern except that it should produce legal file names.
timeOfDayMax - Variable in class bb.util.DateConstraint
Specifies the maximum time of day value (where the time is measured in milliseconds).
timeOfDayMin - Variable in class bb.util.DateConstraint
Specifies the minimum time of day value (where the time is measured in milliseconds).
timeOfDayPattern - Static variable in class bb.util.DateUtil
A time pattern String for the SimpleDateFormat class which exactly specifies the time of the day with as much precision (millseconds) as the JDK allows.
timeOfDayStampCache - Static variable in class bb.util.DateUtil
The cache used by getDayStamp and parseDayStamp.
timeOfDayStampForFileCache - Static variable in class bb.util.DateUtil
The cache used by getDayStamp and parseDayStamp.
timer - Static variable in class bb.io.ConsoleUtil
 
timer - Variable in class bb.util.MemoryMonitor
 
timer - Variable in class bb.util.ThreadMonitor
 
timeRunStartNs - Variable in class bb.util.JUnitExecutor.TestRunEvents
 
timeSleep - Variable in class bb.util.logging.HandlerAbstract.UnitTest.LogGenerator
 
timeSleep - Variable in class bb.util.logging.HandlerEmail
Is used by getLogRecords to implement email rate throttling.
timeStampCache - Static variable in class bb.util.DateUtil
The cache used by getTimeStamp and parseTimeStamp.
timeStampForFileCache - Static variable in class bb.util.DateUtil
The cache used by getTimeStampForFile and parseTimeStampForFile.
timeStampForFilePattern - Static variable in class bb.util.DateUtil
Serves the same purpose as DateUtil.timeStampPattern except that it should produce legal file names.
timeStampPattern - Static variable in class bb.util.DateUtil
A time pattern String for the SimpleDateFormat class which exactly specifies a moment in time with as much precision (millseconds) as the JDK allows.
timeStarted - Variable in class bb.util.TimeElapsedLatch
 
timeTestStartNs - Variable in class bb.util.JUnitExecutor.TestRunEvents
 
timeToPlay(Clip) - Static method in class bb.gui.SoundUtil
Returns timeToPlay(clip, 1).
timeToPlay(Clip, int) - Static method in class bb.gui.SoundUtil
Returns the number of milliseconds that it should take to play clip in a loop that will execute numberLoops times.
timeZoneChange - Variable in class bb.util.DateUtil.DateInfo
 
title - Variable in class bb.gui.DialogInputSecure.DialogTask
 
toArray() - Method in class bb.util.Unmodifiables.UnmodifiableCollection
 
toArray(T[]) - Method in class bb.util.Unmodifiables.UnmodifiableCollection
 
toArray() - Method in class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet
 
toArray(T[]) - Method in class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet
 
toBinaryString(int) - Method in class bb.science.Lfsr.UnitTest
 
toEngineeringString(double, Unit) - Static method in class bb.science.FormatUtil
Returns toEngineeringString(quantity, unit, -1) (i.e. all digits retained).
toEngineeringString(BigDecimal, Unit) - Static method in class bb.science.FormatUtil
Returns toEngineeringString(quantity, unit, -1) (i.e. all digits retained).
toEngineeringString(double, Unit, int) - Static method in class bb.science.FormatUtil
If quantity is NaN or infinite, then simply returns quantity + " " + unit.getSymbol().
toEngineeringString(BigDecimal, Unit, int) - Static method in class bb.science.FormatUtil
Returns quantity expressed in enginnering notation with the exponent accounted for by the appropriate prefix of unit.
toEngineeringTime(double) - Static method in class bb.science.FormatUtil
Convenience method that simply returns toEngineeringTime(time, -1).
toEngineeringTime(double, int) - Static method in class bb.science.FormatUtil
Convenience method that simply returns toEngineeringString(time, Unit.second, numberDigitsFractional).
toFile(URL, String) - Static method in class bb.util.ClassUtil
 
toFormUrlencodedString() - Method in class bb.net.HttpParameters
Returns the parameters that have been added so far as a single String of name/value pairs that is properly encoded for HTML form submission as MIME type application/x-www-form-urlencoded.
toGetParameterString() - Method in class bb.net.HttpParameters
Returns the parameters that have been added so far as a single String of name/value pairs that is suitable for appending to a URL as part of an HTTP GET request.
toGMTString() - Method in class bb.util.Date2
 
token - Static variable in class bb.util.logging.HandlerConsole.UnitTest
 
tokenDelimiterPattern - Variable in class bb.io.FileParser
 
toLength(String) - Method in class bb.util.HashUtil.UnitTest
 
toLength(int) - Method in class bb.util.HashUtil.UnitTest
 
toLength(int, int) - Static method in class bb.util.StringUtil
Returns a String which represents number and consists of exactly length digits, with leading 0's padded if necessary.
toLength(String, int, boolean, char) - Static method in class bb.util.StringUtil
Returns a String of exactly length chars.
toLines(byte[]) - Method in class bb.util.logging.FormatterFull.UnitTest
 
toLocaleString() - Method in class bb.util.Date2
 
toMatrix(CharSequence) - Static method in class bb.util.StringUtil
Returns toMatrix(cs, StringUtil.lineTerminatorPattern, StringUtil.spaceTabCommaPattern).
toMatrix(CharSequence, Pattern, Pattern) - Static method in class bb.util.StringUtil
Returns a matrix representation of cs.
toPatternLiterals(Set<String>) - Static method in class bb.io.filefilter.SuffixFilter
Converts suffixes into a set of Patterns that match any String that ends in a literal occurrence (case insensitive) of an element of suffixes.
toPatterns(Set<String>) - Static method in class bb.io.filefilter.RegexFilter
Converts a set of String regular expression specifications into a set of Patterns.
toPercent(double) - Static method in class bb.science.Bootstrap.UnitTest
 
toPostParameterString() - Method in class bb.net.HttpParameters
Returns the parameters that have been added so far as a single String of name/value pairs that is suitable for writing on an OutputStream to a server as part of an HTTP POST request.
toProperties() - Method in class bb.util.Properties2
Converts this instance into a new Properties instance, which is then returned.
toRuntimeException(Throwable) - Static method in class bb.util.ThrowableUtil
Always returns a RuntimeException using this sequential logic: if t == null, returns a new RuntimeException which has a null cause else if t is an instanceof Error, returns a new RuntimeException which has t as its cause else if t is an instanceof RuntimeException, returns t itself else if t is an instanceof Exception, then it must be a checked Exception, so it returns a new RuntimeException which has t as its cause else t is an actual Throwable instance (or some unknown subclass), so it returns a new RuntimeException which has t as its cause This method is usually called to convert checked Exceptions into unchecked ones.
toScientificNotation(double) - Static method in class bb.util.NumberUtil
Formats d as a String in scientific notation.
toSet(String...) - Static method in class bb.io.filefilter.RegexFilter
Converts strings into an equivalent Set of Strings.
toSortedMap(Properties) - Static method in class bb.util.Properties2
Converts properties into a SortedMap.
toString() - Method in class bb.gui.FontUtil.FontRank
 
toString() - Method in class bb.net.EthernetMacAddress
 
toString() - Method in class bb.science.Bins.Intervals
 
toString() - Method in class bb.science.Bins
 
toString() - Method in class bb.science.Bootstrap.Estimate
 
toString() - Method in class bb.science.Bootstrap.UnitTest.CiResult.Metrics
 
toString() - Method in class bb.science.Bootstrap.UnitTest.CoverageResult.Metrics
 
toString() - Method in class bb.science.DistributionFit
 
toString() - Method in class bb.science.Prefix
 
toString() - Method in class bb.science.StatsOverTime
Returns a string report describing the statsistics over time.
toString() - Method in class bb.science.Unit
 
toString() - Method in class bb.servlet.AbstractFilter
Returns a String representation of this object.
toString(HttpSession) - Static method in class bb.servlet.HttpSessionUtil
Returns a String description of the supplied HttpSession.
toString() - Method in class bb.util.Benchmark.LfsrAdvancer
 
toString() - Method in class bb.util.Benchmark.Stats
 
toString() - Method in class bb.util.Benchmark
Returns a String representation of this instance.
toString() - Method in class bb.util.Date2
Returns an ISO 8601 formated description of all the date/time fields of this instance.
toString() - Method in class bb.util.DateConstraint
Returns toString(", ").
toString(String) - Method in class bb.util.DateConstraint
Returns a String representation of this instance.
toString() - Method in class bb.util.DateUtil.DateInfo
 
toString() - Method in class bb.util.DateUtil.DateStringCache
Returns a labeled description of all the fields of this instance.
toString() - Method in class bb.util.DateUtil.TimeZoneChange
 
toString(Description) - Static method in class bb.util.JUnitExecutor.DescriptionFields
 
toString() - Method in class bb.util.JUnitExecutor.DescriptionFields
 
toString() - Method in class bb.util.JUnitExecutor.PcmFilter
 
toString() - Method in class bb.util.MemoryState
Returns toString(MemoryState.separatorDefault, true).
toString(String, boolean) - Method in class bb.util.MemoryState
Returns a String which describes this instance.
toString() - Method in class bb.util.ObjectState
Returns toString("\t").
toString(String) - Method in class bb.util.ObjectState
Returns a simple String which barely describes the data in this class compared to toStringLabeled.
toString() - Method in class bb.util.RandomUtil.UnitTest.SingleThread_MersenneTwisterFast
 
toString() - Method in class bb.util.RandomUtil.UnitTest.SingleThread_RandomPerThread
 
toString() - Method in class bb.util.State
 
toString() - Method in class bb.util.StateMachine
Returns a String representation of StateMachine.transitions.
toString(boolean[], String) - Static method in class bb.util.StringUtil
Returns a String representation of array.
toString(byte[], String) - Static method in class bb.util.StringUtil
Returns a String representation of array.
toString(char[], String) - Static method in class bb.util.StringUtil
Returns a String representation of array.
toString(double[], String) - Static method in class bb.util.StringUtil
Returns a String representation of array.
toString(double[][], String) - Static method in class bb.util.StringUtil
Returns a String representation of array.
toString(float[], String) - Static method in class bb.util.StringUtil
Returns a String representation of array.
toString(long[], String) - Static method in class bb.util.StringUtil
Returns a String representation of array.
toString(short[], String) - Static method in class bb.util.StringUtil
Returns a String representation of array.
toString(int[], String) - Static method in class bb.util.StringUtil
Returns a String representation of array.
toString(T[], String) - Static method in class bb.util.StringUtil
Returns a String representation of array.
toString(Collection<?>, String) - Static method in class bb.util.StringUtil
Returns a String representation of collection.
toString(Map<?, ?>, String) - Static method in class bb.util.StringUtil
Returns a String representation of map.
toString(Thread) - Static method in class bb.util.ThreadUtil
 
toString(Throwable) - Static method in class bb.util.ThrowableUtil
Returns a String that represents t in its entirety.
toString() - Method in class bb.util.Unmodifiables.UnmodifiableCollection
 
toString() - Method in class bb.util.Unmodifiables.UnmodifiableMap
 
toString() - Method in class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntry
 
toStringAscii(String) - Static method in class bb.util.StringUtil
Converts s into an equivalent String that consists solely of US-ASCII chars.
toStringCi(double, double, double) - Method in class bb.util.Benchmark.Stats
Returns a String description of the confidence interval specified by the parameters.
toStringFull() - Method in class bb.util.Benchmark
Returns a String representation of this instance with full details and explanations.
toStringHeader(String) - Static method in class bb.util.MemoryMonitorListenerImpl
Returns a description of the data written by onMemoryState.
toStringHeader() - Static method in class bb.util.MemoryState
Returns toStringHeader(MemoryState.separatorDefault).
toStringHeader(String) - Static method in class bb.util.MemoryState
Returns a description of the data returned by MemoryState.toString(String, boolean).
toStringLabeled() - Method in class bb.util.ObjectState
Returns toStringLabeled(0).
toStringLabeled(int) - Method in class bb.util.ObjectState
Returns toStringLabeled( StringUtil.getTabs.
toStringLabeled(String, String) - Method in class bb.util.ObjectState
Returns a complex String which more fully describes the data in this class compared to ObjectState.toString(String).
toStringLiteral(String) - Static method in class bb.util.StringUtil
Converts a String into a series of chars that constitute a Java String literal.
toStringSmart(Object, String, String, Set<ObjectState.Filter>) - Static method in class bb.util.ObjectState
Returns a String which describes the state of obj.
total - Variable in class bb.util.MemoryState
Total amount of memory currently used by the JVM.
totalTransferred - Variable in class bb.io.StreamUtil.TransferProgressReporter
 
transfer(InputStream, OutputStream) - Static method in class bb.io.StreamUtil
Simply calls transfer(in, out, null).
transfer(InputStream, OutputStream, PrintWriter) - Static method in class bb.io.StreamUtil
Transfers all the data from in to out, that is, reads bytes from in and writes them to out until End Of Stream with in is reached.
transitions - Variable in class bb.util.StateMachine
Every key is an initial state, and its corresponding value is the transition rule for that state (i.e. the set of states that are allowed to be transitioned to).
transport - Variable in class bb.net.Emailer
Transport used by this instance.
transportListeners - Variable in class bb.net.Emailer
Set of all TransportListeners used by this instance.
typicalTypeAndMessageSize - Static variable in class bb.util.ThrowableUtil
 

U

uncaughtException(Thread, Throwable) - Method in class bb.util.UncaughtThrowableLogger
 
UncaughtThrowableLogger - Class in bb.util
Logs all otherwise uncaught Throwables to a Logger.
UncaughtThrowableLogger() - Constructor for class bb.util.UncaughtThrowableLogger
Convenience constructor that simply calls this( LogUtil.getLogger2() ).
UncaughtThrowableLogger(Logger) - Constructor for class bb.util.UncaughtThrowableLogger
Fundamental constructor.
uncaughtThrowableLogger - Variable in class bb.util.UncaughtThrowableLogger.UnitTest
 
UncaughtThrowableLogger.UnitTest - Class in bb.util
See the Overview page of the project's javadocs for a general description of this unit test class.
UncaughtThrowableLogger.UnitTest() - Constructor for class bb.util.UncaughtThrowableLogger.UnitTest
 
union(SortedSet<T>, SortedSet<T>) - Static method in class bb.util.SetUtil
Returns a new NavigableSet instance that is the union of set1 and set2 (i.e. every element that is in either set1 or set2).
union(Set<? extends T>, Set<? extends T>) - Static method in class bb.util.SetUtil
Returns a new Set instance that is the union of set1 and set2 (i.e. every element that is in either set1 or set2).
union(Set<? extends T>, Set<? extends T>, Set<T>) - Static method in class bb.util.SetUtil
 
Unit - Class in bb.science
Models a unit of measurement.
Unit(String, String, String) - Constructor for class bb.science.Unit
Constructs a new Unit instance for the supplied name, symbol, and description.
Unit.UnitTest - Class in bb.science
See the Overview page of the project's javadocs for a general description of this unit test class.
Unit.UnitTest() - Constructor for class bb.science.Unit.UnitTest
 
unmodifiable(Collection<T>) - Method in class bb.util.Check
Checks that collection is unmodifiable (i.e. cannot be mutated).
unmodifiable(Map<K, V>) - Method in class bb.util.Check
Checks that map is unmodifiable (i.e. cannot be mutated).
unmodifiableNavigableSet(NavigableSet<E>) - Static method in class bb.util.Collections2
Returns an unmodifiable view of navigableSet.
Unmodifiables - Class in bb.util
 
Unmodifiables() - Constructor for class bb.util.Unmodifiables
 
Unmodifiables.UnmodifiableCollection<E> - Class in bb.util
 
Unmodifiables.UnmodifiableCollection(Collection<? extends E>) - Constructor for class bb.util.Unmodifiables.UnmodifiableCollection
 
Unmodifiables.UnmodifiableList<E> - Class in bb.util
 
Unmodifiables.UnmodifiableList(List<? extends E>) - Constructor for class bb.util.Unmodifiables.UnmodifiableList
 
Unmodifiables.UnmodifiableMap<K,V> - Class in bb.util
 
Unmodifiables.UnmodifiableMap(Map<? extends K, ? extends V>) - Constructor for class bb.util.Unmodifiables.UnmodifiableMap
 
Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet<K,V> - Class in bb.util
We need this class in addition to UnmodifiableSet as Map.Entries themselves permit modification of the backing Map via their setValue operation.
Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet(Set<? extends Map.Entry<? extends K, ? extends V>>) - Constructor for class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet
 
Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntry<K,V> - Class in bb.util
This "wrapper class" serves two purposes: it prevents the client from modifying the backing Map, by short-circuiting the setValue method, and it protects the backing Map against an ill-behaved Map.Entry that attempts to modify another Map Entry when asked to perform an equality check.
Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntry(Map.Entry<? extends K, ? extends V>) - Constructor for class bb.util.Unmodifiables.UnmodifiableMap.UnmodifiableEntrySet.UnmodifiableEntry
 
Unmodifiables.UnmodifiableRandomAccessList<E> - Class in bb.util
 
Unmodifiables.UnmodifiableRandomAccessList(List<? extends E>) - Constructor for class bb.util.Unmodifiables.UnmodifiableRandomAccessList
 
Unmodifiables.UnmodifiableSet<E> - Class in bb.util
 
Unmodifiables.UnmodifiableSet(Set<? extends E>) - Constructor for class bb.util.Unmodifiables.UnmodifiableSet
 
Unmodifiables.UnmodifiableSortedMap<K,V> - Class in bb.util
 
Unmodifiables.UnmodifiableSortedMap(SortedMap<K, ? extends V>) - Constructor for class bb.util.Unmodifiables.UnmodifiableSortedMap
 
Unmodifiables.UnmodifiableSortedSet<E> - Class in bb.util
 
Unmodifiables.UnmodifiableSortedSet(SortedSet<E>) - Constructor for class bb.util.Unmodifiables.UnmodifiableSortedSet
 
unread(int) - Method in class bb.io.ParseReader
Pushes back the supplied char to the stream.
unread(char[], int, int) - Method in class bb.io.ParseReader
Pushes back the specified portion of cbuf to the stream.
unread(char[]) - Method in class bb.io.ParseReader
Convenience method that simply calls unread(cbuf, 0, cbuf.length).
unsigned2ByteMaxValue - Static variable in class bb.util.NumberUtil
Maximum value of an unsigned 2 byte integer, namely, 2^16 - 1 = 65535.
unswap(File, File) - Static method in class bb.util.JUnitExecutor.StdStreams
First unswaps the standard streams to their original objects, then writes any contents of the JUnitExecutor.BufferWithEcho instances to either the corresponding File args (fileOut and fileErr), if non-null, or else to the original standard stream.
unTarCommand(File) - Method in class bb.io.TarUtil.UnitTest
 
unZipCommand(File) - Method in class bb.io.ZipUtil.UnitTest
 
update(LineEvent) - Method in class bb.gui.SoundUtil.Player
 
update(int, int) - Method in class bb.io.StreamUtil.TransferProgressReporter
 
updateLaf(String) - Method in class bb.gui.LookAndFeelDialog
 
upper - Variable in class bb.science.Bootstrap.Estimate
Is the upper bound (end of the confidence interval) of the estimate.
url - Variable in class bb.gui.SoundUtil.Player
 
urlErrorMajor - Static variable in class bb.gui.Sounds
 
urlErrorMinor - Static variable in class bb.gui.Sounds
 
urlNotify - Static variable in class bb.gui.Sounds
 
UrlUtil - Class in bb.net
Provides static utility methods for dealing with URLs.
UrlUtil() - Constructor for class bb.net.UrlUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
UrlUtil.UnitTest - Class in bb.net
See the Overview page of the project's javadocs for a general description of this unit test class.
UrlUtil.UnitTest() - Constructor for class bb.net.UrlUtil.UnitTest
 
used - Variable in class bb.util.MemoryState
Amount of memory (within the total allocated) that is used.
useParentHandlers - Variable in class bb.util.logging.LogUtil.NodeProp
 
userInput - Variable in class bb.gui.DialogInputSecure.DialogTask
 
usingEdt(Callable<T>) - Static method in class bb.util.Execute
Simply calls usingEdt(task, LogUtil.getLogger2()).
usingEdt(Callable<T>, Logger) - Static method in class bb.util.Execute
Schedules task for asynchronous execution on EventQueue's dispatch thread (aka the EDT), so this method soon returns, and leaves the JVM running.
usingEdt(Runnable) - Static method in class bb.util.Execute
Simply calls usingEdt(task, LogUtil.getLogger2()).
usingEdt(Runnable, Logger) - Static method in class bb.util.Execute
Same as usingEdt, except that task is a Runnable, and so has no result.
usingEdtImpl(Object, Logger) - Static method in class bb.util.Execute
 
UTC(int, int, int, int, int, int) - Static method in class bb.util.Date2
 

V

validAddresses - Static variable in class bb.net.Emailer.UnitTest
 
validDirectory(File) - Method in class bb.util.Check
Checks that directory is a valid filesystem directory, which is defined as it passing all these tests: is not null is a path that exists can be read by this application resolves to an actual directory, and not some other type of file (e.g. a normal file)
validFile(File) - Method in class bb.util.Check
Checks that file is a valid filesystem file, which is defined as it passing all these tests: is not null is a path that exists can be read by this application resolves to a normal filesystem file
validIndex(int, boolean[]) - Method in class bb.util.Check
Checks that index is valid for array (i.e. 0 <= index < array.length).
validIndex(int, byte[]) - Method in class bb.util.Check
Checks that index is valid for array (i.e. 0 <= index < array.length).
validIndex(int, short[]) - Method in class bb.util.Check
Checks that index is valid for array (i.e. 0 <= index < array.length).
validIndex(int, char[]) - Method in class bb.util.Check
Checks that index is valid for array (i.e. 0 <= index < array.length).
validIndex(int, int[]) - Method in class bb.util.Check
Checks that index is valid for array (i.e. 0 <= index < array.length).
validIndex(int, long[]) - Method in class bb.util.Check
Checks that index is valid for array (i.e. 0 <= index < array.length).
validIndex(int, float[]) - Method in class bb.util.Check
Checks that index is valid for array (i.e. 0 <= index < array.length).
validIndex(int, double[]) - Method in class bb.util.Check
Checks that index is valid for array (i.e. 0 <= index < array.length).
validIndex(int, T[]) - Method in class bb.util.Check
Checks that index is valid for array (i.e. 0 <= index < array.length).
validIndex(int, Collection<T>) - Method in class bb.util.Check
Checks that index is valid for collection (i.e. 0 <= index < collection.size()).
validOffsetLength(int, int, int) - Method in class bb.util.Check
Checks that offset >= 0, length >= 0, and (offset + length) <= lengthArray.
validPort(int) - Method in class bb.util.Check
Checks that value is a valid TCP or UDP port number.
validProbability(double) - Method in class bb.util.Check
Checks that value is a valid probability.
valueOf(String) - Static method in enum bb.gui.LinePanel.Axis
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum bb.io.filefilter.CompoundFilter.LogicMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum bb.io.filefilter.DirectoryMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum bb.io.filefilter.FileMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum bb.io.filefilter.OtherMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum bb.io.filefilter.PartMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum bb.util.ReflectUtil.UnitTest.Planet
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum bb.util.StateMachine.UnitTest.Numbers
Returns the enum constant of this type with the specified name.
valueRandom(double, Random) - Method in class bb.science.Bins.UnitTest
 
values() - Static method in enum bb.gui.LinePanel.Axis
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum bb.io.filefilter.CompoundFilter.LogicMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum bb.io.filefilter.DirectoryMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum bb.io.filefilter.FileMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum bb.io.filefilter.OtherMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum bb.io.filefilter.PartMode
Returns an array containing the constants of this enum type, in the order they are declared.
values - Variable in class bb.science.Samples
Buffer which holds the data values.
values() - Method in class bb.science.Samples
Returns a new array which holds all the values that have been added to this instance.
values() - Method in class bb.util.Properties2
values() - Static method in enum bb.util.ReflectUtil.UnitTest.Planet
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum bb.util.StateMachine.UnitTest.Numbers
Returns an array containing the constants of this enum type, in the order they are declared.
values - Variable in class bb.util.Unmodifiables.UnmodifiableMap
 
values() - Method in class bb.util.Unmodifiables.UnmodifiableMap
 
valuesRandom(Random) - Method in class bb.science.Bins.UnitTest
 
valueUndefined - Static variable in class bb.util.Properties2
 
variance(double[]) - Static method in class bb.science.Math2
Returns variance(numbers, true).
variance(double[], boolean) - Static method in class bb.science.Math2
Returns variance(numbers, mean(numbers), biased).
variance(double[], double) - Static method in class bb.science.Math2
Returns variance(numbers, mean, true).
variance(double[], double, boolean) - Static method in class bb.science.Math2
Returns the variance of numbers.
varianceOutliers(double, double, double, double) - Method in class bb.util.Benchmark.Stats
See the Equation (45) of the article supplement for more details.
vary_numberResamples() - Method in class bb.science.Bootstrap.UnitTest
Ouput is the relevant files in the doc/bootstrap/testResults directory of this project.
vary_numberResamples(Bootstrap.UnitTest.Distribution) - Method in class bb.science.Bootstrap.UnitTest
 
vary_sampleLength() - Method in class bb.science.Bootstrap.UnitTest
Ouput is the relevant files in the doc/bootstrap/testResults directory of this project.
vary_sampleLength(Bootstrap.UnitTest.Distribution) - Method in class bb.science.Bootstrap.UnitTest
 
VisibleFilter - Class in bb.io.filefilter
File filter that accepts all visible normal files and directories, and rejects all hidden ones as well as other file system elements.
VisibleFilter() - Constructor for class bb.io.filefilter.VisibleFilter
Constructs a new VisibleFilter instance.
VisibleOrRootFilter - Class in bb.io.filefilter
Subclass of VisibleFilter that additionally accepts Files which are system roots.
VisibleOrRootFilter() - Constructor for class bb.io.filefilter.VisibleOrRootFilter
Constructs a new VisibleOrRootFilter instance.

W

waitObject - Variable in class d.g.ObjectStateDisplay
Condition predicate for this instance's condition queue (i.e. the wait/notifyAll calls below; see "Java Concurrency in Practice" by Goetz et al p. 296ff, especially p. 299).
waitOnUser() - Method in class bb.util.Execute.TestGui
 
waitOnUser() - Method in class d.g.ObjectStateDisplay
 
waitTillClosed() - Method in class bb.gui.SoundUtil.Player
Waits until this instance is notified.
waitTillNotified() - Method in class bb.net.NetUtil.UnitTest.ServerSocketConnector
 
warmupJvm() - Method in class bb.util.Benchmark
In order to give hotspot optimization a chance to complete, Benchmark.task is executed many times (with no recording of the execution time).
warmupTime - Variable in class bb.util.Benchmark.Params
If Benchmark.Params.manyExecutions is true, then specifies the minimum amount of time that should execute Benchmark.task for before start recording measurements.
week - Static variable in class bb.util.TimeLength
Length of a standard week (i.e. exactly 7 TimeLength.days) in milliseconds.
weekMax - Static variable in class bb.util.TimeLength
Maximum length of a week in milliseconds.
weekMin - Static variable in class bb.util.TimeLength
Minimum length of a week in milliseconds.
weekOfMonth - Variable in class bb.util.DateUtil.DateInfo
 
weekOfYear - Variable in class bb.util.DateUtil.DateInfo
 
weekStart - Variable in class bb.util.DateUtil.DateInfo
 
width - Variable in class bb.gui.BasicStrokeSerializer
 
width - Variable in class bb.gui.GraphicsLabel
 
width - Variable in class bb.science.Bins.Intervals
 
windows2000_osName - Static variable in class bb.util.OsUtil
Official name of the Microsoft Windows 2000 operating system.
windows98_commandProcessor - Static variable in class bb.util.OsUtil
Name of the command processor program to execute DOS commands under Windows 98 (and below).
windows98_osName - Static variable in class bb.util.OsUtil
Official name of the Microsoft Windows 98 operating system.
windowsNt_commandProcessor - Static variable in class bb.util.OsUtil
Name of the command processor program to execute DOS commands under Windows NT (and above).
windowsNt_osName - Static variable in class bb.util.OsUtil
Official name of the Microsoft Windows NT operating system.
windowsXp_osName - Static variable in class bb.util.OsUtil
Official name of the Microsoft Windows XP operating system.
write(BasicStroke, ObjectOutputStream) - Static method in class bb.gui.BasicStrokeSerializer
Constructs a new BasicStrokeSerializer.BasicStrokeSerializer(java.awt.BasicStroke) instance from basicStroke and serializes it to objectOutputStream.
write(BufferedImage, String) - Static method in class bb.gui.ScreenShot
Calls write(image, new File(filePath)).
write(BufferedImage, File) - Static method in class bb.gui.ScreenShot
Calls write(image, getGraphicsFormat(file), file).
write(BufferedImage, String, File) - Static method in class bb.gui.ScreenShot
Writes image to file in the format specified by formatName.
write(char[]) - Method in class bb.io.FileRollingWriter
Calls write( cBuffer, 0, cBuffer.length ).
write(char[], int, int) - Method in class bb.io.FileRollingWriter
write(int) - Method in class bb.io.FileRollingWriter
write(String) - Method in class bb.io.FileRollingWriter
Calls write( s, 0, s.length() ).
write(String, int, int) - Method in class bb.io.FileRollingWriter
write(int) - Method in class bb.util.JUnitExecutor.BufferWithEcho
 
write(byte[], int, int) - Method in class bb.util.JUnitExecutor.BufferWithEcho
 
writeBytes(byte[], File, boolean) - Static method in class bb.io.FileUtil
Writes bytes into file.
writeExternal(ObjectOutput) - Method in class bb.gui.GroupLayout2
Customizes serialization.
writeFileToUrl(File, URL, PrintWriter) - Static method in class bb.net.NetUtil
Writes file to url.
writeLine() - Static method in class bb.io.ConsoleUtil
Writes ConsoleUtil.line.
writeLine(String) - Method in class bb.util.JUnitExecutor.BufferWithEcho
 
writeObject(ObjectOutputStream) - Method in class bb.gui.TextFieldSecure.ContentSecure
The default serialization behavior would write out the complete current state of this instance, including the highly sensitive underlying char[] that stores this instance's text content.
writeOutFile(TarArchiveInputStream, File) - Static method in class bb.io.TarUtil
Writes all the bytes from tarArchiveInputStream's current TarArchiveEntry to path.
writeOutFile(ZipFile, ZipEntry, File) - Static method in class bb.io.ZipUtil
Writes all the bytes from zipApiFile's current entry to path.
writer - Variable in class bb.io.FileRollingWriter
 
writeReplace() - Method in class bb.util.Unmodifiables.UnmodifiableRandomAccessList
Allows instances to be deserialized in pre-1.4 JREs (which do not have UnmodifiableRandomAccessList).
writeRolling(int, File) - Method in class bb.io.FileRollingWriter.UnitTest
Constructs a new FileRollingWriter instance with FileRollingWriter.nCharsTillRollover equal to n.
writeString(String, File, boolean) - Static method in class bb.io.FileUtil
Simply executes writeBytes( string.getBytes(), file, append ).
wsTokensize(String, List<String>) - Static method in class bb.util.StringUtil
 

X

xAxis - Static variable in class bb.gui.Strut
Specifies the x-axis (i.e. horizontal dimension).

Y

yAxis - Static variable in class bb.gui.Strut
Specifies the y-axis (i.e. vertical dimension).
year - Variable in class bb.util.DateUtil.DateInfo
 
year - Static variable in class bb.util.TimeLength
Length of a standard year (i.e. exactly 365 TimeLength.days) in milliseconds.
yearStart - Variable in class bb.util.DateUtil.DateInfo
 
yocto - Static variable in class bb.science.Prefix
Models the SI prefix for 10-24, the yocto.
yotta - Static variable in class bb.science.Prefix
Models the SI prefix for 1024, the yotta.

Z

zepto - Static variable in class bb.science.Prefix
Models the SI prefix for 10-21, the zepto.
zero(byte) - Method in class bb.util.Check
Checks that value == 0.
zero(short) - Method in class bb.util.Check
Checks that value == 0.
zero(int) - Method in class bb.util.Check
Checks that value == 0.
zero(long) - Method in class bb.util.Check
Checks that value == 0.
zero(float) - Method in class bb.util.Check
Checks that value == 0.
zero(double) - Method in class bb.util.Check
Checks that value == 0.
zeroDigit - Static variable in class bb.util.NumberUtil
 
zeroOutContent() - Method in class bb.gui.TextFieldSecure.ContentSecure
Writes zeroes to the underlying char[] which holds this instance's text contents.
zeroOutContent() - Method in class bb.gui.TextFieldSecure.DocumentSecure
Calls getContentSecure.
zeroOutInput() - Method in class bb.gui.TextFieldSecure
Calls getDocumentSecure.
zetta - Static variable in class bb.science.Prefix
Models the SI prefix for 1021, the zetta.
zipableFileSizeLimit - Static variable in class bb.io.ZipUtil
Maximum size of a file that can be put into a ZIP archive file by Java.
zipArchiveSizeLimit - Static variable in class bb.io.ZipUtil
Maximum size of any ZIP archive file that can be read by Java.
zipCommand(File, File) - Method in class bb.io.ZipUtil.UnitTest
 
zipFile_key - Static variable in class bb.io.ZipUtil
 
ZipFilter - Class in bb.io.filefilter
File filter that accepts ZIP Archive files.
ZipFilter() - Constructor for class bb.io.filefilter.ZipFilter
Constructs a new ZipFilter instance.
ZippableFilter - Class in bb.io.filefilter
Filter that accepts everything which passes ZipUtil.isZipable.
ZippableFilter(FileFilterListener) - Constructor for class bb.io.filefilter.ZippableFilter
Constructor.
ZipUtil - Class in bb.io
Provides static utility methods for dealing with ZIP paths.
ZipUtil() - Constructor for class bb.io.ZipUtil
This sole private constructor suppresses the default (public) constructor, ensuring non-instantiability outside of this class.
ZipUtil.UnitTest - Class in bb.io
See the Overview page of the project's javadocs for a general description of this unit test class.
ZipUtil.UnitTest() - Constructor for class bb.io.ZipUtil.UnitTest
 

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z