org.osm2world.core.map_data.data.overlaps
Enum MapOverlapType

Object
  extended by Enum<MapOverlapType>
      extended by MapOverlapType
All Implemented Interfaces:
Serializable, Comparable<MapOverlapType>

public enum MapOverlapType
extends Enum<MapOverlapType>


Enum Constant Summary
CONTAIN
          one MapElement contains another MapElement
INTERSECT
          two MapElements intersect
SHARE_SEGMENT
          MapSegment.sharesBothNodes(MapSegment) is true for a pair of MapSegments, one from each MapElement
 
Method Summary
static MapOverlapType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MapOverlapType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INTERSECT

public static final MapOverlapType INTERSECT
two MapElements intersect


CONTAIN

public static final MapOverlapType CONTAIN
one MapElement contains another MapElement


SHARE_SEGMENT

public static final MapOverlapType SHARE_SEGMENT
MapSegment.sharesBothNodes(MapSegment) is true for a pair of MapSegments, one from each MapElement

Method Detail

values

public static MapOverlapType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MapOverlapType c : MapOverlapType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MapOverlapType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null