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 TypeClassDescriptionclassAddressNetwork<S extends AddressSegment>An object representing a collection of addresses.static interfaceClasses in inet.ipaddr that implement AddressSegmentModifier and TypeClassDescriptionclassThis 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 TypeMethodDescriptionintAddressComparator.compare(AddressSegment one, AddressSegment two) booleanAddressSegment.contains(AddressSegment other) voidAddress.getSegments(int start, int end, AddressSegment[] segs, int index) voidAddress.getSegments(AddressSegment[] segs) voidAddressSegmentSeries.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 indexvoidAddressSegmentSeries.getSegments(AddressSegment[] segs) Copies the existing segments into the given array.voidIPAddressSection.getSegments(int start, int end, AddressSegment[] segs, int destIndex) voidIPAddressSection.getSegments(AddressSegment[] segs) booleanAddressSegment.overlaps(AddressSegment other) booleanAddressSegment.prefixEquals(AddressSegment other, int prefixLength) Returns whether the given prefix bits match the same bits of the given segment.booleanIPAddressSegment.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 TypeClassDescriptionclassAddressCreator<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 TypeClassDescriptionclassParsedAddressCreator<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 TypeClassDescriptionclassThis represents a segment of an IPv4 address.Methods in inet.ipaddr.ipv4 with parameters of type AddressSegmentModifier and TypeMethodDescriptionbooleanIPv4AddressSegment.contains(AddressSegment other) booleanIPv4AddressSegment.overlaps(AddressSegment other) booleanIPv4AddressSegment.prefixEquals(AddressSegment other, int segmentPrefixLength) -
Uses of AddressSegment in inet.ipaddr.ipv6
Classes in inet.ipaddr.ipv6 that implement AddressSegmentModifier and TypeClassDescriptionclassThis 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 TypeMethodDescriptionbooleanIPv6AddressSegment.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.booleanIPv6AddressSegment.overlaps(AddressSegment other) booleanIPv6AddressSegment.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 TypeMethodDescriptionbooleanMACAddressSegment.contains(AddressSegment other) voidMACAddressSection.getSegments(int start, int end, AddressSegment[] segs, int destIndex) voidMACAddressSection.getSegments(AddressSegment[] segs) booleanMACAddressSegment.overlaps(AddressSegment other) booleanMACAddressSegment.prefixEquals(AddressSegment o, int segmentPrefixLength)