Package io.aether.api.common
Class IPAddressAndPortsList
- java.lang.Object
-
- io.aether.api.common.IPAddressAndPortsList
-
- All Implemented Interfaces:
IPAddressAndPortsListUtil,io.aether.utils.ToString
public class IPAddressAndPortsList extends java.lang.Object implements io.aether.utils.ToString, IPAddressAndPortsListUtil
-
-
Field Summary
Fields Modifier and Type Field Description protected IPAddressAndPorts[]addressesstatic io.aether.net.fastMeta.FastMetaType<IPAddressAndPortsList>METAstatic io.aether.net.fastMeta.FastMetaType<IPAddressAndPortsList>META_BODY
-
Constructor Summary
Constructors Constructor Description IPAddressAndPortsList(IPAddressAndPorts[] addresses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddressesContains(IPAddressAndPorts el)booleanequals(java.lang.Object o)IPAddressAndPorts[]getAddresses()inthashCode()java.lang.StringtoString()voidtoString(io.aether.utils.AString sb)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.aether.api.common.IPAddressAndPortsListUtil
getURI, toURIs
-
-
-
-
Field Detail
-
META_BODY
public static final io.aether.net.fastMeta.FastMetaType<IPAddressAndPortsList> META_BODY
-
META
public static final io.aether.net.fastMeta.FastMetaType<IPAddressAndPortsList> META
-
addresses
protected final IPAddressAndPorts[] addresses
-
-
Constructor Detail
-
IPAddressAndPortsList
public IPAddressAndPortsList(IPAddressAndPorts[] addresses)
-
-
Method Detail
-
getAddresses
public IPAddressAndPorts[] getAddresses()
- Specified by:
getAddressesin interfaceIPAddressAndPortsListUtil
-
addressesContains
public boolean addressesContains(IPAddressAndPorts el)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toString
public void toString(io.aether.utils.AString sb)
- Specified by:
toStringin interfaceio.aether.utils.ToString
-
-