|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkrb5.lib.HostAddresses
public class HostAddresses
Class Description : HostAddresses class. A modified version of the code obtained from the Open Group Research Institute.
Field Summary | |
---|---|
HostAddress[] |
addresses
Array of HostAddress |
Constructor Summary | |
---|---|
HostAddresses()
Class constructor |
|
HostAddresses(HostAddress[] new_addresses)
Class constructor |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones a copy of the object |
boolean |
equals(HostAddresses addrs)
Compares whether the two arrays are the same |
boolean |
inList(HostAddress addr)
if the given HostAddress is in the array |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public HostAddress[] addresses
Constructor Detail |
---|
public HostAddresses(HostAddress[] new_addresses)
new_addresses
- HostAddress[]public HostAddresses() throws java.net.UnknownHostException
java.net.UnknownHostException
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean inList(HostAddress addr)
addr
- HostAddress
public boolean equals(HostAddresses addrs)
addrs
- HostAddresses
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |