|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractFilter.filterConfig
field,
as well as init
, destroy
, and toString
methods.the FileFilterListener
if it is non-null.
clazz.equals(object.getClass())
.
!
- 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
ConnectionListener
s.
- 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
TransportListener
s.
- 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.
File
filter implementations that defines some common functionality.this
(null)
.
this
(FileMode.test
, DirectoryMode.reject
, listener)
.
this
(fileMode, directoryMode, null)
.
this
(fileMode, directoryMode, OtherMode.reject
, PartMode.name
, listener)
.
this
(fileMode, directoryMode, OtherMode.reject
, PartMode.name
, null)
.
Callable
or Runnable
.this
(task, new Benchmark.Params.Benchmark.Params()
)
.
this
(task, new Params
(manyExecutions))
.
this
(task, new Params
(numberActions))
.
this
(task, new Params
(manyExecutions, numberActions))
.
this
(task, new Benchmark.Params.Benchmark.Params()
)
.
this
(task, new Params
(manyExecutions))
.
this
(task, new Params
(numberActions))
.
this
(task, new Params
(manyExecutions, numberActions))
.
Callable constructor
except that task
is a Runnable
.
run
method of this class simply advances the internal state of an Lfsr
instance.manyExecutions
to the corresponding field.
numberActions
to the corresponding field.
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
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
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
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
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.
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
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
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
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
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.CiTask
s. - 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.CoverageTask
s. - 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.
doFilter
method.Bootstrap.Estimate
for each element of estimators.
Bootstrap.Estimate
for each element of estimators.
Bootstrap.sample
, calculating a point estimate for each jackknife resample using estimator.
toString
) on the current bin, as it will simply overwrite the previous mapping.
Benchmark.statsBlock
from Benchmark.measurements
.
ReflectUtil.callLogError(Object, String, Class[], Object[])
(obj, methodName, ReflectUtil.noArgSignature
, ReflectUtil.noArgParameters
)
.
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.
getMemoryState
to first call restoreJvm
before measuring memory.
task
is a Callable
, then records the last result of executing task.call()
.
default Charset
)
can encode c and then decode it back to the exact same value.
component's Font
is capable of displaying all of the chars of s that require a glyph
.
compare
for details.Character.MIN_VALUE
to Character.MAX_VALUE
.
char
s.this
(true)
.
Check
which is meant for checking method arguments.Check
which is meant for checking arbitrary state.Check
which merely implements Check.onFailure(String)
to forward to Check.onFailure(String, Throwable)
.Check
which is meant for checking arbitrary state.close
.
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.
Class
of an object.cleanJvm
.
clear
on all the DateUtil.DateStringCache
fields of this class:
DateUtil.dayOfYearCache
, DateUtil.timeOfDayStampCache
, DateUtil.timeOfDayStampForFileCache
,
DateUtil.timeStampCache
, DateUtil.timeStampForFileCache
.
sendUserMsg
.
Params
instance that contains equivalent data to this instance.
isAlive
returns true,
then calls super.close
before calling setAlive
(false)
.
Collections
.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
Component
s. - 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
ConnectionListener
s 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
-
Date
which corrects all its design mistakes.accepts
method to test a given Date.DateUtil.DateInfoBin
instances.
DateUtil.DateInfo
instances.
DateUtil.DateInfo
instances which have a common day number key
(as calculated by getDateInfo
).this
(pattern, DateUtil.DateStringCache.sizeMax_default
)
.
this
(pattern, sizeMax, false)
.
this
(pattern, DateUtil.DateStringCache.sizeMax_default
, useIsoDateFormat)
.
getDayStamp
and parseDayStamp
.
SimpleDateFormat
class
which exactly specifies a day of the year.
delete
(directory)
if directory !
delete
(file)
if file !
deque
field.
describe
( obj, null)
.
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.
EventQueue
's dispatch thread
(aka the "EDT").
HandlerEmail.threadEmailer
's emailer
.
HandlerEmail.threadEmailer
's emailer
.
ParseReader.buffer
where data ends.
newConnection
if connection has already been closed.
char[]
has exactly the same chars as a String
.
JvmState
instance
whose every field equals that of this instance.
obj
's Class
is the same as this instance's Class
,
and every field of it equals that of this instance.
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
-
TarUtil
and ZipUtil
.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.this
(directory, filePrefix, minDigitsInSeriesNumber, fileSuffix, nCharsTillRollover, true)
.
Filter
implementation which rejects LogRecords if their message contains a known bad substring.accept
and getDescription
.
ObjectState.Filter
s that this instance uses.
super.finalize
,
then calls zeroOutContent
(to guarantee that the content is zeroed out before garbage collection).
LogUtil.nameToNodeProps
to find the best match to loggerName.
onCacheMiss
is returned.
MemoryMonitor.logger2
if and only if it has been created.
ThreadMonitor.logger2
if and only if it has been created.
this( font, findDisplayableCharPercent
(font, s) )
.
--------------------------------------------------
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.
--------------------------------------------------
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.
MemoryState.integerFormat
.
log
in its error handling logic if need to resort to outputting to the console.
XMLFormatter
, this class uses almost all of the information in a LogRecord
in its output
and is ideal for a FileHandler to use.LogRecord
s from data generated by format
.SimpleFormatter
, this class uses only the essential information in a LogRecord
in its output
and is ideal for a ConsoleHandler to use.fractionOfScreenSize
(fraction, fraction)
.
screenSize
.
JFrame
which is used by HandlerGui
to displays the most recent logs.fill
so that they can be garbage collected.
Math2.gaussianFit
.ObjectState.object
.
ObjectState.object
.
String
which contains the invalid, valid unsent, and valid sent
addresses that are contained inside the sendFailedException argument.
Point2D
which is associated with this instance.
Anderson-Darling
goodness of fit measure.
BufferFixed.State
instance which holds the complete state of this instance.
getAnonymousLogger2
(null)
.
Logger2.logger
is anonymous (i.e. unregistered with LogManager
) and uses resourceBundleName.
LineMetrics
) of this instance's text
.
MemoryState.available
field.
MemoryState.available
field to the MemoryState.max
field.
Bins.Intervals.begin
.
Boolean.parseBoolean( getProperty
(key) )
.
Boolean.parseBoolean(value)
.
text
.
text
.
Bins.bounds
.
DistributionFit.bounds
.
Byte.parseByte( getProperty
(key) )
.
Byte.parseByte(value)
.
run
and stored by this instance
since the last time this method was called.
run
,
this method always returns an empty byte[].
run
since the last time this method was called.
getCacheIssues
(DateUtil.prefix_default
).
getCacheIssues
(prefix, DateUtil.separator_default
).
Benchmark.callResult
.
ObjectState.classToFields
.
Benchmark.Params.cleanFractionThreshold
.
Benchmark.Params.confidenceLevel
.
Benchmark.Params.consoleFeedback
.
getContents(directory, null)
.
getContents(directory, fileFilter, true)
.
Bins.counts
.
Bins.counts
.
DateConstraint.dateMax
field.
DateConstraint.dateMin
field.
DateConstraint.dayOfWeekMax
field.
DateConstraint.dayOfWeekMin
field.
LineMetrics
) of this instance's text
.
RegexFilter.patterns
.
RegexFilter.patterns
.
BaseFilter.directoryMode
.
TextFieldSecure.DocumentSecure
instance.
Double.parseDouble( getProperty
(key) )
.
Double.parseDouble(value)
.
encoding
.
Bins.Intervals.end
.
TarArchiveEntry
s inside tarFile.
TarArchiveEntry
s that can next be read by tarArchiveInputStream.
ZipFile
out of zipFile named zipApiFile,
and then returns getEntries
( zipApiFile, sortResult )
.
ZipEntry
s in zipApiFile.
Bootstrap.Estimate
which corresponds to estimator.
Bootstrap.Estimate
which corresponds to estimator with the same name as estimatorName.
Benchmark.Params.estimateNoiseFloor
.
testRunStarted
.
MessagingException
to a more readable String
form.
Benchmark.Params.executionTimeGoal
.
text
vertically extends
above the anchor point
.
text
vertically extends
below the anchor point
.
text
horizontally extends
to the left of the anchor point
.
text
horizontally extends
to the right of the anchor point
.
new File( getProperty
(key) )
.
new File(value)
.
BaseFilter.fileMode
.
getFilesInTree(directory, null)
.
getFilesInTree(directory, fileFilter, true)
.
filter
.
ObjectState.filters
.
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 !
Handler
which makes it easier to write further subclasses.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.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
.boolean
fields.
sign
(x1) == sign(x2)
.
public no-arg constructor
.
this(1)
.
ObjectState.Filter
s 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.
ObjectState.Filter
s 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.
indentLines
(s, 1)
.
parseLines
(s, true)
.
Emailer.transport
if it currently exists.
super.insertString(offset, s, attributeSet)
.
MemoryMonitor.instanceId
field.
Properties2.instanceId
field.
ThreadMonitor.instanceId
field.
g.ObjectStateDisplay.instanceId
field.
MemoryMonitor.interval
.
ThreadMonitor.interval
.
MemoryMonitor.interval
, namely 1.
MemoryMonitor.interval
, namely 1.
1 / sqrt(2*pi)
.
EventQueue
's dispatch thread
(i.e. this method does return until task has finished running).
EventQueue
's dispatch thread
.
HandlerAbstract.alive
.
char
can represent.
char
can represent.
MouseEvent
represents a double click.
DuplicateEventActionListener.lastEventTime
with DuplicateEventActionListener.duplicateEventMaxTimeDifference
.
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
-
Test
) found in the class files of some directory tree.Description
.JUnitExecutor.BufferWithEcho
instances.Benchmark.JvmState
just after the measurement ended.
main
.
main
.
main
for an archive.
main
for an archive operation.
main
for an extract.
main
for an extract operation.
main
for a content list operation.
Emailer.makeForSmtpSsl(bb.util.Properties2)
.
Emailer.makeForSmtpSsl(bb.util.Properties2)
.
publish
since the last call to getLevelWorst
.
isSerious
.
Lfsr
(n, 1)
.
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.Axis
and buffering strategy.
MemoryMonitorListener
s that are interested in memory events.
ThreadMonitorListener
s that are interested in thread events.
compare
for details.Logger2.log(LogRecord)
log)
the logIfNew
methods
This class is multithread safe: every method which uses mutable state is synchronized.Logger2.logger
for all of its work.
getLogger2
if they do not want to bother creating their own Logger.
logIfNew
(level, sourceClass, sourceMethod, message, (Object[]) null)
.
logIfNew
(level, sourceClass, sourceMethod, message, new Object[] {parameter})
.
java.util.logging
package.JUnitExecutor
instance and calls its run
method.
resetPreferences
.
make
( new Properties2
(file) )
.
Bins.Intervals.begin
and Bins.Intervals.end
.
logical AND
.
ZipUtil.UnitTest.root
, with the specified name,
that does not currently exist (hence, contains no data).
java.io.FileFilter
which delegates all filtering to filter.
FilterUtil.makeFilterWithListener(java.io.FileFilter, FileFilterListener)
except that uses javax.swing.filechooser.FileFilter
.
GroupLayout
layout manager and a double buffer.
log directory
.
makeLogger2
(c, null) )
.
makeLogger2
( getName
(c, suffix) )
.
makeLogger2
( name, null )
.
Logger2.getLogger2
(name, resourceBundleName)
.
makeLogWriter
(prefix, false)
(i.e. no auto flushing).
makeLogWriter
(LogUtil.logDirectory
, prefix, autoFlush)
(i.e. the default log directory is used).
logical OR
.
makeSeedSecure
.
makeSeedSecure
("SHA1PRNG")
.
makeSeedSecure
( SecureRandom.getInstance
(algorithm) )
.
makeSeedSecure
( SecureRandom.getInstance
(algorithm, provider) )
.
NumberUtil.bytesBigEndianToLong
( random.generateSeed
(8) )
.
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).
GroupLayout
layout manager and a double buffer.
Benchmark.task
should be performed (as opposed to executing it just once).
Math
.fundamental constructor
.
restoreJvm
will execute.
Benchmark.Stats.mean
's confidence interval.
Benchmark.Stats.mean
's confidence interval.
n
calls of Benchmark.task
.
Benchmark.params
.
MemoryMonitor
constructor
(which is subsequently assigned to the MemoryMonitor.MonitorTask.memoryLowTrigger
field).
this
(false)
.
specified point
.this(fillPoint, MemoryMeasurer.UnitTest.MemoryFiller.interval_default
, measurer)
.
this
(MemoryMonitor.callRestoreJvm_default
, MemoryMonitor.interval_default
)
.
this
(new MemoryMeasurer.MemoryMeasurer()
, MemoryMonitor.memoryLowTrigger_default
, interval)
.
MemoryMonitorListenerImpl
which can be interrogated to see if events have occured.MemoryMonitor
.MemoryMonitorListener
which logs most events to its own internal Logger.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.
MemoryMonitor.MonitorTask
used to measure the memory state.
ThreadMonitor.MonitorTask
used to measure the thread state.
TimeLength.day
s) in milliseconds.
NetUtil.UnitTest.ServerSocketConnector.serverSocket
, and then waits until stopWaiting
is called.FileRollingWriter.directory
that both start with FileRollingWriter.filePrefix
and end with FileRollingWriter.fileSuffix
, and then returns the next available file count.
MemoryMonitor.logger2
's Id.
ThreadMonitor.logger2
's Id.
MemoryMonitor.timer
value's Id.
ThreadMonitor.timer
value's Id.
ReflectUtil.callLogError(Object, String)
.
ReflectUtil.callLogError(Object, String)
.
Params
instance
to the block statistics
that result from benchmarking Benchmark.noiseTask
.
normalize
method.
normalize
(numbers, Math2.normalizationErrorTolerance_default
)
.
normal
and negative
.
normal
and negative
.
normal
and not negative
.
normal
and not negative
.
normal
and not positive
.
normal
and not positive
.
normal
and positive
.
normal
and positive
.
"blank"
.
NodeProp.findBest
to get the NodeProp
whose associated key best matches logger's name and whose handlerClasses field is non-null.
NodeProp.findBest
to get the NodeProp
whose associated key best matches logger's name and whose level field is non-null.
NodeProp.findBest
to get the NodeProp
whose associated key best matches logger's name and whose useParentHandlers field is non-null.
Benchmark.task
.
fundamental constructor
.
Benchmark.task
were performed for each time measurement.
format
returned a cached value.
format
did not return a cached value.
format
failed to cache data when it called put
.
Benchmark.Params.manyExecutions
is true
,
then once Benchmark.numberExecutions
has been determined, specifies the number of timing measurements to perform.
parse
returned a cached value.
parse
did not return a cached value.
parse
failed to cache data when it called put
.
Bootstrap.numberResamples
.
BufferFixed.deque
since the last call to getAndResetState
.
numDropped
field.
added
,
and statistical inquiries may be made about
(e.g.fundamental constructor
after converting filters into a non-null Set.
Classes
/Fields
.ObjectState.UnitTest.SuperClass
.
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.StreamDrainerForwarding.in
by run
.
testFailure
).
PrintWriter
.close
.
FileParent.file
.
parseInt(s)
, except that this version operates on a char[] instead of a String.
parseLines
(s, false)
.
next
contract,
will lump any remaining info into FormatterFull.Parser.data
.
JUnitExecutor.RunListenerAbstract.className
and JUnitExecutor.RunListenerAbstract.methodName
.
Properties
instance from the contents of file.
this
( in, buffer, start, end, ParseReader.lineNumberInitial_default
).
this
( null, buffer, 0, buffer.length ).
this
( in, new char[ParseReader.bufferLength_default
], 0, 0 ).
this
( new InputStreamReader
(in, charEncoding) ).
this
(in, ParseReader.charEncoding_default
).
this
( new FileInputStream
(file) ).
InternetAddress.parse(String, boolean)
when parsing address Strings (e.g. from, to, cc, and bcc).
Emailer.parseStrictness
.
restoreJvm
will sleep for between loop iterations.
task
according to the specifications found in params
.
perform
(false)
.
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.
Math.max
( poolSize
(numberCpusReserved) * maxBackupPerPoolThread, 1 )
.
Random
.getFonts
.
converts
it to a new BasicStroke instance, and returns it.
readBytes
method),
converts that into a char[] (using the StringUtil.asciiBytesToChars
method)
returns the char[].
readBytes
),
converts that into a char[] (using StringUtil.bytesToChars
),
and then returns the char[].
Console
in a secure manner (the user's typing will not be echoed).
new String( readBytes(file) )
.
readThruToken
(token, true, false)
(i.e. is always case sensitive and excludes token from result).
Canvas
which simply draws a rectangular shape.compare
for details.this
(patterns, FileMode.test
, DirectoryMode.reject
)
.
this
(patterns, fileMode, directoryMode, OtherMode.reject
, PartMode.name
)
.
ConnectionListener
s.
TransportListener
s.
getConnection
must be sent back to this class by calling this method.
FileParent.parent
is null,
then this field holds a made up name for an imaginary root directory containing FileParent.file
.
init
.
init
.
root
which contain JUnit 4 test methods
(i.e. those which are annotated @Test
)
that pass pcmFilter
.
s(null, obj, true)
.
s(null, obj, pauseExecution)
.
s(label, obj, true)
.
add
method.Samples.sizeInitial_default
.
sd
(numbers, true)
.
sd
(numbers, mean
(numbers), biased)
.
sd
(numbers, mean, true)
.
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.
standard deviation
's confidence interval.
standard deviation
's confidence interval.
send
method with null values for
the cc
and bcc
arguments.
send
(ethernetMacAddress, inetAddress, port_default)
.
parameters.toPostParameterString()
to connection's OutputStream
Note: this method performs no cleanup actions (e.g. closing the OutputStream).
getCacheIssues(prefix, separator)
.
MemoryState.toStringHeader(String)
/MemoryState.toString(String, boolean)
.
Session
used by this instance.
HandlerAbstract.alive
.
Benchmark.Params.cleanFractionThreshold
.
Benchmark.Params.confidenceLevel
.
Benchmark.Params.consoleFeedback
.
DateUtil.dateInfoCacheSizeMax
field to sizeMax.
Benchmark.Params.estimateNoiseFloor
.
Benchmark.Params.executionTimeGoal
.
Benchmark.Params.manyExecutions
.
Benchmark.Params.measureCpuTime
.
Benchmark.Params.numberActions
.
Benchmark.Params.numberMeasurements
.
p.pw
.
Benchmark.Params.sdFractionThreshold
.
DateUtil.DateStringCache.sizeMax
.
Benchmark.Params.warmupTime
.
shift
(GraphicsLabel.getText()
, dx, dy)
.
GraphicsLabel.text
field is changed to the text param
and the GraphicsLabel.referencePoint
field is shifted by the deltas.
shuffle
(a, new Random())
.
BufferFixed.deque
.
BufferFixed.deque
.
sizeMax
field.
DateUtil.DateStringCache.dateToString
and DateUtil.DateStringCache.stringToDate
may hold.
BufferFixed.sizeMax
.
DateUtil.DateStringCache.sizeMax
.
skipTillTokenNext
(token, true)
(i.e. is always case sensitive).
URL
and can play
it,
but most importantly it robustly ensures that the clip is eventually closed
and that this close event gets propagated.StreamUtil.close
( Player.this ).splitByLiteral
except that the token delimiter is restricted to a single char,
which allows an even more optimized algorithm to be used.
sst
(numbers, mean
(numbers))
.
ParseReader.buffer
where data starts.
Check.State
instance.
Benchmark.params
.
Benchmark.params
.
this
(StatsOverTime.binLength_default
)
.
StreamDrainerForwarding.out
with the correspondingparameter.
StreamDrainerForwarding.out
with the corresponding parameter,
and calls init
with the in parameter.
onBytesRead
to always throw a RuntimeException.init
with in.
StreamDrainerStoring.UnitTest.byteChunks
to StreamDrainerStoring.UnitTest.ByteChunkSender.out
, until no more elements left.specified length
along a specified direction
.this(axis, strutLength, 0, null)
.
this(axis, strutLength, Integer.MAX_VALUE, preferredTransverse, 0, color)
.
orientation axis
.
HandlerEmail.threadEmailer
's emailer
.
RegexFilter
that makes it convenient to match File
s based on their endings.this
( RegexFilter.toSet(java.lang.String...)
(suffixes) )
.
this
(suffixes, FileMode.test
, DirectoryMode.reject
)
.
this
(suffixes, fileMode, directoryMode, OtherMode.reject
, PartMode.name
)
.
setSizeMax
(0) on all the DateUtil.DateStringCache
fields of this class:
DateUtil.dayOfYearCache
, DateUtil.timeOfDayStampCache
, DateUtil.timeOfDayStampForFileCache
,
DateUtil.timeStampCache
, DateUtil.timeStampForFileCache
.
FilterMsgSuppress.msgsSuppressed
.
swap(T[], int, int) -
Static method in class bb.util.ArrayUtil
TarUtil.isTarable
.Component
whose Look and Feel will be changed by this instance.
class javadocs
.
audit
to log a mutation.
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
Pattern
s 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 Pattern
s.
- 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 String
s.
- 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
TransportListener
s used by this instance.
- typicalTypeAndMessageSize -
Static variable in class bb.util.ThrowableUtil
-
this
( LogUtil.getLogger2()
)
.
unread
(cbuf, 0, cbuf.length)
.
JUnitExecutor.BufferWithEcho
instances to either the corresponding File args
(fileOut and fileErr), if non-null, or else to the original standard stream.
URL
s.usingEdt
(task, LogUtil.getLogger2()
)
.
EventQueue
's dispatch thread
(aka the EDT),
so this method soon returns, and leaves the JVM running.
usingEdt
(task, LogUtil.getLogger2()
)
.
usingEdt
, except that task is a Runnable, and so has no result.
valid TCP or UDP port number
.
variance
(numbers, true)
.
variance
(numbers, mean
(numbers), biased)
.
variance
(numbers, mean, true)
.
VisibleFilter
that additionally accepts Files which are system roots.Benchmark.task
is executed many times (with no recording of the execution time).
Benchmark.Params.manyExecutions
is true,
then specifies the minimum amount of time that should execute Benchmark.task
for before start recording measurements.
TimeLength.day
s) in milliseconds.
BasicStrokeSerializer.BasicStrokeSerializer(java.awt.BasicStroke)
instance from basicStroke
and serializes it to objectOutputStream.
write
(image, new File(filePath))
.
write
(image, getGraphicsFormat
(file), file)
.
write
( cBuffer, 0, cBuffer.length )
.
write
( s, 0, s.length() )
.
ConsoleUtil.line
.
FileRollingWriter.nCharsTillRollover
equal to n.
writeBytes
( string.getBytes(), file, append )
.
TimeLength.day
s) in milliseconds.
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
-
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |