public class AnycastAddress extends java.lang.Object implements Address
| Modifier and Type | Field and Description | 
|---|---|
| protected java.util.Collection<Address> | destinations | 
| Constructor and Description | 
|---|
| AnycastAddress() | 
| AnycastAddress(Address... addresses) | 
| AnycastAddress(java.util.Collection<Address> addresses) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(Address... addresses) | 
| void | addAll(java.util.Collection<Address> addresses) | 
| int | compareTo(Address o) | 
| boolean | equals(java.lang.Object o) | 
| java.util.Collection<Address> | getAddresses() | 
| int | hashCode() | 
| protected void | internalAdd(Address address) | 
| void | readExternal(java.io.ObjectInput objectInput) | 
| void | readFrom(java.io.DataInput in)Read the state of the current object (including superclasses) from instream
 Note that the input stream must not be closed | 
| int | size()Returns serialized size of this address | 
| java.lang.String | toString() | 
| void | writeExternal(java.io.ObjectOutput objectOutput) | 
| void | writeTo(java.io.DataOutput out)Write the entire state of the current object (including superclasses) to outstream. | 
protected java.util.Collection<Address> destinations
public AnycastAddress()
public AnycastAddress(java.util.Collection<Address> addresses)
public AnycastAddress(Address... addresses)
public void add(Address... addresses)
protected void internalAdd(Address address)
public void addAll(java.util.Collection<Address> addresses)
public java.util.Collection<Address> getAddresses()
public int size()
Addresspublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(Address o)
compareTo in interface java.lang.Comparable<Address>public void writeTo(java.io.DataOutput out)
             throws java.lang.Exception
StreamablewriteTo in interface Streamablejava.lang.Exceptionpublic void readFrom(java.io.DataInput in)
              throws java.lang.Exception
StreamablereadFrom in interface Streamablejava.lang.Exceptionpublic void writeExternal(java.io.ObjectOutput objectOutput)
                   throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput objectInput)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionCopyright © 1998-2020 Red Hat. All Rights Reserved.