public boolean hasNext(){ return index < getDockActionCount(); }
public boolean hasNext(){ return index < getDockActionCount(); }
public DockAction getDockAction( int index ){ if( index < 0 || index >= getDockActionCount() ){ throw new IllegalArgumentException( "index out of bounds" ); } return action; }
public DockAction getDockAction( int index ){ if( index < 0 || index >= getDockActionCount() ){ throw new IllegalArgumentException( "index out of bounds" ); } return action; }