摘要: 1. var jsonStr = '{"a": 1, "b": "string", "c": [1, "11"]}'; console.log(typeof(jsonStr)); // string var json = $.parseJSON(jsonStr); console.log(typeof(json)); // object console.log(json.c); // [1, "... 阅读全文
posted @ 2018-04-15 18:11 yoyo198212 阅读(67) 评论(0) 推荐(0) 编辑
摘要: public class Car { private String name ; private int x ; private int y ; private HashSet listeners = new HashSet(); public Car(String name, int x, int y) { super(); this.name = name; ... 阅读全文
posted @ 2018-02-09 20:05 yoyo198212 阅读(110) 评论(0) 推荐(0) 编辑
摘要: [main]myAuthorRealm=cn.shiro.mytest.realm.MyAuthorRealmsecurityManager.realms=$myAuthorRealm 阅读全文
posted @ 2018-02-04 14:13 yoyo198212 阅读(160) 评论(0) 推荐(0) 编辑
摘要: class MyAsyncTask extends AsyncTask{ @Override protected Void doInBackground(Void... params) { for(int i=0;i<100;i++){ publishProgress(i); ... 阅读全文
posted @ 2018-02-04 14:09 yoyo198212 阅读(168) 评论(0) 推荐(0) 编辑
摘要: package com.example.app.sw.kg; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Paint; i... 阅读全文
posted @ 2018-01-21 19:05 yoyo198212 阅读(120) 评论(0) 推荐(0) 编辑
摘要: /** * 流程实例的挂起(任务暂停 * 挂起的是流程 不是任务 需要流程实例的id piid * @author Administrator * */ public class Test05 { public static void main(String[] args) { ProcessEngine processEngine = ... 阅读全文
posted @ 2018-01-20 19:14 yoyo198212 阅读(345) 评论(0) 推荐(0) 编辑
摘要: package cn.test.circle; import java.awt.Color; import java.awt.Graphics; import java.util.ArrayList; import java.util.List; import javax.swing.JFrame; public class MyFrame extends JFrame{ ... 阅读全文
posted @ 2018-01-17 14:00 yoyo198212 阅读(159) 评论(0) 推荐(0) 编辑
摘要: package cn.test.circle; import java.awt.Graphics; public class MyRectangle { private int x ; private int y ; private int w ; private int h ; public MyRectangle(int x, int y, in... 阅读全文
posted @ 2018-01-17 13:59 yoyo198212 阅读(107) 评论(0) 推荐(0) 编辑
摘要: package cn.test.circle; import java.awt.Color; import java.awt.Graphics; public class MyCircle { private int x ; private int y ; private int w ; private int h ; public MyCircle(... 阅读全文
posted @ 2018-01-17 13:58 yoyo198212 阅读(121) 评论(0) 推荐(0) 编辑
摘要: [users] zhangsan=123456 lisi=123456 public class Test01 { public static void main(String[] args) throws Exception{ Factory factory = new IniSecurityManagerFactory("classpath:shiro01.ini"... 阅读全文
posted @ 2018-01-17 08:53 yoyo198212 阅读(117) 评论(0) 推荐(0) 编辑