Module java.base
Package java.lang.foreign

# Interface SegmentAllocator

=
@FunctionalInterface
public abstract interface SegmentAllocator

## Methods

- =
  public default java.lang.foreign.MemorySegment allocate(long arg0)
- =
  public abstract java.lang.foreign.MemorySegment allocate(long arg0, long arg1)
- =
  public default java.lang.foreign.MemorySegment allocate(java.lang.foreign.MemoryLayout arg0)
- =
  public default java.lang.foreign.MemorySegment allocate(java.lang.foreign.MemoryLayout arg0, long arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.String arg0)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.String arg0, java.nio.charset.Charset arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.String arg0, java.nio.charset.Charset arg1, int arg2, int arg3)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.AddressLayout arg0, java.lang.foreign.MemorySegment arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.ValueLayout arg0, java.lang.foreign.MemorySegment arg1, java.lang.foreign.ValueLayout arg2, long arg3, long arg4)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.ValueLayout.OfByte arg0, byte arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.ValueLayout.OfByte arg0, byte[] arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.ValueLayout.OfChar arg0, char arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.ValueLayout.OfChar arg0, char[] arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.ValueLayout.OfDouble arg0, double arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.ValueLayout.OfDouble arg0, double[] arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.ValueLayout.OfFloat arg0, float arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.ValueLayout.OfFloat arg0, float[] arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.ValueLayout.OfInt arg0, int arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.ValueLayout.OfInt arg0, int[] arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.ValueLayout.OfLong arg0, long arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.ValueLayout.OfLong arg0, long[] arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.ValueLayout.OfShort arg0, short arg1)
- =
  public default java.lang.foreign.MemorySegment allocateFrom(java.lang.foreign.ValueLayout.OfShort arg0, short[] arg1)
- =
  public static java.lang.foreign.SegmentAllocator prefixAllocator(java.lang.foreign.MemorySegment arg0)
- =
  public static java.lang.foreign.SegmentAllocator slicingAllocator(java.lang.foreign.MemorySegment arg0)

## Summary

No differences.