Class AddressLabelPair

  • All Implemented Interfaces:
    java.io.Serializable

    public final class AddressLabelPair
    extends java.lang.Object
    implements java.io.Serializable
    Container for holding an address and label.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AddressLabelPair​(Address addr, java.lang.String label)
      Creates a new AddressLabelPair.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      Address getAddress()
      Returns the address.
      java.lang.String getLabel()
      Returns the label.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AddressLabelPair

        public AddressLabelPair​(Address addr,
                                java.lang.String label)
        Creates a new AddressLabelPair.
        Parameters:
        addr - the address
        label - the label
    • Method Detail

      • getAddress

        public Address getAddress()
        Returns the address.
      • getLabel

        public java.lang.String getLabel()
        Returns the label.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)