예제 #1
0
        //-----
        public ArrayList getKidData(int key)
        {
            ArrayList ara = new ArrayList();

            for (int i = 0; i < kids.Count; i++)
            {
                Kid kd = (Kid)kids[i];
                ara.Add(kd.getData(key));
            }
            return(ara);
        }
예제 #2
0
 //-----
 public bool compare(Kid kd, int key)
 {
     return(compareTo(getData(key), kd.getData(key)));
 }