public static void main(String[] args) {
		// TODO Auto-generated method stub
		Sequence sequence=new Sequence(10);
		for(int i=0;i<10;i++){
			sequence.add(new Integer(i));
		}
		Selector selector=sequence.selector();
		System.out.println("Selector:"+selector.getClass().getName()+","+Modifier.toString(selector.getClass().getModifiers()));
		while(!selector.end()){
			System.out.print(selector.current()+" ");
			selector.next();
		}
		System.out.println();
		//
		Selector reverSelector=sequence.reverSelector();
		System.out.println("Selector:"+reverSelector.getClass().getName()+","+Modifier.toString(reverSelector.getClass().getModifiers()));
		while(!reverSelector.end()){
			System.out.print(reverSelector.current()+" ");
			reverSelector.next();
		}
		System.out.println();
		//
		Field[] fields=SequenceSelector.class.getDeclaredFields();
		for(Field f:fields){
			System.out.println(f.getName()+","+f.toGenericString()+","+Modifier.toString(f.getModifiers()));
		}
	}