Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- a() - Method in record class org.mbari.jcommons.util.Tuple2
-
Returns the value of the
arecord component. - a() - Method in record class org.mbari.jcommons.util.Tuple3
-
Returns the value of the
arecord component. - ActiveAppBeacon - Class in org.mbari.jcommons.util
-
ActiveAppBeacon is a beacon that can be attached to a port and will ping a message when any application connects to that port.
- ActiveAppBeacon(Collection<Integer>, String) - Constructor for class org.mbari.jcommons.util.ActiveAppBeacon
- ActiveAppPinger - Class in org.mbari.jcommons.util
-
Tools for checking if an ActiveAppBeacon is running.
- ActiveAppPinger() - Constructor for class org.mbari.jcommons.util.ActiveAppPinger
- addWatermark(BufferedImage, String, Color, Font, float) - Static method in class org.mbari.jcommons.awt.ImageUtil
-
Adds text as a watermark to an image as 50% transparent of the supplied color.
- atDebug() - Method in record class org.mbari.jcommons.util.Logging
- atError() - Method in record class org.mbari.jcommons.util.Logging
- atg(double, double, double) - Static method in class org.mbari.jcommons.ocean.Seawater
-
Adiabatic temperature gradient (salinity,temperature,pressure)
- atInfo() - Method in record class org.mbari.jcommons.util.Logging
- atTrace() - Method in record class org.mbari.jcommons.util.Logging
- atWarn() - Method in record class org.mbari.jcommons.util.Logging
- available(int) - Static method in class org.mbari.jcommons.util.ActiveAppBeacon
-
Checks to see if a specific port is available.
- AwtUtil - Class in org.mbari.jcommons.awt
- AwtUtil() - Constructor for class org.mbari.jcommons.awt.AwtUtil
B
- b() - Method in record class org.mbari.jcommons.util.Tuple2
-
Returns the value of the
brecord component. - b() - Method in record class org.mbari.jcommons.util.Tuple3
-
Returns the value of the
brecord component. - bulkmod(double, double, double) - Static method in class org.mbari.jcommons.ocean.Seawater
-
Seawater bulk modulus
C
- c() - Method in record class org.mbari.jcommons.util.Tuple3
-
Returns the value of the
crecord component. - c2t(double) - Static method in class org.mbari.jcommons.ocean.Light
- c2t(double, double) - Static method in class org.mbari.jcommons.ocean.Light
-
Convert beam attenuation (/m) to percent beam transmission
- cause() - Method in record class org.mbari.jcommons.util.Logging
-
Returns the value of the
causerecord component. - celerity(double) - Static method in class org.mbari.jcommons.ocean.Waves
-
Ideal wave phase speed = f(Period), Deep water approximation
- celerity(double, double) - Static method in class org.mbari.jcommons.ocean.Waves
-
Ideal wave phase speed = f(Period, Depth)
- Chlorophyll - Class in org.mbari.jcommons.ocean
- Chlorophyll() - Constructor for class org.mbari.jcommons.ocean.Chlorophyll
- containsOrderedChars(String, String) - Static method in class org.mbari.jcommons.util.StringUtil
- copy(InputStream, OutputStream) - Static method in class org.mbari.jcommons.util.IOUtil
-
Copy ALL available data from one stream into another
- correlationCoefficient(double[], double[]) - Static method in class org.mbari.jcommons.math.Statlib
- crossCorrelation(double[], double[]) - Static method in class org.mbari.jcommons.math.Statlib
- cumsum(double[]) - Static method in class org.mbari.jcommons.math.Matlib
-
Cumulatively sum a vector Example: cumsum([1 1 1 1 2]) = [1 2 3 4 6]
- czcs(double, double) - Static method in class org.mbari.jcommons.ocean.Chlorophyll
D
- delta(double, double) - Static method in class org.mbari.jcommons.ocean.Seawater
- delta(double, double, double) - Static method in class org.mbari.jcommons.ocean.Seawater
-
Specific volume anomaly = f(S,T,P) International Equation of State of Seawater (1980)
- density(double, double) - Static method in class org.mbari.jcommons.ocean.Seawater
-
Seawater density (S, T, 0) International Equation of State of Seawater (1980) UNESCO Tech Paper Mar Sci 44 (1983)
- density(double, double, double) - Static method in class org.mbari.jcommons.ocean.Seawater
-
DENSITY - Seawater density (S,T,P)
- depth(double, double) - Static method in class org.mbari.jcommons.ocean.Seawater
-
Calculate ocean depth from measured pressure and latitude.
- deviationFromMean(double[]) - Static method in class org.mbari.jcommons.math.Statlib
- diff(double[]) - Static method in class org.mbari.jcommons.math.Matlib
- DoubleMath - Class in org.mbari.jcommons.math
- DoubleMath() - Constructor for class org.mbari.jcommons.math.DoubleMath
E
- equals(Object) - Method in record class org.mbari.jcommons.util.Logging
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.mbari.jcommons.util.Tuple2
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.mbari.jcommons.util.Tuple3
-
Indicates whether some other object is "equal to" this one.
F
- find(double[], double) - Static method in class org.mbari.jcommons.math.Matlib
- fix(double) - Static method in class org.mbari.jcommons.math.Matlib
-
Rounds the x to the nearest integer towards zero.
- freeze(double, double) - Static method in class org.mbari.jcommons.ocean.Seawater
-
Freezing point of seawater.
G
- getFrame(Component) - Static method in class org.mbari.jcommons.awt.AwtUtil
-
Returns the Frame that contains the given component.
- getToken(String, int) - Static method in class org.mbari.jcommons.util.StringUtil
-
Return the token specified by position in a string using white space delimiters (\t\r\n\f and space).
- getToken(String, int, String) - Static method in class org.mbari.jcommons.util.StringUtil
-
Return the token specified by position in a string using the specified delimiter.
- getWindow(Component) - Static method in class org.mbari.jcommons.awt.AwtUtil
-
Returns the Window that contains the given component.
H
- hasAlpha(Image) - Static method in class org.mbari.jcommons.awt.ImageUtil
-
This method returns true if the specified image has transparent pixels.
- hashCode() - Method in record class org.mbari.jcommons.util.Logging
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.mbari.jcommons.util.Tuple2
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.mbari.jcommons.util.Tuple3
-
Returns a hash code value for this object.
- hist(double[], double[], boolean) - Static method in class org.mbari.jcommons.math.Statlib
-
Bins elements into bins with specified centers
- histc(double[], double[]) - Static method in class org.mbari.jcommons.math.Statlib
I
- ImageUtil - Class in org.mbari.jcommons.awt
- interpolate(double[], double[], double[]) - Static method in class org.mbari.jcommons.math.Matlib
- interpolate(long[], double[], long[]) - Static method in class org.mbari.jcommons.math.Matlib
- interpolate(BigDecimal[], BigDecimal[], BigDecimal[]) - Static method in class org.mbari.jcommons.math.Matlib
- IOUtil - Class in org.mbari.jcommons.util
- IOUtil() - Constructor for class org.mbari.jcommons.util.IOUtil
- isAlive() - Method in class org.mbari.jcommons.util.ActiveAppBeacon
- isBlank(CharSequence) - Static method in class org.mbari.jcommons.util.StringUtil
- isEven(double) - Static method in class org.mbari.jcommons.math.DoubleMath
K
- kill() - Method in class org.mbari.jcommons.util.ActiveAppBeacon
L
- level() - Method in record class org.mbari.jcommons.util.Logging
-
Returns the value of the
levelrecord component. - Light - Class in org.mbari.jcommons.ocean
- Light() - Constructor for class org.mbari.jcommons.ocean.Light
- linspace(double, double, int) - Static method in class org.mbari.jcommons.math.Matlib
-
generates n linearly-spaced points between d1 and d2.
- log(String) - Method in record class org.mbari.jcommons.util.Logging
- log(Supplier<String>) - Method in record class org.mbari.jcommons.util.Logging
- logger() - Method in record class org.mbari.jcommons.util.Logging
-
Returns the value of the
loggerrecord component. - Logging - Record Class in org.mbari.jcommons.util
- Logging(Class<?>) - Constructor for record class org.mbari.jcommons.util.Logging
- Logging(String) - Constructor for record class org.mbari.jcommons.util.Logging
- Logging(System.Logger) - Constructor for record class org.mbari.jcommons.util.Logging
- Logging(System.Logger, System.Logger.Level, Throwable) - Constructor for record class org.mbari.jcommons.util.Logging
-
Creates an instance of a
Loggingrecord class. - logspace(double, double, int) - Static method in class org.mbari.jcommons.math.Matlib
-
generates n logarithmically-spaced points between d1 and d2.
- logspace(double, double, int, double) - Static method in class org.mbari.jcommons.math.Matlib
-
generates n logarithmically-spaced points between d1 and d2 using the provided base.
M
- Matlib - Class in org.mbari.jcommons.math
-
Static methods for doing useful math
- Matlib() - Constructor for class org.mbari.jcommons.math.Matlib
- MAX_PORT_NUMBER - Static variable in class org.mbari.jcommons.util.ActiveAppBeacon
-
The maximum number of server port number.
- mean(double[]) - Static method in class org.mbari.jcommons.math.Statlib
-
Calculate the mean of an array of values
- median(double[]) - Static method in class org.mbari.jcommons.math.Statlib
- MIN_PORT_NUMBER - Static variable in class org.mbari.jcommons.util.ActiveAppBeacon
-
The minimum number of server port number.
- mod(double, double) - Static method in class org.mbari.jcommons.math.DoubleMath
N
- near(double[], double) - Static method in class org.mbari.jcommons.math.Matlib
-
Find the index of the value nearest to the key.
- near(double[], double, boolean) - Static method in class org.mbari.jcommons.math.Matlib
-
Find the index of the array nearest to the value.
- nearInclusive(double[], double) - Static method in class org.mbari.jcommons.math.Matlib
-
Deprecated.Use near instead
- normalizeRadianAngle(double) - Static method in class org.mbari.jcommons.math.DoubleMath
-
Adjusts an angle in radians to fall between 0 and 2 * PI
- NumberUtil - Class in org.mbari.jcommons.math
-
Useful static methods for manipulating numbers.
O
- oc1a(double, double) - Static method in class org.mbari.jcommons.ocean.Chlorophyll
-
OC1A Optical chlorophyll algorithmn Note: the units of Rrs490 and Rrs555 are not important.
- oc1b(double, double) - Static method in class org.mbari.jcommons.ocean.Chlorophyll
-
OC1B Optical chlorophyll algorithmn Note: the units of Rrs490 and Rrs555 are not important.
- oc1c(double, double) - Static method in class org.mbari.jcommons.ocean.Chlorophyll
-
OC1C Optical chlorophyll algorithmn Note: the units of Rrs490 and Rrs555 are not important.
- oc1d(double, double) - Static method in class org.mbari.jcommons.ocean.Chlorophyll
-
OC1D Optical chlorophyll algorithmn Note: the units of Rrs490 and Rrs555 are not important.
- oc2v1(double, double) - Static method in class org.mbari.jcommons.ocean.Chlorophyll
-
OC2V2 Optical chlorophyll algorithmn Note: the units of Rrs490 and Rrs555 are not important.
- oc2v2(double, double) - Static method in class org.mbari.jcommons.ocean.Chlorophyll
-
OC2V2 Modified ocean chlorphyll 2 algorithm
- oc2v4(double, double) - Static method in class org.mbari.jcommons.ocean.Chlorophyll
-
OC2V4 2-band ocean chlorphyll algorithm (version 4)
- oc4v4(double, double, double, double) - Static method in class org.mbari.jcommons.ocean.Chlorophyll
-
OC4V4 4-band ocean chlorphyll algorithm (version 4)
- order(String[], int[]) - Static method in class org.mbari.jcommons.util.StringUtil
-
Useful method for ordering a 1-D array based on an array of indices
- org.mbari.jcommons - module org.mbari.jcommons
- org.mbari.jcommons.awt - package org.mbari.jcommons.awt
- org.mbari.jcommons.math - package org.mbari.jcommons.math
- org.mbari.jcommons.ocean - package org.mbari.jcommons.ocean
- org.mbari.jcommons.util - package org.mbari.jcommons.util
P
- pearsonsCorrelation(double[], double[]) - Static method in class org.mbari.jcommons.math.Statlib
-
Calculate Pearson's correlation coefficient.
- percentile(double[], double) - Static method in class org.mbari.jcommons.math.Statlib
-
Retrive the value at some percent.
- ping(int, String) - Static method in class org.mbari.jcommons.util.ActiveAppPinger
- pingAll(Collection<Integer>, String) - Static method in class org.mbari.jcommons.util.ActiveAppPinger
- populationStandardDeviation(double[]) - Static method in class org.mbari.jcommons.math.Statlib
-
Standard deviation is a statistical measure of spread or variability.The standard deviation is the root mean square (RMS) deviation of the values from their arithmetic mean.
- populationVariance(double[]) - Static method in class org.mbari.jcommons.math.Statlib
-
Variance: the square of the standard deviation of the population.
Q
- quartile(double[], double) - Static method in class org.mbari.jcommons.math.Statlib
-
Deprecated.Use percentile instead
R
- rem(double, double) - Static method in class org.mbari.jcommons.math.DoubleMath
- repeat(String, int) - Static method in class org.mbari.jcommons.util.StringUtil
-
Repeat a string.
S
- salinity(double, double) - Static method in class org.mbari.jcommons.ocean.Seawater
- salinity(double, double, double) - Static method in class org.mbari.jcommons.ocean.Seawater
-
Conversion of conductivity ratio to practical salinity (R, T, P) UNESCO Tech Paper Mar Sci 44 (1983)
- saveImage(RenderedImage, File) - Static method in class org.mbari.jcommons.awt.ImageUtil
-
Saves the image to the target file.
- Seawater - Class in org.mbari.jcommons.ocean
- sigmat(double, double) - Static method in class org.mbari.jcommons.ocean.Seawater
-
Computes the potential density anomaly sigma-t International Equation of State of Seawater (1980) UNESCO Tech Paper Mar Sci 44 (1983)
- sign(double) - Static method in class org.mbari.jcommons.math.DoubleMath
- spiciness(double, double, double) - Static method in class org.mbari.jcommons.ocean.Seawater
-
'Spiciness', an oceanographic variable for characterization of intrusions and water masses.
- standardDeviation(double[]) - Static method in class org.mbari.jcommons.math.Statlib
-
Standard deviation is a statistical measure of spread or variability.The standard deviation is the root mean square (RMS) deviation of the values from their arithmetic mean.
- Statlib - Class in org.mbari.jcommons.math
- Statlib() - Constructor for class org.mbari.jcommons.math.Statlib
- StreamUtil - Class in org.mbari.jcommons.util
- StreamUtil() - Constructor for class org.mbari.jcommons.util.StreamUtil
- StringUtil - Class in org.mbari.jcommons.util
- subset(double[], int[]) - Static method in class org.mbari.jcommons.math.Matlib
-
Useful method for ordering a 1-D array based on an array of indices
- subset(float[], int[]) - Static method in class org.mbari.jcommons.math.Matlib
- subset(long[], int[]) - Static method in class org.mbari.jcommons.math.Matlib
- sum(double[]) - Static method in class org.mbari.jcommons.math.Matlib
-
Sum up all the values in an array
- svel(double, double, double) - Static method in class org.mbari.jcommons.ocean.Seawater
-
Sound velocity in seawater = f(S, T, P) UNESCO Tech Paper Mar Sci 44 (1983)
T
- t2c(double, double) - Static method in class org.mbari.jcommons.ocean.Light
-
Convert beam transmission to beam attenuation
- TAU - Static variable in class org.mbari.jcommons.math.DoubleMath
- theta(double, double, double) - Static method in class org.mbari.jcommons.ocean.Seawater
- theta(double, double, double, double) - Static method in class org.mbari.jcommons.ocean.Seawater
-
Local potential temperature at the reference pressure = f(S, T, P) UNESCO Tech Paper Mar Sci 44 (1983)
- toBufferedImage(Image) - Static method in class org.mbari.jcommons.awt.ImageUtil
-
This method returns a buffered image with the contents of an image.
- toBufferedImage(RenderedImage) - Static method in class org.mbari.jcommons.awt.ImageUtil
-
Converts a RenderedImage into a BufferedImage.
- toByteArray(char) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Converts an char to the corresponding byte[] array.
- toByteArray(char, boolean) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Description of the Method
- toByteArray(double) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Converts a double to the corresponding byte[] array.
- toByteArray(double, boolean) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Converts a double to the corresponding byte[] array
- toByteArray(float) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Converts a float to the corresponding byte[] array.
- toByteArray(float, boolean) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Converts a float to the corresponding byte[] array
- toByteArray(int) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Converts an integer to the corresponding byte[] array.
- toByteArray(int, boolean) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Converts an integer to the corresponding byte[] array
- toByteArray(long) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Converts a long to the corresponding byte[] array.
- toByteArray(long, boolean) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Converts a long to the corresponding byte[] array
- toByteArray(short) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Converts a short to the corresponding byte[] array.
- toByteArray(short, boolean) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Converts a short to the corresponding byte[] array
- toByteArray(InputStream) - Static method in class org.mbari.jcommons.util.IOUtil
- toChar(byte[]) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Convert a byte[] (most significant byte first) to the corresponding char value.
- toChar(byte[], boolean) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Convert a byte[] to the corresponding char value.
- toDouble(byte[]) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Convert a byte[] (most significant byte first) to the corresponding double value.
- toDouble(byte[], boolean) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Convert a byte[] to the corresponding double value.
- toFloat(byte[]) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Convert a byte[] (most significant byte first) to the corresponding float value.
- toFloat(byte[], boolean) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Convert a byte[] to the corresponding float value.
- toHexString(byte[]) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Format a byte array as a hexadecimal string.
- toImage(BufferedImage) - Static method in class org.mbari.jcommons.awt.ImageUtil
-
This method returns an Image object from a buffered image.
- toInt(byte[]) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Convert a byte[] (most significant byte first) to the corresponding int value.
- toInt(byte[], boolean) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Convert a byte[] to the corresponding int value.
- toLong(byte[]) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Convert a byte[] (most significant byte first) to the corresponding long value.
- toLong(byte[], boolean) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Convert a byte[] to the corresponding long value.
- toPoint(Point2D) - Static method in class org.mbari.jcommons.awt.AwtUtil
- toPoint2D(Point) - Static method in class org.mbari.jcommons.awt.AwtUtil
- toShort(byte[]) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Convert a byte[] (most significant byte first) to the corresponding short value.
- toShort(byte[], boolean) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Convert a byte[] to the corresponding short value.
- toStream(Enumeration<T>) - Static method in class org.mbari.jcommons.util.StreamUtil
-
Transform an Enumeration to a Stream
- toStream(Iterator<T>) - Static method in class org.mbari.jcommons.util.StreamUtil
-
Transform an Iterator to a Stream
- toStream(Iterator<T>, boolean) - Static method in class org.mbari.jcommons.util.StreamUtil
-
Transform an Iterator to a Stream
- toString() - Method in record class org.mbari.jcommons.util.Logging
-
Returns a string representation of this record class.
- toString() - Method in record class org.mbari.jcommons.util.Tuple2
-
Returns a string representation of this record class.
- toString() - Method in record class org.mbari.jcommons.util.Tuple3
-
Returns a string representation of this record class.
- trapz(double[], double[]) - Static method in class org.mbari.jcommons.math.Matlib
- Tuple2<A,
B> - Record Class in org.mbari.jcommons.util - Tuple2(A, B) - Constructor for record class org.mbari.jcommons.util.Tuple2
-
Creates an instance of a
Tuple2record class. - Tuple3<A,
B, C> - Record Class in org.mbari.jcommons.util - Tuple3(A, B, C) - Constructor for record class org.mbari.jcommons.util.Tuple3
-
Creates an instance of a
Tuple3record class. - TWO_PI - Static variable in class org.mbari.jcommons.math.DoubleMath
U
- uniqueSort(double[]) - Static method in class org.mbari.jcommons.math.Matlib
-
Returns an array of indices indicating the order the data should be sorted in.
- uniqueSort(long[]) - Static method in class org.mbari.jcommons.math.Matlib
-
Returns an array of indices indicating the order the data should be sorted in.
- unsignedBytetoInt(byte) - Static method in class org.mbari.jcommons.math.NumberUtil
-
Convert an unsigned byte to an integer
V
- variance(double[]) - Static method in class org.mbari.jcommons.math.Statlib
-
Variance: the square of the standard deviation.
W
- Waves - Class in org.mbari.jcommons.ocean
- Waves() - Constructor for class org.mbari.jcommons.ocean.Waves
- withCause(Throwable) - Method in record class org.mbari.jcommons.util.Logging
All Classes and Interfaces|All Packages|Constant Field Values