クラス Sample

java.lang.Object
  上位を拡張 Sample

public class Sample
extends Object

HashSetの動作サンプル JDK5版


フィールドの概要
(package private) static HashSet<Student> set
          Student専用の集合を定義
 
コンストラクタの概要
Sample()
           
 
メソッドの概要
static void main(String[] args)
           
(package private) static void print()
          リストの内容を表示,とりあえず名前と数学の点数のみ.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

set

static HashSet<Student> set
Student専用の集合を定義

コンストラクタの詳細

Sample

public Sample()
メソッドの詳細

print

static void print()
リストの内容を表示,とりあえず名前と数学の点数のみ.


main

public static void main(String[] args)