Class AddressLabelPair

  • All Implemented Interfaces:

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

      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.
        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)
        equals in class java.lang.Object
        See Also: