org.geotools.feature
Class Feature.NULL

java.lang.Object
  extended byorg.geotools.feature.Feature.NULL
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
Feature

public static final class Feature.NULL
extends java.lang.Object
implements java.lang.Comparable

Not straight forward, this is a "null" object to represent the value null for a given attribute which is nullable.


Constructor Summary
Feature.NULL()
           
 
Method Summary
 int compareTo(java.lang.Object o)
          Implementation of Comparable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Feature.NULL

public Feature.NULL()
Method Detail

compareTo

public int compareTo(java.lang.Object o)
Implementation of Comparable.

Specified by:
compareTo in interface java.lang.Comparable
Parameters:
o - The other thing to compare to.
Returns:
0 if null or this, 1 for all others.


Copyright © GeoTools. All Rights Reserved.