java.lang.Object
overrungl.Pointer
overrungl.Struct
overrungl.nfd.NFDU8FilterItem
- All Implemented Interfaces:
 Addressable
- Direct Known Subclasses:
 NFDU8FilterItem.Buffer
NFDU8FilterItem relies on preview features of the Java platform:
NFDU8FilterItemrefers to one or more preview APIs:MemoryLayout,MemorySegment,SegmentAllocator,StructLayout.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
- Since:
 - 0.1.0
 - Author:
 - squid233
 
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsFields inherited from class overrungl.Pointer
address, allocator, managedSegment - 
Constructor Summary
ConstructorsModifierConstructorDescriptionNFDU8FilterItem(MemorySegmentPREVIEW address, SegmentAllocatorPREVIEW allocator) Create aNFDU8FilterIteminstance.protectedNFDU8FilterItem(MemorySegmentPREVIEW address, SegmentAllocatorPREVIEW allocator, MemoryLayoutPREVIEW layout) Creates a struct instance with the given memory layout. - 
Method Summary
Modifier and TypeMethodDescriptionstatic NFDU8FilterItemcreate(SegmentAllocatorPREVIEW allocator, String name, String spec) Creates aNFDU8FilterIteminstance with the given allocator.static NFDU8FilterItem.Buffercreate(SegmentAllocatorPREVIEW allocator, Pair<String>... items) Creates aNFDU8FilterItem.Bufferinstance with the given allocator and items.name()Returns the name of the filter.nname()Returns the name of the filter.nspec()Returns the spec of the filter.spec()Returns the spec of the filter. 
- 
Field Details
- 
LAYOUT
The struct layout. 
 - 
 - 
Constructor Details
- 
NFDU8FilterItem
Create aNFDU8FilterIteminstance.- Parameters:
 address- the address.allocator- the allocator of this address.
 - 
NFDU8FilterItem
protected NFDU8FilterItem(MemorySegmentPREVIEW address, SegmentAllocatorPREVIEW allocator, MemoryLayoutPREVIEW layout) Creates a struct instance with the given memory layout.- Parameters:
 address- the address.allocator- the allocator of this address.layout- the memory layout of this struct.
 
 - 
 - 
Method Details
- 
create
Creates aNFDU8FilterIteminstance with the given allocator.- Parameters:
 allocator- the allocatorname- the name of the filterspec- the specification of the filter- Returns:
 - the instance
 
 - 
create
@SafeVarargs public static NFDU8FilterItem.Buffer create(SegmentAllocatorPREVIEW allocator, Pair<String>... items) Creates aNFDU8FilterItem.Bufferinstance with the given allocator and items.- Parameters:
 allocator- the allocatoritems- the items- Returns:
 - the instance
 
 - 
nname
Returns the name of the filter.- Returns:
 - the name of the filter
 
 - 
name
Returns the name of the filter.- Returns:
 - the name of the filter
 - See Also:
 
 - 
nspec
Returns the spec of the filter.- Returns:
 - the spec of the filter
 
 - 
spec
Returns the spec of the filter.- Returns:
 - the spec of the filter
 - See Also:
 
 
 - 
 
NFDU8FilterItemwhen preview features are enabled.