<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[gt.liu的博客]]></title><description><![CDATA[当你还不能写出自己满意的程序时，你就不要去睡觉。]]></description><link>https://blog.csdn.net/euller</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; euller]]></copyright><item><title><![CDATA[java中Map和Collections的总结]]></title><link>https://blog.csdn.net/euller/article/details/70666167</link><guid>https://blog.csdn.net/euller/article/details/70666167</guid><author>euller</author><pubDate>Mon, 24 Apr 2017 22:12:30 +0800</pubDate><description><![CDATA[1:Map(掌握)
    (1)将键映射到值的对象。一个映射不能包含重复的键；每个键最多只能映射到一个值。 
    (2)Map和Collection的区别?
        A:Map 存储的是键值对形式的元素，键唯一，值可以重复。夫妻对
        B:Collection 存储的是单独出现的元素，子接口Set元素唯一，子接口List元素可重复。光棍
    (3)Map接口功能概述(自]]></description><category></category></item><item><title><![CDATA[java中用HashMap,ArrayList,TreeMap实现一个模拟斗地主发牌的用例]]></title><link>https://blog.csdn.net/euller/article/details/70666089</link><guid>https://blog.csdn.net/euller/article/details/70666089</guid><author>euller</author><pubDate>Mon, 24 Apr 2017 22:07:57 +0800</pubDate><description><![CDATA[package poker;import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.TreeSet;/**
 * 1.创建一个HashMap集合，存储<编号,牌(包括花色和点数)>
 * 2.创建一个ArrayList集合，存储编号，用于Collectio]]></description><category></category></item><item><title><![CDATA[java中一个ArrayList的用例]]></title><link>https://blog.csdn.net/euller/article/details/70664738</link><guid>https://blog.csdn.net/euller/article/details/70664738</guid><author>euller</author><pubDate>Mon, 24 Apr 2017 21:11:14 +0800</pubDate><description><![CDATA[package poker;import java.util.ArrayList;
import java.util.Collections;/**
 * 模拟斗地主洗牌和发牌
 * 1. 创建一个牌盒
 * 2. 装牌
 * 3. 洗牌
 * 4. 发牌
 * 5. 看牌
 * 
 * @author lgt
 *
 */
public class pokerDemo {
    public s]]></description><category></category></item><item><title><![CDATA[java中Collections对自定义对象进行sort()]]></title><link>https://blog.csdn.net/euller/article/details/70492212</link><guid>https://blog.csdn.net/euller/article/details/70492212</guid><author>euller</author><pubDate>Sun, 23 Apr 2017 10:54:55 +0800</pubDate><description><![CDATA[基础学生类package itcast02;public class Student implements Comparable<Student> {
    // 学生姓名
    private String name;
    // 学生年龄
    private int age;    // 无参构造
    public Student() {
        super();]]></description><category></category></item><item><title><![CDATA[java中Collections是由在 collection 上进行操作或返回 collection 的静态方法组成。]]></title><link>https://blog.csdn.net/euller/article/details/70312543</link><guid>https://blog.csdn.net/euller/article/details/70312543</guid><author>euller</author><pubDate>Fri, 21 Apr 2017 10:58:09 +0800</pubDate><description><![CDATA[package itcast01;import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
 * Collections是针对集合进行操作的工具类，都是静态方法。
 * 
 * Collection和Collections的区别？
 * Collection是单列集合的顶层接口，有子接口L]]></description><category></category></item><item><title><![CDATA[java中Hashtable的使用案例及与HashMap的区别]]></title><link>https://blog.csdn.net/euller/article/details/70280045</link><guid>https://blog.csdn.net/euller/article/details/70280045</guid><author>euller</author><pubDate>Thu, 20 Apr 2017 17:54:34 +0800</pubDate><description><![CDATA[package itcast07;import java.util.HashMap;
import java.util.Hashtable;/**
 * 1. Hashtable 和HashMap的区别
 *      Hashtable: 线程安全，效率低。不允许使用null键和null值。
 *      HashMap: 线程不安全，效率高。允许使用null键和null值。
 * 
 * 2.]]></description><category></category></item><item><title><![CDATA[java中HashMap嵌套HashMap嵌套ArrayList案例]]></title><link>https://blog.csdn.net/euller/article/details/70276954</link><guid>https://blog.csdn.net/euller/article/details/70276954</guid><author>euller</author><pubDate>Thu, 20 Apr 2017 17:39:20 +0800</pubDate><description><![CDATA[基础学生类package itcast06;public class Student {
    // 学生姓名
    private String name;
    // 学生年龄
    private int age;    // 无参构造
    public Student() {
        super();
    }    // 带参构造
    public Student]]></description><category></category></item><item><title><![CDATA[java中HashMap的嵌套用例]]></title><link>https://blog.csdn.net/euller/article/details/70233062</link><guid>https://blog.csdn.net/euller/article/details/70233062</guid><author>euller</author><pubDate>Tue, 18 Apr 2017 21:40:58 +0800</pubDate><description><![CDATA[package itcast05;import java.util.HashMap;
import java.util.Set;/**
 * HashMap嵌套HashMap
 * 
 * @author lgt
 *
 */
public class HashMapDemo {
    public static void main(String[] args) {
        // 创建集合]]></description><category></category></item><item><title><![CDATA[java中TreeMap的用法-统计字符串中每个字符出现的次数]]></title><link>https://blog.csdn.net/euller/article/details/70232642</link><guid>https://blog.csdn.net/euller/article/details/70232642</guid><author>euller</author><pubDate>Tue, 18 Apr 2017 20:59:21 +0800</pubDate><description><![CDATA[A:定义一个字符串（可以改为键盘录入）
 * 		B:定义一个TreeMap集合
 * 			键：Character
 * 			值：Integer
 * 		C:把字符串转换为字符数组
 * 		D:遍历字符数组，得到每一个字符
 * 		E:那刚才得到的字符作为键到集合中去找值，看返回值
 * 			是null: 说明该键不存在，就把该字符作为键，1作为值存储
 * 			不是null:说明该键存在，就把值加1，]]></description><category></category></item><item><title><![CDATA[java中TreeMap用例，并加入比较器排序]]></title><link>https://blog.csdn.net/euller/article/details/70216904</link><guid>https://blog.csdn.net/euller/article/details/70216904</guid><author>euller</author><pubDate>Mon, 17 Apr 2017 22:22:09 +0800</pubDate><description><![CDATA[package itcast04;import java.util.Comparator;
import java.util.Set;
import java.util.TreeMap;import itcast02.Student;/**
 * TreeMap<Student, String>
 * 键：Student
 * 值：String
 * 并加入比较器排序
 * @author lgt]]></description><category></category></item><item><title><![CDATA[java中hashMap使用一个对象作为key时，对key进行唯一性表达重写equals()方法]]></title><link>https://blog.csdn.net/euller/article/details/70214210</link><guid>https://blog.csdn.net/euller/article/details/70214210</guid><author>euller</author><pubDate>Mon, 17 Apr 2017 17:53:48 +0800</pubDate><description><![CDATA[HashMappackage itcast02;public class Student {
    //学生姓名
    private String name;
    //学生年龄
    private int age;    //无参构造
    public Student(){
        super();
    }    //带参构造
    public Student(St]]></description><category></category></item><item><title><![CDATA[TreeSet集合的一个比较器排序去重案例]]></title><link>https://blog.csdn.net/euller/article/details/70185754</link><guid>https://blog.csdn.net/euller/article/details/70185754</guid><author>euller</author><pubDate>Sat, 15 Apr 2017 17:35:55 +0800</pubDate><description><![CDATA[Student基础信息package TreeSetDemo;public class Student implements Comparable<Student>{
    //学生姓名
    private String name;
    //学生年龄
    private int age;    //无参构造
    public Student() {
        // TODO]]></description><category></category></item><item><title><![CDATA[Set集合概述]]></title><link>https://blog.csdn.net/euller/article/details/70185296</link><guid>https://blog.csdn.net/euller/article/details/70185296</guid><author>euller</author><pubDate>Sat, 15 Apr 2017 16:39:04 +0800</pubDate><description><![CDATA[1:Set集合(理解) 
    (1)Set集合的特点 
        无序,唯一 
    (2)HashSet集合(掌握) 
        A:底层数据结构是哈希表(是一个元素为链表的数组) 
        B:哈希表底层依赖两个方法：hashCode()和equals() 
          执行顺序： 
            首先比较哈希值是否相同]]></description><category></category></item><item><title><![CDATA[使用TreeSet集合存储学生姓名成绩，并按照总成绩从高到低排序。]]></title><link>https://blog.csdn.net/euller/article/details/70182959</link><guid>https://blog.csdn.net/euller/article/details/70182959</guid><author>euller</author><pubDate>Sat, 15 Apr 2017 10:26:25 +0800</pubDate><description><![CDATA[学生基本信息类
package StudentScoreDemo;public class Student {
    //学生姓名
    private String name;    //语文成绩
    private int chinese;    //数学成绩
    private int math;    //英语成绩
    private int english;    //无参]]></description><category></category></item><item><title><![CDATA[使用HashSet存储10个1-20之间的随机数，并且要求随机数不重复。]]></title><link>https://blog.csdn.net/euller/article/details/70182939</link><guid>https://blog.csdn.net/euller/article/details/70182939</guid><author>euller</author><pubDate>Sat, 15 Apr 2017 10:23:43 +0800</pubDate><description><![CDATA[package setcollection;import java.util.HashSet;
import java.util.Random;/**
 * 获取10个1至20的随机数，并且要求随机数不重复
 * @author lgt
 *
 */
public class SetRandomDemo {
    public static void main(String[] args) {]]></description><category></category></item><item><title><![CDATA[java输入多个数据（不确定），排序，并求最大值]]></title><link>https://blog.csdn.net/euller/article/details/54234266</link><guid>https://blog.csdn.net/euller/article/details/54234266</guid><author>euller</author><pubDate>Sun, 08 Jan 2017 15:51:43 +0800</pubDate><description><![CDATA[package exercise03_jdknews;import java.util.Arrays;
import java.util.Scanner;
import java.util.Vector;/**
 * 键盘录入多个数据，以0结束，要求在控制台输出这多个数据中的最大值
 * @author lgt
 *
 */
public class MaxNuber {
    public st]]></description><category></category></item><item><title><![CDATA[java 产生10个不同的随机数]]></title><link>https://blog.csdn.net/euller/article/details/54234144</link><guid>https://blog.csdn.net/euller/article/details/54234144</guid><author>euller</author><pubDate>Sun, 08 Jan 2017 15:33:33 +0800</pubDate><description><![CDATA[package exercise03_jdknews;import java.util.Random;
import java.util.Vector;/**
 * 获取10个1-20之间的随机数，要求不能重复
 * 
 * @author lgt
 *
 */
public class RandomNumberNoRepeat {
    public static void main(Strin]]></description><category></category></item><item><title><![CDATA[java的集合嵌套及三种遍历]]></title><link>https://blog.csdn.net/euller/article/details/54232748</link><guid>https://blog.csdn.net/euller/article/details/54232748</guid><author>euller</author><pubDate>Sun, 08 Jan 2017 11:22:33 +0800</pubDate><description><![CDATA[package exercise03_jdknews;import java.util.ArrayList;
import java.util.Iterator;/**
 * 集合的嵌套 每个班级的学生 ArrayList<Student> 多个班级 ArrayList<ArrayList<Student>>
 * 
 * @author lgt
 *
 */
public class Collec]]></description><category></category></item><item><title><![CDATA[java可变参数]]></title><link>https://blog.csdn.net/euller/article/details/54232497</link><guid>https://blog.csdn.net/euller/article/details/54232497</guid><author>euller</author><pubDate>Sun, 08 Jan 2017 10:46:11 +0800</pubDate><description><![CDATA[package exercise03_jdknews;import java.util.ArrayList;
import java.util.Scanner;/**
 * 可变参数
 * 格式
 *      修饰符 返回值类型 方法名(数据类型... 变量名){}
 * @author lgt
 *
 */
public class KebianCanShu {
    public stati]]></description><category></category></item><item><title><![CDATA[java用LinkedList模拟栈和队列]]></title><link>https://blog.csdn.net/euller/article/details/53870600</link><guid>https://blog.csdn.net/euller/article/details/53870600</guid><author>euller</author><pubDate>Sun, 25 Dec 2016 16:40:48 +0800</pubDate><description><![CDATA[测试package lgtStatck;public class TestDemo {
    public static void main(String[] args) {
        method2();
    }    public static void method2(){
        //测试队列，先进先出
        //创建对象
        MyQueue que]]></description><category></category></item></channel></rss>