mirror of
https://github.com/sojamo/controlp5
synced 2024-11-22 05:57:57 +01:00
changing Vector to ArrayList
This commit is contained in:
parent
4382434172
commit
c3b35c2b71
@ -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 ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user