/** * Returns a fixed size ListI based on the content of the give array * * @param array|\blaze\collections\ArrayI $array The contents of the array which should be used as content for the list * @return blaze\collections\ListI An immutable list with the contents of the array. */ public static function asList($array) { return Collections::immutableList(new lists\ArrayList($array)); }