Documentation of 'org.matheclipse.core.convert.Lists' Java class
Lists
org.matheclipse.core.convert

Class Lists



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

      Constructors 
      Constructor and Description
      Lists() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static IAST asAST(boolean... p_booleans)
      Returns a IAST of boolean ISymbols from an array of booleans.
      static IAST asList(double... p_doubles)
      Returns a IAST of INums from an array of doubles.
      static IAST asList(float... p_doubles)
      Returns a IAST of INums from an array of floats.
      static IAST asList(int... p_ints)
      Returns a IAST of IIntegers from an array of ints.
      static IAST asList(long... p_longs)
      Returns a IAST of IIntegers from an array of longs.
      static IAST asList(java.lang.Object... p_objects)
      Returns a IAST of IExprs from an array of Objects.
      static IAST asList(short... p_shorts)
      Returns a IAST of IIntegers from an array of shorts.
      static IAST asList(java.lang.String... p_strings)
      Returns a IAST of IStringXs from an array of Strings.
      static IAST asListSymbols(java.lang.String... p_symbols)
      Returns a IAST of ISymbols from an array of Strings.
      static <T> int sizeOf(T... p_array)
      Returns the size of a array, returning zero if the array is null.
      • Methods inherited from class java.lang.Object

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

      • Lists

        public Lists()
    • Method Detail

      • sizeOf

        public static <T> int sizeOf(T... p_array)
        Returns the size of a array, returning zero if the array is null.
        Parameters:
        p_array - the array for which to return the size.
        Returns:
        the size of the array, or 0 if the array is null.
      • asAST

        public static IAST asAST(boolean... p_booleans)
        Returns a IAST of boolean ISymbols from an array of booleans.
        Parameters:
        p_booleans - the array of boolean values to be converted to a IAST.
        Returns:
        a IAST of objects.
      • asList

        public static IAST asList(double... p_doubles)
        Returns a IAST of INums from an array of doubles.
        Parameters:
        p_doubles - the array of double values to be converted to a IAST.
        Returns:
        a IAST of INum objects.
      • asList

        public static IAST asList(float... p_doubles)
        Returns a IAST of INums from an array of floats.
        Parameters:
        p_doubles - the array of float values to be converted to a IAST.
        Returns:
        a IAST of INum objects.
      • asList

        public static IAST asList(java.lang.String... p_strings)
        Returns a IAST of IStringXs from an array of Strings.
        Parameters:
        p_strings - the array of String values to be converted to a IAST.
        Returns:
        a IAST of IStringX objects.
      • asListSymbols

        public static IAST asListSymbols(java.lang.String... p_symbols)
        Returns a IAST of ISymbols from an array of Strings.
        Parameters:
        p_symbols - the array of String values to be converted to a IAST.
        Returns:
        a IAST of ISymbol objects.
      • asList

        public static IAST asList(short... p_shorts)
        Returns a IAST of IIntegers from an array of shorts.
        Parameters:
        p_shorts - the array of short values to be converted to a IAST.
        Returns:
        a IAST of IInteger objects.
      • asList

        public static IAST asList(int... p_ints)
        Returns a IAST of IIntegers from an array of ints.
        Parameters:
        p_ints - the array of int values to be converted to a IAST.
        Returns:
        a IAST of IInteger objects.
      • asList

        public static IAST asList(long... p_longs)
        Returns a IAST of IIntegers from an array of longs.
        Parameters:
        p_longs - the array of long values to be converted to a IAST.
        Returns:
        a IAST of IInteger objects.
      • asList

        public static IAST asList(java.lang.Object... p_objects)
        Returns a IAST of IExprs from an array of Objects.
        Parameters:
        p_objects - the array of Object values to be converted to a IAST.
        Returns:
        a IAST of IExpr objects.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.