package uk.ac.leeds.ccg.geotools;
import java.util.*;
/**
* A null shape can be used as an IDReferenced object without the need for any
* feature information.
* A null shape might be used as a placeholder for a missing or non existent feature, but
* its main use is for quickly seting up an IDReferenced object that others can be compared against.
*
For example, to perform a binarySearch on a sorted list of IDReferenced features the following could be used:
*
*
* Comparator order = new Comparator(new IDComparator);
* Collections.sort(list,order);
* if(Collections.binarySearch(list,new NullShape(x),order){
* //list contains IDReferenced object with an id of x
* }
*
*
* @author James Macgill JM
* @since 0.7.7.1 12/May/2000
*/
public class NullShape extends uk.ac.leeds.ccg.geotools.GeoShape
{
/**
* Constructs a NullShape with the specified ID.
*