Class NameID

  • java.lang.Object
    • com.here.sdk.core.NameID

  • public final class NameID
    extends java.lang.Object

    Structure to represent name-id pairs.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String id
      The ID.
      java.lang.String name
      The name.
    • Constructor Summary

      Constructors 
      Constructor Description
      NameID()
      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

      • name

        @Nullable
        public java.lang.String name

        The name.

      • id

        @Nullable
        public java.lang.String id

        The ID.

    • Constructor Detail

      • NameID

        public NameID()

        Creates a new instance.

    • 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