Class TruckFuel

  • java.lang.Object
    • com.here.sdk.search.TruckFuel

  • public final class TruckFuel
    extends java.lang.Object

    Contains truck fuel type info of fuel station. Note: This is a BETA feature and thus subject to change.

    • Constructor Summary

      Constructors 
      Constructor Description
      TruckFuel​(TruckFuelType type)
      Creates a new instance.
    • 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

      • maximumTruckClass

        @Nullable
        public TruckClass maximumTruckClass

        The maximum truck class that this fuel type supports. null means information is unknown.

    • Constructor Detail

      • TruckFuel

        public TruckFuel​(@NonNull
                         TruckFuelType type)

        Creates a new instance.

        Parameters:
        type -

        The type of the fuel.

    • 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