Uses of Class
com.fa993.types.supertype.Either.OfTwo
-
Packages that use Either.OfTwo Package Description com.fa993.types.supertype com.fa993.utils -
-
Uses of Either.OfTwo in com.fa993.types.supertype
Methods in com.fa993.types.supertype that return Either.OfTwo Modifier and Type Method Description static <A,B>
Either.OfTwo<A,B>Either.OfTwo. first(A first)
Creates anOfTwo
instance with the first value selected.static <A,B>
Either.OfTwo<A,B>Either.OfTwo. second(B second)
Creates anOfTwo
instance with the second value selected.Constructors in com.fa993.types.supertype with parameters of type Either.OfTwo Constructor Description PairOfDoubleOrDArr(Either.OfTwo<Double,double[]> first, Either.OfTwo<Double,double[]> second)
Constructs aPairOfDoubleOrDArr
with the specified first and second elements. -
Uses of Either.OfTwo in com.fa993.utils
Methods in com.fa993.utils with parameters of type Either.OfTwo Modifier and Type Method Description static SelectThresholdOutput
SelectByPeakThreshold. call(double[] x, int[] peaks, Either.OfTwo<Double,double[]> tmin, Either.OfTwo<Double,double[]> tmax)
Evaluates which peaks in the input array fulfill the threshold condition.static boolean[]
SelectByProperty. call(double[] peakProperties, Either.OfTwo<Double,double[]> pmin, Either.OfTwo<Double,double[]> pmax)
Evaluates which peaks conform to a specified interval based on their properties.static boolean[]
SelectByProperty. call(int[] peakProperties, Either.OfTwo<Double,double[]> pmin, Either.OfTwo<Double,double[]> pmax)
Evaluates which peaks conform to a specified interval based on their properties.
-