`
Hello______world
  • 浏览: 17748 次
社区版块
存档分类
最新评论
文章列表

css-builder.js

    博客分类:
  • js
define(['require', './normalize'], function(req, normalize) { var cssAPI = {}; var isWindows = !!process.platform.match(/^win/); function compress(css) { if (config.optimizeCss == 'none') { return css; } if (typeof process !== "undefined" && ...

css.js

    博客分类:
  • js
define(function(){if("undefined"==typeof window)return{load:function(e,t,n){n()}};var e=document.getElementsByTagName("head")[0],t=window.navigator.userAgent.match(/Trident\/([^ ;]*)|AppleWebKit\/([^ ;]*)|Opera\/([^ ;]*)|rv\:([^ ;]*)(.*?)Gecko\/([^ ;]*)|MSIE\s([^ ;]*)|AndroidWebKi ...
//公用插件 var public={}; if (jQuery)(function () { $.extend($.fn, { public: function () { var func = arguments[0]; arguments[0] = this; return eval('public.' + func).apply(this, arguments); } }); })(jQuery); /** * set language ...

normalize.js

    博客分类:
  • js
//>>excludeStart('excludeRequireCss', pragmas.excludeRequireCss) /* * css.normalize.js * * CSS Normalization * * CSS paths are normalized based on an optional basePath and the RequireJS config * * Usage: * normalize(css, fromBasePath, toBasePath); * * css: the stylesheet ...

jquery扩展

    博客分类:
  • js
$(function () { var dialog = null; var password = null; $("#userInfo").click(function () { dialog = App.dialog({ title: Msg.user.userTitle, action: 'modifyUser', resizable: false, width: 650, height ...
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping package="com.shjv.tdscdma.epmsgroup. ...

常量定义文件

    博客分类:
  • java
package com.shjv.tdscdma.epms.info.constants; /** * 保存一些常量<BR> * 保证代码中不出现字符串等魔鬼变量 * */ public interface Constants { /******************** 公共部分begin ***************************/ /** * 空字符串 */ String STR_EMPTY = ""; /** * "-"字符串 */ St ...
package numTest; import java.math.BigDecimal; /** * 高精度计算辅助类,提供保留指定小数位的简单计算和四舍五入 */ public class Num { private static final BigDecimal one = new BigDecimal(1); private BigDecimal decimal; private int scale; private int roundingMode = BigDecimal.ROUND_HALF_UP; p ...
Eclipse 编写应用程序设置代理 对于一般的Web程序, 需要访问网络资源, 此时设置的代理是使得JAVA VM通过代理访问,设置方式是: Run As ->Run Configurations.. ->(x=)Argument:->VM Arguments下添加: -Dhttp.proxyHost=代理IP地址 -Dhttp.proxyPort=端口 例如: -Dhttp.proxyHost=192.168.0.26 -Dhttp.proxyPort=8080

swing

    博客分类:
  • js
gggg
package testLog4j; import java.io.File; import jxl.Cell; import jxl.Sheet; import jxl.Workbook; import net.sf.json.JSONArray; import net.sf.json.JSONObject; public class readExcel { public static void main(String[] args) { Sheet sheet; Workbook book; Cell c ...

super限定

    博客分类:
  • java
package swing; class BaseClass{ public int a = 5; } public class SubClass extends BaseClass { public int a = 7; public void accessOwner(){ System.out.println(a); } public void accessBase(){ System.out.println(super.a); } public static void main(String[] args) { ...

spring 配置

    博客分类:
  • java
<!-- app户用系统电站运行状况接口service --> <bean id="StationDataOfHouseHoldDao" class="com.shjv.tdscdma.epmsgroup.household.dao.impl.StationDataOfHouseHoldDaoImpl" lazy-init="true"> <property name="baseDAO" ref="baseDAO"></property> ...
package main; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.TreeMap; import net.sf.json.JSONObject; import org.apache.commons.lang.StringU ...
ArrayList特点:底层使用数组数据结构,查询速度快(使用脚标查),插入删除慢(索引需要改变) LinkedList特点:底层使用链表数据结构,查询慢(需要一个一个去问),插入删除快 Vector特点:底层数组数据结构,线程同步,被ArrayList代替了。 ArrayList package test; import java.util.ArrayList; public class ArrayListDemo { public static void main(String[] args) { ArrayList lists = new Ar ...
Global site tag (gtag.js) - Google Analytics