org.apache.directory.server.kerberos.shared.messages.value
Class HostAddresses

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.messages.value.HostAddresses

public class HostAddresses
extends java.lang.Object

Version:
$Rev: 540371 $, $Date: 2007-05-21 20:00:43 -0400 (Mon, 21 May 2007) $
Author:
Apache Directory Project

Constructor Summary
HostAddresses(HostAddress[] addresses)
          Creates a new instance of HostAddresses.
 
Method Summary
 boolean contains(HostAddress address)
          Returns true if this HostAddresses contains a specified HostAddress.
 boolean equals(HostAddresses that)
          Returns true if two HostAddresses are equal.
 HostAddress[] getAddresses()
          Returns the contained HostAddresss as an array.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostAddresses

public HostAddresses(HostAddress[] addresses)
Creates a new instance of HostAddresses.

Parameters:
addresses -
Method Detail

contains

public boolean contains(HostAddress address)
Returns true if this HostAddresses contains a specified HostAddress.

Parameters:
address -
Returns:
true if this HostAddresses contains a specified HostAddress.

equals

public boolean equals(HostAddresses that)
Returns true if two HostAddresses are equal.

Parameters:
that -
Returns:
true if two HostAddresses are equal.

getAddresses

public HostAddress[] getAddresses()
Returns the contained HostAddresss as an array.

Returns:
An array of HostAddresss.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2007 The Apache Software Foundation. All Rights Reserved.