Class RawDataBufferFactory


  • public class RawDataBufferFactory
    extends Object
    Factory of raw data buffers
    • Constructor Detail

      • RawDataBufferFactory

        public RawDataBufferFactory()
    • Method Detail

      • canBeUsed

        public static boolean canBeUsed()
      • create

        public static BooleanDataBuffer create​(boolean[] array,
                                               boolean readOnly)
      • create

        public static ByteDataBuffer create​(byte[] array,
                                            boolean readOnly)
      • create

        public static DoubleDataBuffer create​(double[] array,
                                              boolean readOnly)
      • create

        public static FloatDataBuffer create​(float[] array,
                                             boolean readOnly)
      • create

        public static IntDataBuffer create​(int[] array,
                                           boolean readOnly)
      • create

        public static LongDataBuffer create​(long[] array,
                                            boolean readOnly)
      • create

        public static ShortDataBuffer create​(short[] array,
                                             boolean readOnly)
      • mapNativeBooleans

        protected static BooleanDataBuffer mapNativeBooleans​(long address,
                                                             long size,
                                                             boolean readOnly)
      • mapNativeBytes

        protected static ByteDataBuffer mapNativeBytes​(long address,
                                                       long size,
                                                       boolean readOnly)
      • mapNativeDoubles

        protected static DoubleDataBuffer mapNativeDoubles​(long address,
                                                           long size,
                                                           boolean readOnly)
      • mapNativeFloats

        protected static FloatDataBuffer mapNativeFloats​(long address,
                                                         long size,
                                                         boolean readOnly)
      • mapNativeInts

        protected static IntDataBuffer mapNativeInts​(long address,
                                                     long size,
                                                     boolean readOnly)
      • mapNativeLongs

        protected static LongDataBuffer mapNativeLongs​(long address,
                                                       long size,
                                                       boolean readOnly)
      • mapNativeShorts

        protected static ShortDataBuffer mapNativeShorts​(long address,
                                                         long size,
                                                         boolean readOnly)