Class FLArray


  • public class FLArray
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FLArray​(long peer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Object> asArray()  
      <T> java.util.List<T> asTypedArray()  
      long count()
      Returns the number of items in an array; 0 if peer is null.
      FLValue get​(long index)
      Returns an value at an array index, or null if the index is out of range.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FLArray

        public FLArray​(long peer)
    • Method Detail

      • count

        public long count()
        Returns the number of items in an array; 0 if peer is null.
        Returns:
        the number of items in an array; 0 if peer is null.
      • get

        @NonNull
        public FLValue get​(long index)
        Returns an value at an array index, or null if the index is out of range.
        Parameters:
        index - index for value
        Returns:
        the FLValue at index
      • asArray

        @NonNull
        public java.util.List<java.lang.Object> asArray()
      • asTypedArray

        @NonNull
        public <T> java.util.List<T> asTypedArray()