Class BitMask<T extends BitMask<T>>

java.lang.Object
com.here.platform.location.integration.optimizedmap.BitMask<T>
Direct Known Subclasses:
AccessRestrictionType, BuiltUpAreaRoad, LocalRoad, PhysicalAttribute, RoadAccessType, RoadUsage, SupplementalGeometry

public abstract class BitMask<T extends BitMask<T>> extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    intersects(T other)
    Determines whether this has any bit in common with `other`
    abstract int
    Returns the integer representation of the mask
    union(T other)
    Combines this bit mask with `other` to create a new bit mask that contains both

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BitMask

      public BitMask()
  • Method Details

    • intersects

      public boolean intersects(T other)
      Determines whether this has any bit in common with `other`
    • mask

      public abstract int mask()
      Returns the integer representation of the mask
    • union

      public T union(T other)
      Combines this bit mask with `other` to create a new bit mask that contains both