Class FilePathList
java.lang.Object
com.raylib.FilePathList
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal MemorySegment
The native FFI MemorySegment that holds the data this object wraps. -
Constructor Summary
ConstructorsConstructorDescriptionConstruct with auto memory allocator and fields initialized to zero.FilePathList
(int capacity, int count, MemorySegment paths) Construct with auto memory allocator and fields initialized as specifiedFilePathList
(MemorySegment memorySegment) Construct by wrapping around an already allocated MemorySegment, perhaps from another objectFilePathList
(SegmentAllocator arena) Construct with your owm memory allocator and fields not initializedFilePathList
(SegmentAllocator arena, int capacity, int count, MemorySegment paths) Construct with your own memory allocator and fields initialized as specified -
Method Summary
Modifier and TypeMethodDescriptionstatic FilePathList
allocateArray
(long elementCount) Allocate an array of FilePathListstatic FilePathList
allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of FilePathListint
capacity()
Filepaths max entriescapacity
(int value) Filepaths max entriesint
count()
Filepaths entries countcount
(int value) Filepaths entries countboolean
Equality is tested on basis of both wrapper objects must refer to same native memory location to be considered equalgetArrayElement
(int index) int
Filepaths max entriesint
getCount()
Filepaths entries countgetPaths()
Filepaths entriesint
hashCode()
paths()
Filepaths entriespaths
(MemorySegment value) Filepaths entriesvoid
setCapacity
(int value) Filepaths max entriesvoid
setCount
(int value) Filepaths entries countvoid
setPaths
(MemorySegment value) Filepaths entries
-
Field Details
-
memorySegment
The native FFI MemorySegment that holds the data this object wraps.
-
-
Constructor Details
-
FilePathList
public FilePathList()Construct with auto memory allocator and fields initialized to zero. -
FilePathList
Construct with your owm memory allocator and fields not initialized -
FilePathList
Construct by wrapping around an already allocated MemorySegment, perhaps from another object -
FilePathList
Construct with auto memory allocator and fields initialized as specified- Parameters:
capacity
- Filepaths max entriescount
- Filepaths entries countpaths
- Filepaths entries
-
FilePathList
Construct with your own memory allocator and fields initialized as specified- Parameters:
capacity
- Filepaths max entriescount
- Filepaths entries countpaths
- Filepaths entries
-
-
Method Details
-
equals
-
hashCode
-
getArrayElement
-
allocateArray
Allocate an array of FilePathList -
allocateArray
Allocate an array of FilePathList -
getCapacity
public int getCapacity()Filepaths max entries -
setCapacity
public void setCapacity(int value) Filepaths max entries -
capacity
public int capacity()Filepaths max entries -
capacity
Filepaths max entries -
getCount
public int getCount()Filepaths entries count -
setCount
public void setCount(int value) Filepaths entries count -
count
public int count()Filepaths entries count -
count
Filepaths entries count -
getPaths
Filepaths entries -
setPaths
Filepaths entries -
paths
Filepaths entries -
paths
Filepaths entries
-