Simple data objects and miscellaneous utilities. This package provides general purpose static methods working on primitive or basic Java types (
Classes), arrays (
ArraysExt) or other standard Java types (
Exceptions). It defines also general purpose annotations, enumerations and exceptions.
Some other noticeable services are:
Defined in the
Interface Summary Interface Description DeprecableInterface of classes for which deprecated instances may exist. DisposableA resource that can be disposed when waiting for the garbage collector would be overly conservative. EmptiableInterface of classes for which empty instances may exist. LenientComparableInterfaces of classes for which instances can be compared for equality using different levels of strictness. LocalizedInterface of classes for which each instance is configured for a particular locale. LocalizedExceptionAn exception which can produce an error message in the client locale. ObjectConverter<S,T>A function which converts instances of source type to instances of target type.
Class Summary Class Description ArgumentChecksStatic methods for performing argument checks. ArraysExtStatic methods for simple operations on arrays and array elements. CharactersStatic methods working on
charvalues, and some character constants.
Characters.FilterSubsets of Unicode characters identified by their general category. CharSequencesStatic methods working with
ClassesStatic methods working on
ExceptionsStatic methods working with
LocalesStatic methods working on
NumbersStatic methods working with
Numberobjects, and a few primitive types by extension.
ObjectConvertersStatic methods for creating
ObjectConverterinstances or collection views based on converters.
StaticParent of SIS classes that contain only static utility methods, for documentation purpose. StringBuildersStatic methods working on
UtilitiesStatic methods for object comparisons in different ways (deeply, approximately, etc). VersionHolds a version number as a sequence of strings separated by either a dot or a dash.
Enum Summary Enum Description ComparisonModeSpecifies the level of strictness when comparing two
LenientComparableobjects for equality.
Exception Summary Exception Description CorruptedObjectExceptionMay be thrown on attempt to use an object which has been corrupted by a previous operation. NullArgumentExceptionThrown when a null argument has been given to a method that doesn't accept them. UnconvertibleObjectExceptionThrown when an object can not be converted from the source type to the target type. UnknownNameExceptionThrown when an operation can not complete because a given name is unrecognized. UnsupportedImplementationExceptionThrown when an operation can not use arbitrary implementation of an interface, and a given instance does not met the requirement.
Annotation Types Summary Annotation Type Description ConfigurationAnnotates methods having a system-wide impact on the configuration of the Apache SIS library. DebugAnnotates classes or methods that are provided mostly for debugging purpose. WorkaroundAnnotates code containing workarounds for bugs or limitations in an external library.