public interface Emptiable
Range
when the lower bounds is equals to the upper bounds and at least
one bound is exclusive.AbstractMetadata
when no property value has been given to the metadata,
or all properties are themselves empty.AbstractEnvelope
when the span, surface or volume inside the envelope
is zero.isEmpty()
method,
for consistency with collections in java.util
and other libraries. This policy avoid duplicated calls to
isEmpty()
methods when the caller need to check for both Collection
and Emptiable
interfaces.Defined in the sis-utility
module
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty()
Returns
true if this instance is empty. |
boolean isEmpty()
true
if this instance is empty. The definition of "emptiness" may vary between implementations.
For example DefaultGeographicBoundingBox.isEmpty()
returns true
if all values are NaN
(i.e. uninitialized) while AbstractEnvelope.isEmpty()
returns true
if the geometric surface is zero.true
if this instance is empty, or false
otherwise.Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.