Class PointOfInterest


  • public class PointOfInterest
    extends java.lang.Object
    An immutable container for all data associated with a single point of interest node (POI).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      byte layer
      The layer of this POI + 5 (to avoid negative values).
      org.mapsforge.core.model.LatLong position
      The position of this POI.
      java.util.List<org.mapsforge.core.model.Tag> tags
      The tags of this POI.
    • Constructor Summary

      Constructors 
      Constructor Description
      PointOfInterest​(byte layer, java.util.List<org.mapsforge.core.model.Tag> tags, org.mapsforge.core.model.LatLong position)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • layer

        public final byte layer
        The layer of this POI + 5 (to avoid negative values).
      • position

        public final org.mapsforge.core.model.LatLong position
        The position of this POI.
      • tags

        public final java.util.List<org.mapsforge.core.model.Tag> tags
        The tags of this POI.
    • Constructor Detail

      • PointOfInterest

        public PointOfInterest​(byte layer,
                               java.util.List<org.mapsforge.core.model.Tag> tags,
                               org.mapsforge.core.model.LatLong position)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object