jaroslav@636: /** jaroslav@636: * Back 2 Browser Bytecode Translator jaroslav@636: * Copyright (C) 2012 Jaroslav Tulach jaroslav@636: * jaroslav@636: * This program is free software: you can redistribute it and/or modify jaroslav@636: * it under the terms of the GNU General Public License as published by jaroslav@636: * the Free Software Foundation, version 2 of the License. jaroslav@636: * jaroslav@636: * This program is distributed in the hope that it will be useful, jaroslav@636: * but WITHOUT ANY WARRANTY; without even the implied warranty of jaroslav@636: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the jaroslav@636: * GNU General Public License for more details. jaroslav@636: * jaroslav@636: * You should have received a copy of the GNU General Public License jaroslav@636: * along with this program. Look for COPYING file in the top folder. jaroslav@636: * If not, see http://opensource.org/licenses/GPL-2.0. jaroslav@636: */ jaroslav@636: package java.lang; jaroslav@636: jaroslav@636: /** Poor man's re-implementation of most important System methods. jaroslav@636: * jaroslav@636: * @author Jaroslav Tulach jaroslav@636: */ jaroslav@636: public class System { jaroslav@636: private System() { jaroslav@636: } jaroslav@636: jaroslav@636: public static void arraycopy(Object value, int srcBegin, Object dst, int dstBegin, int count) { jaroslav@636: org.apidesign.bck2brwsr.emul.lang.System.arraycopy(value, srcBegin, dst, dstBegin, count); jaroslav@636: } jaroslav@636: jaroslav@636: public static long currentTimeMillis() { jaroslav@636: return org.apidesign.bck2brwsr.emul.lang.System.currentTimeMillis(); jaroslav@636: } jaroslav@636: jaroslav@636: }