Serialized Form
-
Package org.apache.sis.io
-
Class CompoundFormat extends Format implements Serializable
- serialVersionUID:
- -689151528653024968L
-
Serialized Fields
-
locale
Locale locale
The locale given at construction time, orLocale.ROOT(nevernull) for unlocalized format. SeeCompoundFormat.getLocale()for more information onROOTlocale.- See Also:
CompoundFormat.getLocale()
-
timezone
TimeZone timezone
The timezone given at construction time, ornullfor UTC.- See Also:
CompoundFormat.getTimeZone()
-
-
Class InvalidSeekException extends IOException implements Serializable
- serialVersionUID:
- -3327667930906602606L
-
Class TabularFormat extends CompoundFormat<T> implements Serializable
- serialVersionUID:
- -4556687020021477908L
-
Serialized Fields
-
beforeFill
String beforeFill
The string to write before theTabularFormat.fillCharacter, or an empty string if none. This is the sequence of characters before the "[ ]" pair of brackets in the pattern given to theTabularFormat.setColumnSeparatorPattern(String)method. -
columnSeparator
String columnSeparator
The string to write after theTabularFormat.fillCharacter, or an empty string if none. This is the sequence of characters after the "[ ]" pair of brackets in the pattern given to theTabularFormat.setColumnSeparatorPattern(String)method. -
fillCharacter
char fillCharacter
The character to repeat after the content of a cell for alignment with the next column. This is the character between the "[ ]" pair of brackets in the pattern given to theTabularFormat.setColumnSeparatorPattern(String)method.Subclasses will typically use this value in calls to
TableAppender.nextColumn(char). -
isParsePatternDefined
boolean isParsePatternDefined
trueif the user defined the parsing pattern explicitly. -
lineSeparator
String lineSeparator
The line separator to use for formatting the tree. The default value is system-dependent. -
omitTrailingNulls
boolean omitTrailingNulls
trueif the trailingnullvalues shall be omitted at formatting time. This flag is controlled by the presence or absence of the'?'character at the beginning of the pattern given to theTabularFormat.setColumnSeparatorPattern(String)method. -
parsePattern
Pattern parsePattern
The pattern used at parsing time for finding the column separators, ornullif not yet constructed. This field is serialized because it may be a user-specified pattern. The samePatterninstance can be safely shared by manyTabularFormatinstances.
-
-
-
Package org.apache.sis.math
-
Class Fraction extends Number implements Serializable
- serialVersionUID:
- -4501644254763471216L
-
Serialized Fields
-
denominator
int denominator
The b term in the a/b fraction. Can be positive, negative or zero. If zero, then the fraction floating point value will be positive infinity, negative infinity or NaN depending on the Fraction.numerator value.- See Also:
Fraction.doubleValue()
-
numerator
int numerator
The a term in the a/b fraction. Can be positive, negative or zero.- See Also:
Fraction.doubleValue()
-
-
Class Line extends Object implements Serializable
- serialVersionUID:
- 2185952238314399110L
-
Serialized Fields
-
slope
double slope
The slope for this line. -
x0
double x0
Value of x at y = 0. This value is used for vertical lines. -
y0
double y0
The y value at x = 0.
-
-
Class Plane extends Object implements Serializable
- serialVersionUID:
- 2956201711131316723L
-
Serialized Fields
-
sx
double sx
The slope along the x values. This coefficient appears in the plane equation sx⋅x + sy⋅y + z₀. -
sy
double sy
The slope along the y values. This coefficient appears in the plane equation sx⋅x + sy⋅y + z₀. -
z0
double z0
The z value at (x,y) = (0,0). This coefficient appears in the plane equation sx⋅x + sy⋅y + z₀.
-
-
Class Statistics extends Object implements Serializable
- serialVersionUID:
- 8495118253884975477L
-
Serialized Fields
-
count
int count
Number of non-NaN values given to theStatistics.accept(double)method. -
countNaN
int countNaN
Number of NaN values given to theStatistics.accept(double)method. Those value are ignored in the computation of all above values. -
maximum
double maximum
The maximal value given to theStatistics.accept(double)method. -
minimum
double minimum
The minimal value given to theStatistics.accept(double)method. -
name
InternationalString name
The name of the phenomenon for which this object is collecting statistics. If non-null, then this name will be shown as column header in the table formatted byStatisticsFormat.- See Also:
Statistics.name()
-
squareSum
double squareSum
The sum of square of all values given to theStatistics.accept(double)method. -
sum
double sum
The sum of all values given to theStatistics.accept(double)method.
-
-
Class StatisticsFormat extends TabularFormat<Statistics> implements Serializable
- serialVersionUID:
- 6914760410359494163L
-
Serialized Fields
-
allPopulation
boolean allPopulation
trueif the sample values given toStatistics.accept(…)methods were the totality of the population under study, orfalseif they were only a sampling. -
borderWidth
byte borderWidth
The "width" of the border to drawn around the table, in number of lines. -
headerLocale
Locale headerLocale
The locale for row and column headers. This is usually the same than the format locale, but not necessarily.
-
-
-
Package org.apache.sis.measure
-
Class Angle extends Object implements Serializable
- serialVersionUID:
- 3701568577051191744L
-
Serialized Fields
-
θ
double θ
Angle value in decimal degrees. We use decimal degrees as the storage unit instead than radians in order to avoid rounding errors, since there is no way to represent 30°, 45°, 90°, 180°, etc. in radians without errors.
-
-
Class AngleFormat extends Format implements Serializable
- serialVersionUID:
- 820524050016391537L
-
Serialized Fields
-
degreesFieldWidth
byte degreesFieldWidth
Minimal amount of spaces to be used by the degrees, minutes and seconds fields, and by the decimal digits. A value of 0 means that the field is not formatted.fractionFieldWidthapplies to the last non-zero field.maximumTotalWidthis 0 (the default) if there is no restriction. -
degreesSuffix
String degreesSuffix
Characters to insert before the text to format, and after each field. Anullvalue means that there is nothing to insert. -
fractionFieldWidth
byte fractionFieldWidth
Minimal amount of spaces to be used by the degrees, minutes and seconds fields, and by the decimal digits. A value of 0 means that the field is not formatted.fractionFieldWidthapplies to the last non-zero field.maximumTotalWidthis 0 (the default) if there is no restriction. -
isFallbackAllowed
boolean isFallbackAllowed
trueif theAngleFormat.parse(String, ParsePosition)method is allowed to fallback on the build-in default symbols if the string to parse doesn't match the pattern.This field can not be set by the pattern string, so it needs to be initialized separately.
-
locale
Locale locale
The locale specified at construction time (never null). -
maximumTotalWidth
byte maximumTotalWidth
Minimal amount of spaces to be used by the degrees, minutes and seconds fields, and by the decimal digits. A value of 0 means that the field is not formatted.fractionFieldWidthapplies to the last non-zero field.maximumTotalWidthis 0 (the default) if there is no restriction. -
minimumFractionDigits
byte minimumFractionDigits
Minimal amount of spaces to be used by the degrees, minutes and seconds fields, and by the decimal digits. A value of 0 means that the field is not formatted.fractionFieldWidthapplies to the last non-zero field.maximumTotalWidthis 0 (the default) if there is no restriction. -
minutesFieldWidth
byte minutesFieldWidth
Minimal amount of spaces to be used by the degrees, minutes and seconds fields, and by the decimal digits. A value of 0 means that the field is not formatted.fractionFieldWidthapplies to the last non-zero field.maximumTotalWidthis 0 (the default) if there is no restriction. -
minutesSuffix
String minutesSuffix
Characters to insert before the text to format, and after each field. Anullvalue means that there is nothing to insert. -
optionalFields
byte optionalFields
A bitmask of optional fields. Optional fields are formatted only if their value is different than zero. The bit position is given by a*_FIELDconstant, and the actual bitmask is computed by1 << *_FIELD. A value of zero means that no field is optional. -
prefix
String prefix
Characters to insert before the text to format, and after each field. Anullvalue means that there is nothing to insert. -
roundingMode
RoundingMode roundingMode
The rounding mode, ornullfor the default mode (which isRoundingMode.HALF_EVEN).- See Also:
AngleFormat.getRoundingMode()
-
secondsFieldWidth
byte secondsFieldWidth
Minimal amount of spaces to be used by the degrees, minutes and seconds fields, and by the decimal digits. A value of 0 means that the field is not formatted.fractionFieldWidthapplies to the last non-zero field.maximumTotalWidthis 0 (the default) if there is no restriction. -
secondsSuffix
String secondsSuffix
Characters to insert before the text to format, and after each field. Anullvalue means that there is nothing to insert. -
useDecimalSeparator
boolean useDecimalSeparator
Specifies whatever the decimal separator shall be inserted between the integer part and the fraction part of the last field. Afalsevalue formats the integer and fractional part without separation, e.g. "34867" for 34.867.
-
-
Class AngleFormat.Field extends FormatField implements Serializable
- serialVersionUID:
- -5015489890305908251L
-
Class ElevationAngle extends Angle implements Serializable
- serialVersionUID:
- 442355803542468396L
-
Class Latitude extends Angle implements Serializable
- serialVersionUID:
- -2227675003893702061L
-
Class Longitude extends Angle implements Serializable
- serialVersionUID:
- -3203511772374891877L
-
Class MeasurementRange extends NumberRange<E extends Number & Comparable<? super E>> implements Serializable
- serialVersionUID:
- -3532903747339978756L
-
Serialized Fields
-
unit
Unit<?> unit
The unit of measurement, ornullif unknown.- See Also:
MeasurementRange.unit()
-
-
Class NumberRange extends Range<E extends Number & Comparable<? super E>> implements Serializable
- serialVersionUID:
- -3198281191274903617L
-
Class Range extends Object implements Serializable
- serialVersionUID:
- 603508245068333284L
-
Serialized Fields
-
elementType
Class<E extends Comparable<? super E>> elementType
The base type of elements in this range.- See Also:
Range.getElementType()
-
isMaxIncluded
boolean isMaxIncluded
Whether the minimal or maximum value is included. -
isMinIncluded
boolean isMinIncluded
Whether the minimal or maximum value is included. -
maxValue
E extends Comparable<? super E> maxValue
The minimal and maximal values. -
minValue
E extends Comparable<? super E> minValue
The minimal and maximal values.
-
-
Class RangeFormat extends Format implements Serializable
- serialVersionUID:
- 2459948572315667868L
-
Serialized Fields
-
alternateForm
boolean alternateForm
trueifRangeFormatshall use the alternate form at formatting time. This flag as no effect on parsing, since both forms are accepted.- See Also:
RangeFormat.isAlternateForm()
-
closeExclusive
int closeExclusive
The character closing a range in which the maximal value is exclusive. The default value is')'. Note that the'['character is also sometime used. -
closeExclusiveAlt
int closeExclusiveAlt
An alternative character closing a range in which the maximal value is exclusive. This character is not used for formatting (onlyRangeFormat.closeExclusiveis used), but is accepted during parsing. The default value is'['. -
closeInclusive
int closeInclusive
The character closing a range in which the maximal value is inclusive. The default value is']'. -
closeSet
int closeSet
The character closing an empty range or a range containing only one element. The default value is'}'. -
elementFormat
Format elementFormat
The format to use for parsing and formatting the range components. The format is determined from the element type:AngleFormatif the element type is assignable toAngle.NumberFormatif the element type is assignable toNumber.DateFormatif the element type is assignable toDate.
-
elementType
Class<?> elementType
The type of the range components. Valid types areNumber,Angle,Dateor a subclass of those types. This value determines the kind of range to be created by the parse method:- See Also:
Range.getElementType()
-
infinity
String infinity
Symbols used by this format, inferred fromDecimalFormatSymbols. -
locale
Locale locale
The locale for error message, ornullfor the default. -
minusSign
char minusSign
Symbols used by this format, inferred fromDecimalFormatSymbols. -
openExclusive
int openExclusive
The character opening a range in which the minimal value is exclusive. The default value is'('. Note that the']'character is also sometime used. -
openExclusiveAlt
int openExclusiveAlt
An alternative character opening a range in which the minimal value is exclusive. This character is not used for formatting (onlyRangeFormat.openExclusiveis used), but is accepted during parsing. The default value is']'. -
openInclusive
int openInclusive
The character opening a range in which the minimal value is inclusive. The default value is'['. -
openSet
int openSet
The character opening an empty range or a range containing only one element. The default value is'{'. -
separator
String separator
The string to use as a separator between minimal and maximal value, not including whitespaces. The default value is"…"(Unicode 2026). -
unitFormat
UnitFormat unitFormat
The format for unit of measurement, ornullif none. This is non-null if and only ifRangeFormat.elementTypeis assignable toNumberbut not toAngle.
-
-
Class RangeFormat.Field extends FormatField implements Serializable
- serialVersionUID:
- 2000378602311146796L
-
Class UnitFormat extends Format implements Serializable
- serialVersionUID:
- -3064428584419360693L
-
Serialized Fields
-
labelToUnit
Map<String,Unit<?>> labelToUnit
Units associated to a given label (in addition to the system-wideUnitRegistry). This map is the converse ofUnitFormat.unitToLabel. TheUnitinstances may differ from the ones specified by user sinceAbstractUnit.symbolmay have been set to the label specified by the user. The labels may contain some characters normally not allowed in unit symbols, like white spaces.- See Also:
UnitFormat.label(Unit, String)
-
locale
Locale locale
The locale specified at construction time or modified byUnitFormat.setLocale(Locale).- See Also:
UnitFormat.getLocale()
-
style
UnitFormat.Style style
Whether thisUnitFormatshould format long names like "metre" or use unit symbols.- See Also:
UnitFormat.getStyle()
-
unitToLabel
Map<Unit<?>,String> unitToLabel
Symbols or names to use for formatting units in replacement to the default unit symbols or names. TheUnitinstances are the ones specified by user in calls toUnitFormat.label(Unit, String).- See Also:
UnitFormat.label(Unit, String)
-
-
-
Package org.apache.sis.setup
-
Class OptionKey extends Object implements Serializable
- serialVersionUID:
- -7580514229639750246L
-
Serialization Methods
-
readResolve
private Object readResolve() throws ObjectStreamException
Resolves this option key on deserialization. This method is invoked only for instance of the exactOptionKeyclass, not subclasses.- Throws:
ObjectStreamException- required by specification but should never be thrown.
-
-
Serialized Fields
-
-
Package org.apache.sis.util
-
Class CorruptedObjectException extends RuntimeException implements Serializable
- serialVersionUID:
- -7595678373605419502L
-
Class NullArgumentException extends NullPointerException implements Serializable
- serialVersionUID:
- 7924011726325288438L
-
Class UnconvertibleObjectException extends IllegalArgumentException implements Serializable
- serialVersionUID:
- 4436966248421454692L
-
Class UnknownNameException extends RuntimeException implements Serializable
- serialVersionUID:
- 8184564092008827669L
-
Class UnsupportedImplementationException extends UnsupportedOperationException implements Serializable
- serialVersionUID:
- 8871937175259200449L
-
Class Version extends Object implements Serializable
- serialVersionUID:
- 8402041502662929792L
-
Serialized Fields
-
version
String version
The version in string form, with leading and trailing spaces removed.
-
-
-
Package org.apache.sis.util.collection
-
Class BackingStoreException extends RuntimeException implements Serializable
- serialVersionUID:
- -4549821631559359838L
-
Class CodeListSet extends AbstractSet<E extends CodeList<E>> implements Serializable
- serialVersionUID:
- -6328082298556260980L
-
Serialized Fields
-
elementType
Class<E extends CodeList<E>> elementType
The type of code list elements.- See Also:
CodeListSet.getElementType()
-
supplementary
BitSet supplementary
The bit set for supplementary values beyond thevaluesmask, ornullif none. This is very rarely needed, but we need this field in case a code list has more than 64 elements.Implementation note: The standardEnumSetclass uses different implementations depending on whether the enumeration contains more or less than 64 elements. We can not apply the same strategy forCodeListSet, because new code list elements can be created at runtime. Consequently this implementation needs to be able to growth its capacity. -
values
long values
A bitmask of code list values present in this map.
-
-
Class DefaultTreeTable extends Object implements Serializable
- serialVersionUID:
- 7991792044044382191L
-
Serialized Fields
-
columnIndices
Map<TableColumn<?>,Integer> columnIndices
The index of values associated to each column. This is used by theDefaultTreeTable.Nodeimplementation for storing values in a single flat array. After creation, this map shall be read-only since manyNodeinstances may share it.Implementation note: This field and theDefaultTreeTable.columnsfield could be computed from each other. But we serialize this field anyway because children nodes will typically hold a reference to that map, and we want to preserve the references tree.- See Also:
DefaultTreeTable.Node.columnIndices
-
root
TreeTable.Node root
The root node, ornullif not yet specified.
-
-
Class DefaultTreeTable.Node extends Object implements Serializable
- serialVersionUID:
- -5729029633479218691L
-
Serialized Fields
-
children
List<TreeTable.Node> children
The list of children, ornullif none. Created only when first needed. -
columnIndices
Map<TableColumn<?>,Integer> columnIndices
The index of values associated to each column. This map is used by theDefaultTreeTable.Node.getValue(TableColumn)andDefaultTreeTable.Node.setValue(TableColumn, Object)methods for identifying the index where to store values in theDefaultTreeTable.Node.valuesarray.This map shall be read-only since many
Nodeinstances may share it.- See Also:
DefaultTreeTable.columnIndices
-
parent
TreeTable.Node parent
The parent of this node, ornullif none. -
values
Object[] values
The values, ornullif not yet created.
-
-
Class FrequencySortedSet extends AbstractSet<E> implements Serializable
- serialVersionUID:
- 6034102231354388179L
-
Serialized Fields
-
count
Map<E,Integer> count
The frequency of occurrence for each element. We must use a linked hash map instead of an ordinary hash map because we want to preserve insertion order for elements that occur at the same frequency. -
order
int order
0if the element should be sorted in the usual order, or-1if the elements should be sorted in reverse order (most frequent element first). This value is XORed with the number of times n that an element is added:n ^ order. The intent is to store negative numbers in theFrequencySortedSet.countmap if thisFrequencySortedSethas been created for reverse order.Implementation note: we could have used+1and-1for the usual and reverse order respectively, and store the multiplication resultn * orderin theFrequencySortedSet.countmap. We rather use XOR for two reasons: first, XOR is a simpler operation for the CPU than multiplication. Second, XOR guarantees us that all negative numbers can be made positive inFrequencySortedSet.frequencies(), by applying againn ^ order. By contrast, the multiplication approach (or just the-nnegation) would fail to convertInteger.MIN_VALUE.
-
-
Class IntegerList extends AbstractList<Integer> implements Serializable
- serialVersionUID:
- 1241962316404811189L
-
Serialization Methods
-
writeObject
private void writeObject(ObjectOutputStream out) throws IOException
InvokesIntegerList.trimToSize()before serialization in order to make the stream more compact.- Throws:
IOException- if an I/O error occurred while writing.
-
-
Serialized Fields
-
bitCount
int bitCount
The bit count for values. -
mask
int mask
The mask computed as(1 << bitCount) - 1. -
size
int size
The list size. Initially 0. -
values
long[] values
The packed values. We use thelongtype instead ofintsince 64 bits machines are common now.
-
-
Class RangeSet extends AbstractSet<Range<E extends Comparable<? super E>>> implements Serializable
- serialVersionUID:
- 7493555225994855486L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
Invoked after deserialization. Initializes the transient fields.- Throws:
IOException- if an I/O error occurred while reading or if the stream contains invalid data.ClassNotFoundException- if the class serialized on the stream is not on the classpath.
-
writeObject
private void writeObject(ObjectOutputStream out) throws IOException
Invoked before serialization. Trims the internal array to the minimal size in order to reduce the size of the object to be serialized.- Throws:
IOException- if an I/O error occurred while writing.
-
-
Serialized Fields
-
array
Object array
The array of ranges. It may be either an array of Java primitive type likeint[]orfloat[], or an array ofComparableelements. All elements at even indices are minimal values, and all elements at odd indices are maximal values. Elements in this array must be strictly increasing without duplicated values.Note: The restriction against duplicated values will need to be removed in a future version if we want to support open intervals. All binary searches in this class will need to take in account the possibility for duplicated values. -
elementCode
byte elementCode
The primitive type, as one ofDOUBLE,FLOAT,LONG,INTEGER,SHORT,BYTE,CHARACTERenumeration. If theRangeSet.elementTypeis not the wrapper of a primitive type, then this field value isOTHER. -
elementType
Class<E extends Comparable<? super E>> elementType
The type of elements in the ranges. If the element are numbers, then the value is the wrapper type (not the primitive type).- See Also:
Range.getElementType()
-
isMaxIncluded
boolean isMaxIncluded
trueif the maximal values of ranges in this set are inclusive, orfalseif exclusive. This value is specified at construction time and enforced when ranges are added or removed.- See Also:
Range.isMaxIncluded()
-
isMinIncluded
boolean isMinIncluded
trueif the minimal values of ranges in this set are inclusive, orfalseif exclusive. This value is specified at construction time and enforced when ranges are added or removed.- See Also:
Range.isMinIncluded()
-
-
Class TreeTableFormat extends TabularFormat<TreeTable> implements Serializable
- serialVersionUID:
- 147992015470098561L
-
Serialized Fields
-
columnIndices
Map<TableColumn<?>,Integer> columnIndices
The table columns to format, ornullfor formatting all of them. This map shall not be modified after creation, because it may be shared by many tables. -
indentation
int indentation
The number of characters to add on the left side for each indentation level. The default value is 4. -
nodeFilter
Predicate<TreeTable.Node> nodeFilter
A filter for specifying whether a node should be formatted, ornullif no filtering is applied. This is ignored at parsing time. -
verticalLinePosition
int verticalLinePosition
The position of the vertical line, relative to the position of the label of the parent node. The default value is 2, which means that the vertical line is drawn below the third letter of the node label.
-
-
-
Package org.apache.sis.util.iso
-
Class DefaultInternationalString extends AbstractInternationalString implements Serializable
- serialVersionUID:
- 3663160836923279819L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
Canonicalize the locales after deserialization.- Throws:
IOException- if an I/O error occurred while reading or if the stream contains invalid data.ClassNotFoundException- if the class serialized on the stream is not on the classpath.
-
-
Serialized Fields
-
Class ResourceInternationalString extends AbstractInternationalString implements Serializable
- serialVersionUID:
- -8636012022904092254L
-
Class SimpleInternationalString extends AbstractInternationalString implements Serializable
- serialVersionUID:
- 7600371840915793379L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
Reads the string. This is required sinceAbstractInternationalString.defaultValueis not serialized.- Throws:
IOException- if an I/O error occurred while reading or if the stream contains invalid data.ClassNotFoundException- if the class serialized on the stream is not on the classpath.
-
writeObject
private void writeObject(ObjectOutputStream out) throws IOException
Writes the string. This is required sinceAbstractInternationalString.defaultValueis not serialized.- Throws:
IOException- if an I/O error occurred while writing.
-
-
-
Package org.apache.sis.util.logging
-
Class PerformanceLevel extends Level implements Serializable
- serialVersionUID:
- -6547125008284983701L
-
Serialized Fields
-
minDuration
long minDuration
The minimal duration (in nanoseconds) for logging the record.
-
-