java.lang.Object
com.here.platform.location.compilation.heremapcontent.javadsl.AttributeAccessors

public class AttributeAccessors extends Object
  • Constructor Details

    • AttributeAccessors

      public AttributeAccessors()
  • Method Details

    • forHereMapContentSegmentAnchor

      public static <T, P, C> AttributeAccessor<P,T> forHereMapContentSegmentAnchor(AttributeContainerAccess<P,C> attributeContainerAccess, AttributeAccess<C,T> attributeAccess)
      Creates an AttributeAccessor for HERE Map Content data.

      Returns:
      a new HERE Map Content accessor
      Type Parameters:
      P the partition type data the HERE Map Content layer contains. It must be HERE Map Content compliant, which means it needs to have a method named segmentAnchor returning a Seq of SegmentAnchor, C the container type. It must be HERE Map Content compliant, which means it needs to have a method named segmentAnchorIndex returning an Iterable of T., T the extracted attribute type

    • getOutputClass

      public static <T> Class<T> getOutputClass(Function<?,T> f)