Uses of Interface
inet.ipaddr.AddressSegment
Packages that use AddressSegment
Package
Description
Base classes for IP addresses and generic addresses.
Classes for constructing division groupings in which the divisions are under 64 bits of length.
Validation of address strings and creation of address representations from the validated strings.
Classes for IPv4
Classes for IPv6
Classes for MAC addresses.
-
Uses of AddressSegment in inet.ipaddr
Classes in inet.ipaddr with type parameters of type AddressSegmentModifier and TypeClassDescriptionclass
AddressNetwork<S extends AddressSegment>
An object representing a collection of addresses.static interface
Classes in inet.ipaddr that implement AddressSegmentModifier and TypeClassDescriptionclass
This represents a single segment of an IP address.Methods in inet.ipaddr that return AddressSegmentModifier and TypeMethodDescriptionS[]
AddressNetwork.AddressSegmentCreator.createSegmentArray
(int length) AddressSegment.getLower()
If this segment represents a range of values, returns a segment representing just the lowest value in the range, otherwise returns this.AddressSegmentSeries.getSegment
(int index) Returns the segment from this series at the given index.AddressSegmentSeries.getSegments()
Returns the segments of this series of segments as an array.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.reverseBits
(boolean perByte) AddressSegment.reverseBytes()
Methods in inet.ipaddr that return types with arguments of type AddressSegmentModifier and TypeMethodDescriptionIterable
<? extends AddressSegment> AddressSegment.getIterable()
Iterator
<? extends AddressSegment> AddressSegment.iterator()
AddressComponentSpliterator
<? extends AddressSegment> AddressSegment.spliterator()
Stream
<? extends AddressSegment> AddressSegment.stream()
Methods in inet.ipaddr with parameters of type AddressSegmentModifier and TypeMethodDescriptionint
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.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 AddressSegmentModifier and TypeClassDescriptionclass
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 AddressSegmentModifier and TypeClassDescriptionclass
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 AddressSegmentModifier and TypeMethodDescriptionabstract S[]
ParsedAddressCreator.createSegmentArray
(int length) -
Uses of AddressSegment in inet.ipaddr.ipv4
Classes in inet.ipaddr.ipv4 that implement AddressSegmentModifier and TypeClassDescriptionclass
This represents a segment of an IPv4 address.Methods in inet.ipaddr.ipv4 with parameters of type AddressSegmentModifier and TypeMethodDescriptionboolean
IPv4AddressSegment.contains
(AddressSegment other) boolean
IPv4AddressSegment.prefixEquals
(AddressSegment other, int segmentPrefixLength) -
Uses of AddressSegment in inet.ipaddr.ipv6
Classes in inet.ipaddr.ipv6 that implement AddressSegmentModifier and TypeClassDescriptionclass
This represents a segment of an IPv6 address.Methods in inet.ipaddr.ipv6 with type parameters of type AddressSegmentModifier and TypeMethodDescription<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 AddressSegmentModifier and TypeMethodDescriptionboolean
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.prefixEquals
(AddressSegment other, int segmentPrefixLength) -
Uses of AddressSegment in inet.ipaddr.mac
Classes in inet.ipaddr.mac that implement AddressSegmentMethods in inet.ipaddr.mac with parameters of type AddressSegmentModifier and TypeMethodDescriptionboolean
MACAddressSegment.contains
(AddressSegment other) void
MACAddressSection.getSegments
(int start, int end, AddressSegment[] segs, int destIndex) void
MACAddressSection.getSegments
(AddressSegment[] segs) boolean
MACAddressSegment.prefixEquals
(AddressSegment o, int segmentPrefixLength)