Class FilePathList

java.lang.Object
com.raylib.FilePathList

public class FilePathList extends Object
File path list
  • Field Details

    • memorySegment

      public final MemorySegment 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

      public FilePathList(SegmentAllocator arena)
      Construct with your owm memory allocator and fields not initialized
    • FilePathList

      public FilePathList(MemorySegment memorySegment)
      Construct by wrapping around an already allocated MemorySegment, perhaps from another object
    • FilePathList

      public FilePathList(int capacity, int count, MemorySegment paths)
      Construct with auto memory allocator and fields initialized as specified
      Parameters:
      capacity - Filepaths max entries
      count - Filepaths entries count
      paths - Filepaths entries
    • FilePathList

      public FilePathList(SegmentAllocator arena, int capacity, int count, MemorySegment paths)
      Construct with your own memory allocator and fields initialized as specified
      Parameters:
      capacity - Filepaths max entries
      count - Filepaths entries count
      paths - Filepaths entries
  • Method Details

    • equals

      public boolean equals(Object o)
      Equality is tested on basis of both wrapper objects must refer to same native memory location to be considered equal
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getArrayElement

      public FilePathList getArrayElement(int index)
    • allocateArray

      public static FilePathList allocateArray(long elementCount, SegmentAllocator allocator)
      Allocate an array of FilePathList
    • allocateArray

      public static FilePathList allocateArray(long elementCount)
      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

      public FilePathList capacity(int value)
      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

      public FilePathList count(int value)
      Filepaths entries count
    • getPaths

      public MemorySegment getPaths()
      Filepaths entries
    • setPaths

      public void setPaths(MemorySegment value)
      Filepaths entries
    • paths

      public MemorySegment paths()
      Filepaths entries
    • paths

      public FilePathList paths(MemorySegment value)
      Filepaths entries