摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf- 阅读全文
posted @ 2013-06-21 15:54 青木流水 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 效果预览:http://keleyi.com/keleyi/phtml/image/index.htm<script src="http://keleyi.com/keleyi/pmedia/jquery-1.9.1.min.js" type="text/javascript"></script> <script src="http://keleyi.com/keleyi/phtml/image/jquery.lazyload.js" type="text/javascript"> 阅读全文
posted @ 2013-06-21 15:44 青木流水 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 在java开发中大家都认为final定义的变量时不可以修改的,实际上这只是普遍的想法,并不是绝对的,通过java反射机制就能修改final变量的值,Demo例子如下: 1 package com.ng.pl; 2 3 import java.lang.reflect.Field; 4 5 public class Demo { 6 7 public void change(final String str){ 8 Class<?> v = str.getClass(); 9 try {10 Field field =... 阅读全文
posted @ 2013-06-21 11:18 青木流水 阅读(2074) 评论(0) 推荐(0) 编辑