摘要: select id , case id when 1001 then '第一类' when 1002 then '第二类' else '第三类' end ' 类别 'from dept; 阅读全文
posted @ 2019-07-25 22:20 玄空2 阅读(502) 评论(0) 推荐(0) 编辑
摘要: package test;import demon.Person;class Tuple<A, B> { public final A first; public final B second; public Tuple(A a, B b) { first = a; second = b; } pu 阅读全文
posted @ 2019-07-25 21:44 玄空2 阅读(224) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="../../js/jquery-3.2.1.min.js"></script> <script> $(func 阅读全文
posted @ 2019-07-09 22:32 玄空2 阅读(436) 评论(0) 推荐(0) 编辑
摘要: select t1.id , t1.t_class , t1.teacherfrom t_class t1 left join (select * from t_class where id=1) t2 on t1.t_class = t2.t_class and t1.id = t2.idwher 阅读全文
posted @ 2019-07-03 21:11 玄空2 阅读(371) 评论(0) 推荐(0) 编辑
摘要: //内容过滤选择主要体现在它所包含的文本和子元素上<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="../js/jquery-3.2.1.min.js"></s 阅读全文
posted @ 2019-07-02 23:07 玄空2 阅读(140) 评论(0) 推荐(0) 编辑
摘要: package poker;import java.util.*;public class Poker002 { public static void main(String[] args) { String[] num = {"3", "4", "5", "6", "7", "8", "9", " 阅读全文
posted @ 2019-06-30 21:42 玄空2 阅读(721) 评论(0) 推荐(0) 编辑
摘要: package test;import java.util.ArrayList;import java.util.Collections;import java.util.List;public class CollectionsDemo001 { public static void main(S 阅读全文
posted @ 2019-06-30 17:02 玄空2 阅读(480) 评论(0) 推荐(0) 编辑
摘要: package test;return:必须放在方法中//return的主要作用有两点://1.返回方法指定类型值//2.用于方法结束的标志,return 后面的语句不会被执行public class Test001 { public static void main(String[] args) 阅读全文
posted @ 2019-06-30 16:47 玄空2 阅读(21290) 评论(1) 推荐(2) 编辑
摘要: package test;import java.util.HashMap;import java.util.Map;/** * 统计字符串中每个字符出现的次数 * 分析: * 1,定义一个字符串 * 2,将字符串转换为字符数组 * 3,定义一个双列数组,来存储字符及字符出现的次数 * 4,遍历字符 阅读全文
posted @ 2019-06-30 16:11 玄空2 阅读(257) 评论(0) 推荐(0) 编辑
摘要: package test;import java.util.ArrayList;import java.util.Collections;import java.util.Comparator;import java.util.List;class Person { private String n 阅读全文
posted @ 2019-06-29 19:06 玄空2 阅读(451) 评论(0) 推荐(0) 编辑