Interface JSList<T>

    • Method Detail

      • size

        int size()
        Returns the number of elements in this list. If this list contains more than Integer.MAX_VALUE elements, returns Integer.MAX_VALUE.
        Returns:
        the number of elements in this list
      • get

        List<T> get()
        Returns:
        all the values or empty list
      • get

        T get​(int index)
        Parameters:
        index - of entry
        Returns:
        the value throws JsforjException if index out of bounds
      • add

        void add​(T val)
        Parameters:
        val - to be added to list
      • contains

        boolean contains​(T val)
        Parameters:
        val - to be checked
        Returns:
        true if present in list
      • remove

        void remove​(T val)
        Parameters:
        val - to remove throws JsforjException if index out of bounds