集合综合练习<二>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.JiHeTotal;
 
import java.util.Map;
 
public class Student {
 
    int id;
    String name;
    Map<String, Double> scode;
    int totalSum;
    public int getId() {
        return id;
    }
 
    public void setId(int id) {
        this.id = id;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public Map<String, Double> getScode() {
        return scode;
    }
 
    public void setScode(Map<String, Double> scode) {
        this.scode = scode;
    }
 
    public Student(Integer id, String name, Map<String, Double> scode) {
        super();
        this.id = id;
        this.name = name;
        this.scode = scode;
    }
 
}

  

posted @ 2017-02-26 01:18  浪涛飞  阅读(136)  评论(0)    收藏  举报
点击右上角即可分享
微信分享提示