Class MArray

    • Constructor Detail

      • MArray

        public MArray()
    • Method Detail

      • initInSlot

        public void initInSlot​(@NonNull
                               MValue mv,
                               @Nullable
                               MCollection parent)
      • initAsCopyOf

        public void initAsCopyOf​(@NonNull
                                 MArray array,
                                 boolean isMutable)
      • getBaseArray

        @Nullable
        public FLArray getBaseArray()
      • count

        public long count()
      • get

        @NonNull
        public MValue get​(long index)
        Returns a reference to the MValue of the item at the given index. If the index is out of range, returns an empty MValue.
      • set

        public boolean set​(long index,
                           Object value)
      • insert

        public boolean insert​(long index,
                              Object value)
      • append

        public boolean append​(Object value)
      • remove

        public boolean remove​(long start,
                              long num)
      • remove

        public boolean remove​(long index)
      • clear

        public boolean clear()
      • encodeTo

        public void encodeTo​(@NonNull
                             FLEncoder enc)