Java Code Examples for com.sun.org.apache.xalan.internal.xsltc.compiler.util.VoidType

Following code examples demonstrate how to use com.sun.org.apache.xalan.internal.xsltc.compiler.util.VoidTypefrom java. These examples are extracted from various highly rated open source projects. You can directly use these code snippets or view their entire linked source code. These snippets are extracted to provide contextual information about how to use this class in the real world. These samples also let you understand some good practices on how to use com.sun.org.apache.xalan.internal.xsltc.compiler.util.VoidTypeand various code implementation of this class.

    public VoidType call() throws Exception {
        Integer startUserID = 1 + (db.getNumUsers() / numThreads * multiplier);
        Integer endUserId = 1 + db.getNumUsers() / numThreads * (multiplier + 1);
        if(endUserId > db.getNumUsers()) {
            endUserId = db.getNumUsers() + 1;
        }
        for(int i = startUserID; i < endUserId; i++) {
            db.getOneUserStats(i, dayId);
        }
        return null;
    } 


Advertisement
Javadoc
@author Jacek Ambroziak @author Santiago Pericas-Geertsen
Advertisement