Uses of Interface
inet.ipaddr.AddressSegment
-
Packages that use AddressSegment Package Description inet.ipaddr Base classes for IP addresses and generic addresses.inet.ipaddr.format.standard Classes for constructing division groupings in which the divisions are under 64 bits of length.inet.ipaddr.format.validate Validation of address strings and creation of address representations from the validated strings.inet.ipaddr.ipv4 Classes for IPv4inet.ipaddr.ipv6 Classes for IPv6inet.ipaddr.mac Classes for MAC addresses. -
-
Uses of AddressSegment in inet.ipaddr
Classes in inet.ipaddr with type parameters of type AddressSegment Modifier and Type Class Description class
AddressNetwork<S extends AddressSegment>
An object representing a collection of addresses.static interface
AddressNetwork.AddressSegmentCreator<S extends AddressSegment>
Classes in inet.ipaddr that implement AddressSegment Modifier and Type Class Description class
IPAddressSegment
This represents a single segment of an IP address.Methods in inet.ipaddr that return AddressSegment Modifier and Type Method Description S[]
AddressNetwork.AddressSegmentCreator. createSegmentArray(int length)
AddressSegment
AddressSegment. getLower()
If this segment represents a range of values, returns a segment representing just the lowest value in the range, otherwise returns this.AddressSegment
AddressSegmentSeries. getSegment(int index)
Returns the segment from this series at the given index.AddressSegment[]
AddressSegmentSeries. getSegments()
Returns the segments of this series of segments as an array.AddressSegment
AddressSegment. getUpper()
If this segment represents a range of values, returns a segment representing just the highest value in the range, otherwise returns this.AddressSegment
AddressSegment. reverseBits(boolean perByte)
AddressSegment
AddressSegment. reverseBytes()
Methods in inet.ipaddr that return types with arguments of type AddressSegment Modifier and Type Method Description java.lang.Iterable<? extends AddressSegment>
AddressSegment. getIterable()
java.util.Iterator<? extends AddressSegment>
AddressSegment. iterator()
AddressComponentSpliterator<? extends AddressSegment>
AddressSegment. spliterator()
java.util.stream.Stream<? extends AddressSegment>
AddressSegment. stream()
Methods in inet.ipaddr with parameters of type AddressSegment Modifier and Type Method Description int
AddressComparator. compare(AddressSegment one, AddressSegment two)
boolean
AddressSegment. contains(AddressSegment other)
void
Address. getSegments(int start, int end, AddressSegment[] segs, int index)
void
Address. getSegments(AddressSegment[] segs)
void
AddressSegmentSeries. getSegments(int start, int end, AddressSegment[] segs, int index)
get the segments from start to end and insert into the segs array at the given indexvoid
AddressSegmentSeries. getSegments(AddressSegment[] segs)
Copies the existing segments into the given array.void
IPAddressSection. getSegments(int start, int end, AddressSegment[] segs, int destIndex)
void
IPAddressSection. getSegments(AddressSegment[] segs)
boolean
AddressSegment. overlaps(AddressSegment other)
boolean
AddressSegment. prefixEquals(AddressSegment other, int prefixLength)
Returns whether the given prefix bits match the same bits of the given segment.boolean
IPAddressSegment. prefixEquals(AddressSegment other, int prefixLength)
-
Uses of AddressSegment in inet.ipaddr.format.standard
Classes in inet.ipaddr.format.standard with type parameters of type AddressSegment Modifier and Type Class Description class
AddressCreator<T extends Address,R extends AddressSection,E extends AddressSection,S extends AddressSegment>
Has methods for creating addresses, segments and sections that are available to the parser. -
Uses of AddressSegment in inet.ipaddr.format.validate
Classes in inet.ipaddr.format.validate with type parameters of type AddressSegment Modifier and Type Class Description class
ParsedAddressCreator<T extends Address,R extends AddressSection,E extends AddressSection,S extends AddressSegment>
Has methods for creating addresses, segments and sections that are available to the parser.Methods in inet.ipaddr.format.validate that return AddressSegment Modifier and Type Method Description abstract S[]
ParsedAddressCreator. createSegmentArray(int length)
-
Uses of AddressSegment in inet.ipaddr.ipv4
Classes in inet.ipaddr.ipv4 that implement AddressSegment Modifier and Type Class Description class
IPv4AddressSegment
This represents a segment of an IPv4 address.Methods in inet.ipaddr.ipv4 with parameters of type AddressSegment Modifier and Type Method Description boolean
IPv4AddressSegment. contains(AddressSegment other)
boolean
IPv4AddressSegment. overlaps(AddressSegment other)
boolean
IPv4AddressSegment. prefixEquals(AddressSegment other, int segmentPrefixLength)
-
Uses of AddressSegment in inet.ipaddr.ipv6
Classes in inet.ipaddr.ipv6 that implement AddressSegment Modifier and Type Class Description class
IPv6AddressSegment
This represents a segment of an IPv6 address.Methods in inet.ipaddr.ipv6 with type parameters of type AddressSegment Modifier and Type Method Description <S extends AddressSegment>
voidIPv6AddressSegment. getSplitSegments(S[] segs, int index, AddressNetwork.AddressSegmentCreator<S> creator)
Converts this IPv6 address segment into smaller segments, copying them into the given array starting at the given index.Methods in inet.ipaddr.ipv6 with parameters of type AddressSegment Modifier and Type Method Description boolean
IPv6AddressSegment. contains(AddressSegment other)
<S extends AddressSegment>
voidIPv6AddressSegment. getSplitSegments(S[] segs, int index, AddressNetwork.AddressSegmentCreator<S> creator)
Converts this IPv6 address segment into smaller segments, copying them into the given array starting at the given index.boolean
IPv6AddressSegment. overlaps(AddressSegment other)
boolean
IPv6AddressSegment. prefixEquals(AddressSegment other, int segmentPrefixLength)
-
Uses of AddressSegment in inet.ipaddr.mac
Classes in inet.ipaddr.mac that implement AddressSegment Modifier and Type Class Description class
MACAddressSegment
Represents a segment of a MAC address.Methods in inet.ipaddr.mac with parameters of type AddressSegment Modifier and Type Method Description boolean
MACAddressSegment. contains(AddressSegment other)
void
MACAddressSection. getSegments(int start, int end, AddressSegment[] segs, int destIndex)
void
MACAddressSection. getSegments(AddressSegment[] segs)
boolean
MACAddressSegment. overlaps(AddressSegment other)
boolean
MACAddressSegment. prefixEquals(AddressSegment o, int segmentPrefixLength)
-