Interface AttributeAccessor<P,T>

Type Parameters:
P - The type used as input and that will have some attribute extracted
T - The type of the extracted attribute
All Superinterfaces:
Serializable, scala.Serializable

public interface AttributeAccessor<P,T> extends scala.Serializable
Extracts attributes from a given input.

  • Method Summary

    Modifier and Type
    Method
    Description
    com.here.platform.location.compilation.heremapcontent.AttributeAccessor<P,T>
     
    map(Function<T,T2> f)
    Maps the output of this accessor into some other type.
     
  • Method Details

    • asScala

      com.here.platform.location.compilation.heremapcontent.AttributeAccessor<P,T> asScala()
    • map

      <T2> AttributeAccessor<P,T2> map(Function<T,T2> f)
      Maps the output of this accessor into some other type.

      Parameters:
      f - the transformation function
      Returns:
      a new accessor that applies the output of this accessor into a different type
      Type Parameters:
      T2 the output parameter of the mapped accessor
    • outputClass

      Class<T> outputClass()