org.argouml.kernel
Class MemberList
java.lang.Object
org.argouml.kernel.MemberList
- All Implemented Interfaces:
- Collection, List
- public class MemberList
- extends Object
- implements List
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
private static final Logger LOG
- logger
model
private AbstractProjectMember model
diagramMembers
private ArrayList diagramMembers
todoList
private AbstractProjectMember todoList
MemberList
public MemberList()
- The constructor.
add
public boolean add(Object member)
- Specified by:
add
in interface List
- See Also:
Collection.add(java.lang.Object)
remove
public boolean remove(Object member)
- Specified by:
remove
in interface List
- See Also:
Collection.remove(java.lang.Object)
iterator
public Iterator iterator()
- Specified by:
iterator
in interface List
- See Also:
Collection.iterator()
listIterator
public ListIterator listIterator()
- Specified by:
listIterator
in interface List
- See Also:
List.listIterator()
listIterator
public ListIterator listIterator(int arg0)
- Specified by:
listIterator
in interface List
- See Also:
List.listIterator(int)
removeDiagram
private boolean removeDiagram(org.tigris.gef.base.Diagram d)
size
public int size()
- Specified by:
size
in interface List
- See Also:
Collection.size()
contains
public boolean contains(Object member)
- Specified by:
contains
in interface List
- See Also:
Collection.contains(java.lang.Object)
clear
public void clear()
- Specified by:
clear
in interface List
- See Also:
Collection.clear()
getMember
public ProjectMember getMember(Class type)
- Parameters:
type
- the type of the member
- Returns:
- the member of the project
getMembers
public ArrayList getMembers(Class type)
- Parameters:
type
- the type of the member
- Returns:
- the member of the project
get
public Object get(int i)
- Specified by:
get
in interface List
- See Also:
List.get(int)
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface List
- See Also:
List.isEmpty()
toArray
public Object[] toArray()
- Specified by:
toArray
in interface List
- See Also:
List.toArray()
setTodoList
private void setTodoList(AbstractProjectMember member)
toArray
public Object[] toArray(Object[] arg0)
- Specified by:
toArray
in interface List
- See Also:
List.toArray(java.lang.Object[])
containsAll
public boolean containsAll(Collection arg0)
- Specified by:
containsAll
in interface List
- See Also:
List.containsAll(java.util.Collection)
addAll
public boolean addAll(Collection arg0)
- Specified by:
addAll
in interface List
- See Also:
List.addAll(java.util.Collection)
addAll
public boolean addAll(int arg0,
Collection arg1)
- Specified by:
addAll
in interface List
- See Also:
List.addAll(int, java.util.Collection)
removeAll
public boolean removeAll(Collection arg0)
- Specified by:
removeAll
in interface List
- See Also:
List.removeAll(java.util.Collection)
retainAll
public boolean retainAll(Collection arg0)
- Specified by:
retainAll
in interface List
- See Also:
List.retainAll(java.util.Collection)
set
public Object set(int arg0,
Object arg1)
- Specified by:
set
in interface List
- See Also:
List.set(int, java.lang.Object)
add
public void add(int arg0,
Object arg1)
- Specified by:
add
in interface List
- See Also:
List.add(int, java.lang.Object)
remove
public Object remove(int arg0)
- Specified by:
remove
in interface List
- See Also:
List.remove(int)
indexOf
public int indexOf(Object arg0)
- Specified by:
indexOf
in interface List
- See Also:
List.indexOf(java.lang.Object)
lastIndexOf
public int lastIndexOf(Object arg0)
- Specified by:
lastIndexOf
in interface List
- See Also:
List.lastIndexOf(java.lang.Object)
subList
public List subList(int arg0,
int arg1)
- Specified by:
subList
in interface List
- See Also:
List.subList(int, int)