Interface Emptiable

All Known Implementing Classes:
Abstract­Completeness, Abstract­Content­Information, Abstract­Data­Evaluation, Abstract­Element, Abstract­Envelope, Abstract­Geographic­Extent, Abstract­Geolocation­Information, Abstract­Identification, Abstract­Logical­Consistency, Abstract­Metadata, Abstract­Metaquality, Abstract­Party, Abstract­Positional­Accuracy, Abstract­Result, Abstract­Spatial­Representation, Abstract­Temporal­Accuracy, Abstract­Temporal­Quality, Abstract­Thematic­Accuracy, Default­Absolute­External­Positional­Accuracy, Default­Accuracy­Of­ATime­Measurement, Default­Acquisition­Information, Default­Address, Default­Aggregate­Information, Default­Aggregation­Derivation, Default­Algorithm, Default­Application­Schema­Information, Default­Associated­Resource, Default­Attribute­Group, Default­Band, Default­Basic­Measure, Default­Bounding­Polygon, Default­Browse­Graphic, Default­Citation, Default­Citation­Date, Default­Completeness­Commission, Default­Completeness­Omission, Default­Conceptual­Consistency, Default­Confidence, Default­Conformance­Result, Default­Constraints, Default­Contact, Default­Coupled­Resource, Default­Coverage­Description, Default­Coverage­Result, Default­Data­File, Default­Data­Identification, Default­Data­Quality, Default­Descriptive­Result, Default­Digital­Transfer­Options, Default­Dimension, Default­Distribution, Default­Distributor, Default­Domain­Consistency, Default­Environmental­Record, Default­Evaluation­Method, Default­Evaluation­Report­Information, Default­Event, Default­Extended­Element­Information, Default­Extent, Default­Feature­Catalogue­Description, Default­Feature­Type­Info, Default­Format, Default­Format­Consistency, Default­Full­Inspection, Default­GCP, Default­GCPCollection, Default­Geographic­Bounding­Box, Default­Geographic­Description, Default­Geometric­Objects, Default­Georectified, Default­Georeferenceable, Default­Gridded­Data­Positional­Accuracy, Default­Grid­Spatial­Representation, Default­Homogeneity, Default­Identifier, Default­Image­Description, Default­Indirect­Evaluation, Default­Individual, Default­Instrument, Default­Keyword­Class, Default­Keywords, Default­Legal­Constraints, Default­Lineage, Default­Maintenance­Information, Default­Measure­Description, Default­Measure­Reference, Default­Medium, Default­Metadata, Default­Metadata­Extension­Information, Default­Metadata­Scope, Default­Nominal­Resolution, Default­Non­Quantitative­Attribute­Accuracy, Default­Non­Quantitative­Attribute­Correctness, Default­Objective, Default­Online­Resource, Default­Operation, Default­Operation­Chain­Metadata, Default­Operation­Metadata, Default­Organisation, Default­Plan, Default­Platform, Default­Platform­Pass, Default­Portrayal­Catalogue­Reference, Default­Processing, Default­Process­Step, Default­Process­Step­Report, Default­Quality­Measure, Default­Quantitative­Attribute­Accuracy, Default­Quantitative­Result, Default­Range­Dimension, Default­Range­Element­Description, Default­Relative­Internal­Positional­Accuracy, Default­Releasability, Default­Representative­Fraction, Default­Representativity, Default­Requested­Date, Default­Requirement, Default­Resolution, Default­Responsibility, Default­Responsible­Party, Default­Sample­Based­Inspection, Default­Sample­Dimension, Default­Scope, Default­Scope, Default­Scope­Description, Default­Security­Constraints, Default­Series, Default­Service­Identification, Default­Source, Default­Source­Reference, Default­Spatial­Temporal­Extent, Default­Standard­Order­Process, Default­Telephone, Default­Temporal­Consistency, Default­Temporal­Extent, Default­Temporal­Validity, Default­Thematic­Classification­Correctness, Default­Topological­Consistency, Default­Usability, Default­Usage, Default­Vector­Spatial­Representation, Default­Vertical­Extent, Envelope2D, General­Envelope, Immutable­Envelope, ISOMetadata, Measurement­Range, Modifiable­Metadata, Number­Range, Range

public interface Emptiable
Interface of classes for which empty instances may exist. This interface is typically used for filtering empty elements from a tree of objects. Some examples of emptiable classes are:
  • Range when the lower bounds is equal to the upper bounds and at least one bound is exclusive.
  • Abstract­Metadata when no property value has been given to the metadata, or all properties are themselves empty.
  • Abstract­Envelope when the span, surface or volume inside the envelope is zero.
SIS collections do not implement this interface even if they provide a is­Empty() method, for consistency with collections in java​.util and other libraries. This policy avoid duplicated calls to is­Empty() methods when the caller needs to check for both Collection and Emptiable interfaces.
Since:
0.4
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if this instance is empty.
  • Method Details