Examples of RStringVector


Examples of com.oracle.truffle.r.runtime.data.RStringVector

    @ExplodeLoop
    @SlowPath
    private void extendVectorsToSameLength(RStringVector[] stringVectors, int desiredLength) {
        for (int i = 0; i < stringVectorsAmount; i++) {
            RStringVector stringVector = stringVectors[i];
            int length = stringVector.getLength();
            if (length < desiredLength) {
                stringVectors[i] = extendVector(stringVector, length, desiredLength);
            }
        }
    }
View Full Code Here

Examples of com.oracle.truffle.r.runtime.data.RStringVector

    }

    @SlowPath
    private RStringVector checkVector(Object obj, String msg) {
        if (obj instanceof RStringVector) {
            RStringVector result = (RStringVector) obj;
            if (result.getLength() > 0) {
                return result;
            }
        } else if (obj instanceof String) {
            return RDataFactory.createStringVector((String) obj);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.