public class ListObservable<type> extends java.util.Observable
Constructor and Description |
---|
ListObservable()
Constructor of the class.
|
Modifier and Type | Method and Description |
---|---|
void |
add(type object) |
void |
addAll(java.util.Collection list) |
java.util.ArrayList |
getArray()
Getter of copy of the array list of the members
|
void |
resetArray() |
void |
setArray(java.util.Collection<type> vec)
Setter of the memberlist, it receives a vector and puts all members
in the array.
|
java.lang.String |
toString() |
public ListObservable()
public void setArray(java.util.Collection<type> vec)
members
- public void addAll(java.util.Collection list)
public java.util.ArrayList getArray()
public void resetArray()
public java.lang.String toString()
toString
in class java.lang.Object