All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cass.rollup.processors.v2.graph.util.ArrayUtil Maven / Gradle / Ivy

There is a newer version: 3.1.8
Show newest version
package cass.rollup.processors.v2.graph.util;

import org.stjs.javascript.Array;
import org.stjs.javascript.Global;

public class ArrayUtil {

    public static boolean arrayContains(Array a, Object o) {
        for (int i=0;i=0;i--) {
            if (a.$get(i) == o) return i;
        }
        return -1;
    }

    public static String arrayToString(Array a) {
        if (a == null || a.$length() == 0) return "";
        String ret = "";
        for (int i=0;i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy