Uses of Class
org.apache.sis.measure.NumberRange
Packages that use NumberRange
Package
Description
Functions that associates positions within a bounded space (its domain) to values (its range).
A coverage backed by a regular grid.
Provides helper classes for handling Java2D rendered images together with some operations.
A set of helper classes for the SIS implementation backed by Java2D.
Utility classes for the implementation of GeoTIFF reader and writer.
Miscellaneous objects and adapters defined in the
"gco" namespace.A set of helper classes for the SIS implementation.
A set of mathematical objects and algebraic utilities.
Units of measurements, values related to measurement (like angles and ranges) and their formatters.
Root package for various metadata implementations.
Helper classes for creating Math Transforms from a set of points.
Reader of Landsat 8 level 1-2 data.
-
Uses of NumberRange in org.apache.sis.coverage
Subclasses of NumberRange in org.apache.sis.coverageModifier and TypeClassDescription(package private) final classRange of real values computed from the range of the sample values.Fields in org.apache.sis.coverage declared as NumberRangeModifier and TypeFieldDescription(package private) final NumberRange<?>Category.rangeThe [minimum … maximum] range of values in this category (nevernull).(package private) final NumberRange<?>CategoryList.rangeThe union of the ranges of every categories, excludingNaNvalues.Methods in org.apache.sis.coverage that return NumberRangeModifier and TypeMethodDescriptionNumberRange<?>Category.getSampleRange()Returns the range of values occurring in this category.private static NumberRange<?>Creates a range for the given minimum and maximum values.Methods in org.apache.sis.coverage that return types with arguments of type NumberRangeModifier and TypeMethodDescriptionOptional<NumberRange<?>>SampleDimension.getSampleRange()Returns the range of values occurring in this sample dimension.Methods in org.apache.sis.coverage with parameters of type NumberRangeModifier and TypeMethodDescriptionSampleDimension.Builder.addQualitative(CharSequence name, NumberRange<?> samples) Adds a qualitative category for all samples in the specified range of values.SampleDimension.Builder.addQuantitative(CharSequence name, NumberRange<?> samples, NumberRange<?> converted) Constructs a quantitative category mapping samples to real values in the specified range.SampleDimension.Builder.addQuantitative(CharSequence name, NumberRange<?> samples, org.opengis.referencing.operation.MathTransform1D toUnits, javax.measure.Unit<?> units) Constructs a quantitative category for all samples in the specified range of values.SampleDimension.Builder.mapQualitative(CharSequence name, NumberRange<?> samples, float converted) Adds a qualitative category for the given samples values mapped to the specified converted NaN value.Constructors in org.apache.sis.coverage with parameters of type NumberRangeModifierConstructorDescriptionprotectedCategory(CharSequence name, NumberRange<?> samples, org.opengis.referencing.operation.MathTransform1D toUnits, javax.measure.Unit<?> units, DoubleToIntFunction toNaN) Constructs a qualitative or quantitative category.privateConvertedRange(NumberRange<Double> union, ConvertedRange r1, NumberRange<Double> r2) Completes the union computed byRange.union(Range)with the unions of alternative extremum. -
Uses of NumberRange in org.apache.sis.coverage.grid
Methods in org.apache.sis.coverage.grid that return NumberRangeModifier and TypeMethodDescriptionprivate NumberRange<?>[]GridCoverage.getRanges()Returns the range of values in each sample dimension, ornullif none. -
Uses of NumberRange in org.apache.sis.image
Fields in org.apache.sis.image with type parameters of type NumberRangeModifier and TypeFieldDescriptionprivate Collection<Map.Entry<NumberRange<?>,Color[]>> Visualization.Builder.rangesAndColorsColors to apply for range of sample values in source image, ornullif none.Methods in org.apache.sis.image that return NumberRangeModifier and TypeMethodDescriptionNumberRange<?>[]PixelIterator.getSampleRanges()Returns the range of sample values that can be stored in each band of the rendered image or raster.Methods in org.apache.sis.image with parameters of type NumberRangeModifier and TypeMethodDescriptionImageProcessor.convert(RenderedImage source, NumberRange<?>[] sourceRanges, org.opengis.referencing.operation.MathTransform1D[] converters, DataType targetType, ColorModel colorModel) Returns an image with sample values converted by the given functions.(package private) static BandedSampleConverterBandedSampleConverter.create(RenderedImage source, ImageLayout layout, NumberRange<?>[] sourceRanges, org.opengis.referencing.operation.MathTransform1D[] converters, int targetType, ColorModel colorModel) Creates a new image of the given data type which will compute values using the given converters.static DataTypeDataType.forRange(NumberRange<?> range, boolean asInteger) Returns the smallest data type capable to store the given range of values.Method parameters in org.apache.sis.image with type arguments of type NumberRangeModifier and TypeMethodDescriptionImageProcessor.visualize(RenderedImage source, Map<NumberRange<?>, Color[]> colors) Returns an image where all sample values are indices of colors in anIndexColorModel.Constructors in org.apache.sis.image with parameters of type NumberRangeModifierConstructorDescriptionprivateBandedSampleConverter(RenderedImage source, BandedSampleModel sampleModel, ColorModel colorModel, NumberRange<?>[] ranges, org.opengis.referencing.operation.MathTransform1D[] converters) Creates a new image which will compute values using the given converters.(package private)Writable(WritableRenderedImage source, BandedSampleModel sampleModel, ColorModel colorModel, NumberRange<?>[] ranges, org.opengis.referencing.operation.MathTransform1D[] converters, org.opengis.referencing.operation.MathTransform1D[] inverses) Creates a new writable image which will compute values using the given converters.Constructor parameters in org.apache.sis.image with type arguments of type NumberRangeModifierConstructorDescription(package private)Builder(RenderedImage source, Collection<Map.Entry<NumberRange<?>, Color[]>> rangesAndColors) Creates a builder for a visualization image with colors specified for range of values. -
Uses of NumberRange in org.apache.sis.internal.coverage.j2d
Fields in org.apache.sis.internal.coverage.j2d declared as NumberRangeModifier and TypeFieldDescriptionprivate NumberRange<?>Colorizer.defaultRangeDefault range of values to use if no explicitly specified by aCategory.(package private) NumberRange<?>ColorsForRange.sampleRangeThe range of sample values on which the colors will be applied.Methods in org.apache.sis.internal.coverage.j2d with parameters of type NumberRangeModifier and TypeMethodDescriptionstatic ColorModelColorModelFactory.createGrayScale(SampleModel model, int visibleBand, NumberRange<?> range) Creates a color model for opaque images storing pixels using the given sample model.private static booleanColorizer.isAlreadyScaled(NumberRange<?> range) Returnstrueif the given range is already the [0 … 255] range.Method parameters in org.apache.sis.internal.coverage.j2d with type arguments of type NumberRangeModifier and TypeMethodDescriptionstatic ColorModelColorModelFactory.createPiecewise(int dataType, int numBands, int visibleBand, Map<NumberRange<?>, Color[]> colors) Returns a color model interpolated for the ranges in the given map entries.(package private) static ColorsForRange[]ColorsForRange.list(Collection<Map.Entry<NumberRange<?>, Color[]>> colors) Converts map entries to an array ofColorsForRangeentries.Constructors in org.apache.sis.internal.coverage.j2d with parameters of type NumberRangeModifierConstructorDescription(package private)ColorsForRange(CharSequence name, NumberRange<?> sampleRange, Color[] colors, boolean isData) Creates a new instance for the given range of values.Constructor parameters in org.apache.sis.internal.coverage.j2d with type arguments of type NumberRangeModifierConstructorDescriptionColorizer(Collection<Map.Entry<NumberRange<?>, Color[]>> colors) Creates a new colorizer which will apply colors on the given range of values in source image. -
Uses of NumberRange in org.apache.sis.internal.geotiff
Methods in org.apache.sis.internal.geotiff with parameters of type NumberRangeModifier and TypeMethodDescriptiondefault SampleDimensionSchemaModifier.customize(int image, int band, NumberRange<?> sampleRange, SampleDimension.Builder dimension) Invoked when a sample dimension is created for a band in an image. -
Uses of NumberRange in org.apache.sis.internal.jaxb.gco
Fields in org.apache.sis.internal.jaxb.gco with type parameters of type NumberRangeModifier and TypeFieldDescriptionprivate List<NumberRange<Integer>>Multiplicity.rangeThe multiplicity, defined as ranges of integers.Methods in org.apache.sis.internal.jaxb.gco that return NumberRangeModifier and TypeMethodDescription(package private) NumberRange<Integer>MultiplicityRange.value()Returns the value as a number range, ornullif none.Methods in org.apache.sis.internal.jaxb.gco that return types with arguments of type NumberRangeModifier and TypeMethodDescriptionprotected final Class<NumberRange<Integer>>GO_MultiplicityRange.getBoundType()Returns the Java type which is bound by this adapter.Multiplicity.range()Returns the multiplicity as a live list (change to this list are reflected to this object).Methods in org.apache.sis.internal.jaxb.gco with parameters of type NumberRangeModifier and TypeMethodDescriptionprotected GO_MultiplicityRangeGO_MultiplicityRange.wrap(NumberRange<Integer> value) Allows JAXB to change the result of the marshalling process, according to the ISO 19115-3 standard and its requirements about primitive types.(package private) static MultiplicityRangeMultiplicityRange.wrap(NumberRange<Integer> range) Wraps the given integer range in multiplicity range, or returnsnullif the given range is null.Constructors in org.apache.sis.internal.jaxb.gco with parameters of type NumberRangeModifierConstructorDescriptionprivateGO_MultiplicityRange(NumberRange<Integer> value) Constructs a wrapper for the given value.Multiplicity(NumberRange<Integer>... ranges) Creates a new multiplicity initialized with the given ranges.privateMultiplicityRange(NumberRange<Integer> range) Creates a range initialized to the given value. -
Uses of NumberRange in org.apache.sis.internal.referencing
Subclasses of NumberRange in org.apache.sis.internal.referencingModifier and TypeClassDescriptionfinal classThe domain of values of an EPSG parameter which accepts different units. -
Uses of NumberRange in org.apache.sis.math
Methods in org.apache.sis.math that return NumberRangeModifier and TypeMethodDescriptionprivate NumberRange<?>LinearlyDerivedVector.convert(NumberRange<?> range) Converts the given range.(package private) NumberRange<?>ArrayVector.Decimal.createRange(float min, float max) Creates a range from the given minimum and maximum values.(package private) NumberRange<?>ArrayVector.Floats.createRange(float min, float max) Creates a range from the given minimum and maximum values, inclusive.(package private) NumberRange<?>ArrayVector.Bytes.range(IntSupplier indices, int n) Finds the minimum and maximum values in the array or in a subset of the array.(package private) NumberRange<Double>ArrayVector.Doubles.range(IntSupplier indices, int n) Finds the minimum and maximum values in the array or in a subset of the array.(package private) final NumberRange<?>ArrayVector.Floats.range(IntSupplier indices, int n) Finds the minimum and maximum values in the array or in a subset of the array.(package private) NumberRange<?>ArrayVector.Integers.range(IntSupplier indices, int n) Finds the minimum and maximum values in the array or in a subset of the array.(package private) NumberRange<?>ArrayVector.Longs.range(IntSupplier indices, int n) Finds the minimum and maximum values in the array or in a subset of the array.(package private) NumberRange<?>ArrayVector.Shorts.range(IntSupplier indices, int n) Finds the minimum and maximum values in the array or in a subset of the array.(package private) NumberRange<?>ArrayVector.UnsignedBytes.range(IntSupplier indices, int n) Finds the minimum and maximum values in the array or in a subset of the array.(package private) NumberRange<?>ArrayVector.UnsignedIntegers.range(IntSupplier indices, int n) Finds the minimum and maximum values in the array or in a subset of the array.(package private) NumberRange<Double>ArrayVector.UnsignedLongs.range(IntSupplier indices, int n) Finds the minimum and maximum values in the array or in a subset of the array.(package private) NumberRange<?>ArrayVector.UnsignedShorts.range(IntSupplier indices, int n) Finds the minimum and maximum values in the array or in a subset of the array.NumberRange<?>ConcatenatedVector.range()Computes the minimal and maximal values in this vector.NumberRange<?>LinearlyDerivedVector.range()Returns the minimal and maximal values found in this vector.(package private) final NumberRange<?>LinearlyDerivedVector.range(IntSupplier indices, int n) Computes the range of values at the indices provided by the given supplier.final NumberRange<?>RepeatedVector.range()The range of values in this vector is the range of values in the RepeatedVector.base vector if we use all its data.(package private) final NumberRange<?>RepeatedVector.range(IntSupplier indices, int count) Overridden for efficiency in caseRepeatedVector.baseitself overrides that method.final NumberRange<?>SequenceVector.Doubles.range()Computes the minimal and maximal values in this vector.NumberRange<?>SequenceVector.Longs.range()Computes the minimal and maximal values in this vector.(package private) NumberRange<?>Vector.Pick.range(IntSupplier supplier, int n) Delegates to the enclosing vector.NumberRange<?>Vector.range()Returns the minimal and maximal values found in this vector.(package private) NumberRange<?>Vector.range(IntSupplier indices, int n) Computes the range of values at the indices provided by the given supplier.(package private) NumberRange<?>Vector.SubSampling.range(IntSupplier indices, int n) Delegates to the enclosing vectorMethods in org.apache.sis.math with parameters of type NumberRangeModifier and TypeMethodDescriptionprivate NumberRange<?>LinearlyDerivedVector.convert(NumberRange<?> range) Converts the given range. -
Uses of NumberRange in org.apache.sis.measure
Subclasses of NumberRange in org.apache.sis.measureModifier and TypeClassDescriptionclassMeasurementRange<E extends Number & Comparable<? super E>>A range of numbers associated with a unit of measurement.Fields in org.apache.sis.measure with type parameters of type NumberRangeModifier and TypeFieldDescriptionprivate static final WeakHashSet<NumberRange<?>>NumberRange.POOLThe pool of ranges created by thecreate(…)methods.Methods in org.apache.sis.measure with type parameters of type NumberRangeModifier and TypeMethodDescription(package private) static <E extends Number & Comparable<? super E>,T extends NumberRange<E>>
TNumberRange.unique(T range) Returns a unique instance of the given range, except if the range is empty.Methods in org.apache.sis.measure that return NumberRangeModifier and TypeMethodDescriptionstatic <N extends Number & Comparable<? super N>>
NumberRange<N>NumberRange.castOrCopy(Range<N> range) Returns the specifiedRangeas aNumberRangeobject.<N extends Number & Comparable<? super N>>
NumberRange<N>Casts this range to the specified type.(package private) <N extends Number & Comparable<? super N>>
NumberRange<N>MeasurementRange.convertAndCast(NumberRange<?> range, Class<N> type) Casts the specified range to the specified type.(package private) <N extends Number & Comparable<? super N>>
NumberRange<N>NumberRange.convertAndCast(NumberRange<?> range, Class<N> type) Casts the specified range to the specified type.static NumberRange<Byte>NumberRange.create(byte minValue, boolean isMinIncluded, byte maxValue, boolean isMaxIncluded) Constructs a range ofbytevalues.static NumberRange<Double>NumberRange.create(double minValue, boolean isMinIncluded, double maxValue, boolean isMaxIncluded) Constructs a range ofdoublevalues.static NumberRange<Float>NumberRange.create(float minValue, boolean isMinIncluded, float maxValue, boolean isMaxIncluded) Constructs a range offloatvalues.static NumberRange<Integer>NumberRange.create(int minValue, boolean isMinIncluded, int maxValue, boolean isMaxIncluded) Constructs a range ofintvalues.static NumberRange<Long>NumberRange.create(long minValue, boolean isMinIncluded, long maxValue, boolean isMaxIncluded) Constructs a range oflongvalues.static NumberRange<Short>NumberRange.create(short minValue, boolean isMinIncluded, short maxValue, boolean isMaxIncluded) Constructs a range ofshortvalues.static <N extends Number & Comparable<? super N>>
NumberRange<N>Constructs a range containing a single value of the given type.static NumberRange<?>NumberRange.createBestFit(boolean asFloat, Number minValue, boolean isMinIncluded, Number maxValue, boolean isMaxIncluded) Constructs a range using the smallest integer type or floating point type that can hold the given values.static NumberRange<?>NumberRange.createBestFit(Number minValue, boolean isMinIncluded, Number maxValue, boolean isMaxIncluded) Constructs a range using the smallest type ofNumberthat can hold the given values.static NumberRange<Integer>NumberRange.createLeftBounded(int minValue, boolean isMinIncluded) Constructs a range ofintvalues without upper bound.NumberRange<?>NumberRange.intersectAny(NumberRange<?> range) Returns the union of this range with the given range.NumberRange<?>[]NumberRange.subtractAny(NumberRange<?> range) Returns the range of values that are in this range but not in the given range.NumberRange<?>NumberRange.transform(org.opengis.referencing.operation.MathTransform1D converter) Returns this range converted using the given converter.NumberRange<?>NumberRange.unionAny(NumberRange<?> range) Returns the union of this range with the given range.Methods in org.apache.sis.measure with parameters of type NumberRangeModifier and TypeMethodDescriptionbooleanNumberRange.containsAny(NumberRange<?> range) Returnstrueif the supplied range is fully contained within this range.(package private) <N extends Number & Comparable<? super N>>
NumberRange<N>MeasurementRange.convertAndCast(NumberRange<?> range, Class<N> type) Casts the specified range to the specified type.(package private) <N extends Number & Comparable<? super N>>
NumberRange<N>NumberRange.convertAndCast(NumberRange<?> range, Class<N> type) Casts the specified range to the specified type.NumberRange<?>NumberRange.intersectAny(NumberRange<?> range) Returns the union of this range with the given range.booleanNumberRange.intersectsAny(NumberRange<?> range) Returnstrueif the supplied range intersects this range.NumberRange<?>[]NumberRange.subtractAny(NumberRange<?> range) Returns the range of values that are in this range but not in the given range.NumberRange<?>NumberRange.unionAny(NumberRange<?> range) Returns the union of this range with the given range. -
Uses of NumberRange in org.apache.sis.metadata
Subclasses of NumberRange in org.apache.sis.metadataModifier and TypeClassDescription(package private) final classDomainRange<E extends Number & Comparable<? super E>>The range of values that a metadata property can take, representable as anInternationalStringin order to make possible to return this range from thePropertyInformation.getDomainValue()method. -
Uses of NumberRange in org.apache.sis.referencing.operation.builder
Methods in org.apache.sis.referencing.operation.builder that return NumberRangeModifier and TypeMethodDescription(package private) final NumberRange<Double>LinearTransformBuilder.resolveWraparoundAxis(int dimension, int direction, double period) Tries to remove discontinuities in coordinates values caused by anti-meridian crossing.LocalizationGridBuilder.resolveWraparoundAxis(int dimension, int direction, double period) Tries to remove discontinuities in coordinates values caused by anti-meridian crossing. -
Uses of NumberRange in org.apache.sis.storage.landsat
Methods in org.apache.sis.storage.landsat with parameters of type NumberRangeModifier and TypeMethodDescriptionBand.customize(int image, int band, NumberRange<?> sampleRange, SampleDimension.Builder dimension) Invoked when a sample dimension is created for a band in an image.