摘要:
package com.js.ai.modules.pointwall.testxfz; class OrdArray{ private long[] a; private int nElems; public OrdArray(int max) { a=new long[max]; nElems=0; } public int size(){ return nElems;... 阅读全文
摘要:
1 简介 RMI是远程方法调用的简称,它能够帮助我们查找并执行远程对象的方法。通俗地说,远程调用就象将一个class放在A机器上,然后在B机器中调用这个class的方法。 2 概念 其他机器需要调用的对象必须被导出到远程注册服务器,这样才能被其他机器调用。因此,如果机器A要调用机器B上的方法,则机器 阅读全文
摘要:
String phone="18678473547"; //String phones = phone.substring(0,phone.length()-(phone.substring(3)).length())+"****"+phone.substring(7); String phones = phone.substring(0,3)+"****"+phone.s... 阅读全文
摘要:
/** * * @Title: getValue * @Description: TODO * @param key * @return import java.util.Properties; * @return: String */ public static String getValue(String key){ Properties prop = ... 阅读全文