|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.multicast.allocation.AddressSet
A set of network addresses. All of the addresses in the
AddressSet
must be of the same address type.
Objects of this class and all values returned by their methods are immutable. That is, their values cannot change after they are constructed.
Constructor Summary | |
AddressSet(java.util.Enumeration ranges)
Creates an AddressSet containing the specified
set of AddressRanges . |
Method Summary | |
long |
getAddressCount()
Gets the number of addresses in this AddressSet . |
java.util.Enumeration |
getAddressRanges()
Gets an Enumeration of AddressRanges
that are contained in this AddressSet . |
AddressType |
getAddressType()
Gets the type of addresses in this AddressSet . |
Address |
getFirstAddress()
Gets the first Address in this AddressSet . |
java.lang.String |
toString()
Returns a string representation of this AddressSet . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AddressSet(java.util.Enumeration ranges)
AddressSet
containing the specified
set of AddressRanges
.ranges
- an Enumeration
of
AddressRanges
that
will make up the AddressSet
Method Detail |
public java.lang.String toString()
AddressSet
.toString
in class java.lang.Object
AddressSet
public java.util.Enumeration getAddressRanges()
Enumeration
of AddressRanges
that are contained in this AddressSet
.Enumeration
of AddressRanges
that are contained in this AddressSet
.public Address getFirstAddress()
Address
in this AddressSet
.Address
in this AddressSet
public long getAddressCount()
AddressSet
.AddressSet
public AddressType getAddressType()
AddressSet
.AddressSet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JavaTM Reliable MulticastTM Service version 1.1
Copyright (c) 2001, Sun Microsystems Laboratories, All rights reserved.