Class SubinterfaceKey

  • All Implemented Interfaces:
    Serializable, org.opendaylight.yangtools.concepts.Identifier, org.opendaylight.yangtools.concepts.Immutable, org.opendaylight.yangtools.concepts.MutationBehaviour<org.opendaylight.yangtools.concepts.Immutable>, org.opendaylight.yangtools.yang.binding.Identifier<Subinterface>

    public class SubinterfaceKey
    extends Object
    implements org.opendaylight.yangtools.yang.binding.Identifier<Subinterface>
    See Also:
    Serialized Form
    • Constructor Detail

      • SubinterfaceKey

        public SubinterfaceKey​(org.opendaylight.yangtools.yang.common.Uint32 _index)
      • SubinterfaceKey

        @Deprecated(forRemoval=true)
        public SubinterfaceKey​(Long _index)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use {#link SubinterfaceKey(Uint32)} instead.
        Utility migration constructor.
        Parameters:
        _index - index in legacy Java type
      • SubinterfaceKey

        public SubinterfaceKey​(SubinterfaceKey source)
        Creates a copy from Source Object.
        Parameters:
        source - Source object
    • Method Detail

      • getIndex

        public org.opendaylight.yangtools.yang.common.Uint32 getIndex()
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface org.opendaylight.yangtools.concepts.Identifier
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Specified by:
        equals in interface org.opendaylight.yangtools.concepts.Identifier
        Overrides:
        equals in class Object
      • toString

        public String toString()
        Specified by:
        toString in interface org.opendaylight.yangtools.concepts.Identifier
        Overrides:
        toString in class Object