00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030  
00031 package org.objectweb.proactive.core.group;
00032 
00033 import java.util.List;
00034 import java.util.ListIterator;
00035 import java.util.Set;
00036 
00037 
00047 public interface Group<E> extends List<E> {
00048 
00052     public Class getType() throws java.lang.ClassNotFoundException;
00053 
00057     public String getTypeName();
00058 
00062     public Object getGroupByType();
00063 
00067     public E get(int index);
00068 
00072     public void addMerge(Object ogroup);
00073 
00078     public E remove(int index);
00079 
00083     public int indexOf(Object obj);
00084 
00088     public ListIterator<E> listIterator();
00089 
00093     public void waitAll();
00094 
00098     public void waitOne();
00099 
00104     public void waitTheNth(int n);
00105 
00110     public void waitN(int n);
00111 
00116     public Object waitAndGetOne();
00117 
00122     public Object waitAndGetOneThenRemoveIt();
00123 
00129     public Object waitAndGetTheNth(int n);
00130 
00135     public int waitOneAndGetIndex();
00136 
00141     public boolean allAwaited();
00142 
00147     public boolean allArrived();
00148 
00154     public ExceptionListException getExceptionList();
00155 
00162     public void purgeExceptionAndNull();
00163 
00168     public void setRatioMemberToThread(int i);
00169 
00175     public Group union(Group g);
00176 
00182     public Group intersection(Group g);
00183 
00189     public Group difference(Group g);
00190 
00196     public Group exclude(Group g);
00197 
00204     public Group range(int begin, int end);
00205 
00206     
00207 
00218     public boolean containsKey(String key);
00219 
00229     public boolean containsValue(Object value);
00230 
00246     public Object getNamedElement(String key);
00247 
00257     public Object removeNamedElement(String key);
00258 
00272     public void addNamedElement(String key, Object value);
00273 
00284     public Set keySet();
00285 }