changing Vector to ArrayList

This commit is contained in:
andreas schlegel 2018-09-22 23:06:16 +08:00
parent 4382434172
commit c3b35c2b71
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ package controlP5;
*/ */
import java.util.List; import java.util.List;
import java.util.Vector; import java.util.ArrayList;
/** /**
* Stores objects of type ControllerInterface and CDrawable, mainly for internal use. * Stores objects of type ControllerInterface and CDrawable, mainly for internal use.
@ -38,8 +38,8 @@ public class ControllerList {
protected List< CDrawable > drawables; protected List< CDrawable > drawables;
public ControllerList( ) { public ControllerList( ) {
controllers = new Vector< ControllerInterface< ? >>( ); controllers = new ArrayList< ControllerInterface< ? >>( );
drawables = new Vector< CDrawable >( ); drawables = new ArrayList< CDrawable >( );
} }
public void add( ControllerInterface< ? > theController ) { public void add( ControllerInterface< ? > theController ) {