今天碰到个ORA-03113, 原因不明. 猜测因为某些table DDL操作过后导致index unuable的case, 然后进行analyze table, 再碰到ORA-14517.  最后通过rebuild index subpartition解决. ORA-03113: end-of-file on communication channel Cause: The connection between Client and Server process was broken. Act…
IModelBinder的学习不算深入,现在用它来实现一个json转Dictionary<string, string> 一.原始json转Dictionary<string, string> 如果不用IModelBinder,那么将Json字符串转换为Dictionary<string, string>的代码写法是: /// <summary> /// 手动Json转Dictionary /// </summary> /// <param…
目录 String 源码分析 常用的API isEmpty() length() charAt() substring() equals() equals()与"==" intern() 一些基础 Java基本数据类型和引用类型 Java自动装箱/拆箱 StringBuilder 定义的常量 构造方法 append()方法 StringBuffer StringBuilder 和 StringBuffer 适用的场景是什么? 扩展小知识 参考链接 String String是一个很普通…
重点:在使用Map时注意key-value,key用于检索value的内容. 在正常情况下,可以不允许重复:在java中分为2中情况,一是内存地址重复,另一个是不同的地址但内容相等. 在使用Map是一定要特别注意,是否允许键值相等存储,在使用IdentityHashMap的键是变量时要小心. 在下面的示例中,键值为常量,指向同一个内存地址,所以会经过修改后还是保持相同数量的元素. import java.util.IdentityHashMap; import java.util.Map; pu…
在MVC中Dictionary<string,string>如何应用到View页面中呢,例: <input type="text" name=key value="value"> 这样使用,在C中我们就能看到Dictionary<string,string> 如果是类中的一个属性如: public class aaaa { public Dictionary<string,string> D1{set;get;} }…
import java.util.ArrayList;import java.util.HashMap;import java.util.List;import java.util.Map; import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.JSONArray; public class ListMap2Json {     /**     * @param Lavender     */    public static…
直接遍历报错:[Ljava.lang.String;@44739f3f Map<String, String> tempMap = new HashMap<String, String>();        Map<String, String[]> reqMap = req.getParameterMap();          Set<Entry<String, String[]>> set = reqMap.entrySet();     …
项目:蒙文词语检索 日期:2016-05-01 提示:The constructor User.Student(String, String, String) is not visible 出处:Dbdao.insert(new Student("Achilles", "Male", "14")); 解决方法: 原代码:Student(String Name, String Sex, String Age) 修改成:public Student(…
前言 有这么一段代码: public class TestMain { public static void main(String[] args) { String str0 = "123"; String str1 = "123"; System.out.println(str0 == str1); } } 运行结果是什么?答案当然是true.对,答案的确是true,但是这是为什么呢?很多人第一反应肯定是两个"123"的String当然相等啊…
1, String.Compare 方法 (String, String) 比较两个指定的 String 对象. 值 条件 小于零 strA 小于 strB. 零 strA 等于 strB. 大于零 strA 大于 strB. 实例: ) { throw new GSPException("开始日期不能大于结束日期", ErrorLevel.Info); } String.IsNullOrEmpty 方法 (String) 指示指定的字符串是 null 还是 Empty 字符串. 返回…