摘要: 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;... 阅读全文
posted @ 2017-06-13 19:13 ATJAVA 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1 简介 RMI是远程方法调用的简称,它能够帮助我们查找并执行远程对象的方法。通俗地说,远程调用就象将一个class放在A机器上,然后在B机器中调用这个class的方法。 2 概念 其他机器需要调用的对象必须被导出到远程注册服务器,这样才能被其他机器调用。因此,如果机器A要调用机器B上的方法,则机器 阅读全文
posted @ 2017-06-13 18:20 ATJAVA 阅读(548) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2017-06-13 11:21 ATJAVA 阅读(250) 评论(0) 推荐(0) 编辑
摘要: /** * * @Title: getValue * @Description: TODO * @param key * @return import java.util.Properties; * @return: String */ public static String getValue(String key){ Properties prop = ... 阅读全文
posted @ 2017-06-13 10:34 ATJAVA 阅读(1468) 评论(0) 推荐(0) 编辑