int Joseph[] = new int[2];//Joseph是一个int型的数组
for(i=0;i<number;i++)//每次循环都给Joseph重新赋值
    {
     Joseph[0] = i+1;
     while(true)
     {
     System.out.println("Please input the password of each member......");
        Scanner code = new Scanner(System.in);
        Joseph[1] = code.nextInt();
        if(Joseph[1]>0)break;
     }
     Cyclist.add(Joseph);//赋完值后将Joseph的值放入一个叫Cyclist的列表中
            }
是用add函数吗?还是用addAll?