Class RelationNodeMap<T extends IRelationMember<? extends IPrimitive>>

  • Type Parameters:
    T - The type of IRelationMember

    public class RelationNodeMap<T extends IRelationMember<? extends IPrimitive>>
    extends java.lang.Object
    Auxiliary class for relation sorting. Constructs two mappings: One that maps each way to its nodes and the inverse mapping that maps each node to all ways that have this node. After construction both maps are consistent, but later on objects that are no longer needed are removed from the value sets. However the corresponding keys are not deleted even if they map to an empty set. Note that normal ways have 2 nodes (beginning and end) but roundabouts can have less or more (that are shared by other members).
    Since:
    1785, 17862 (generics)