|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A set whose changes can be tracked by set change listeners.
This interface is not intended to be implemented by clients. Clients should instead subclass one of the classes that implement this interface. Note that direct implementers of this interface outside of the framework will be broken in future releases when methods are added to this interface.
Method Summary | |
---|---|
boolean |
add(Object o)
|
boolean |
addAll(Collection c)
|
void |
addSetChangeListener(ISetChangeListener listener)
|
boolean |
contains(Object o)
|
boolean |
containsAll(Collection c)
|
boolean |
equals(Object o)
|
Object |
getElementType()
|
int |
hashCode()
|
boolean |
isEmpty()
|
Iterator |
iterator()
|
boolean |
remove(Object o)
|
boolean |
removeAll(Collection c)
|
void |
removeSetChangeListener(ISetChangeListener listener)
|
boolean |
retainAll(Collection c)
|
int |
size()
|
Object[] |
toArray()
|
Object[] |
toArray(Object[] a)
|
Methods inherited from interface java.util.Set |
---|
clear |
Methods inherited from interface org.eclipse.core.databinding.observable.IObservable |
---|
addChangeListener, addStaleListener, dispose, getRealm, isStale, removeChangeListener, removeStaleListener |
Method Detail |
public void addSetChangeListener(ISetChangeListener listener)
listener
- public void removeSetChangeListener(ISetChangeListener listener)
listener
- public Object getElementType()
getElementType
in interface IObservableCollection
null
if untypedpublic int size()
size
in interface Set
public boolean isEmpty()
isEmpty
in interface Set
public boolean contains(Object o)
contains
in interface Set
public Iterator iterator()
iterator
in interface Set
public Object[] toArray()
toArray
in interface Set
public Object[] toArray(Object[] a)
toArray
in interface Set
public boolean add(Object o)
add
in interface Set
public boolean remove(Object o)
remove
in interface Set
public boolean containsAll(Collection c)
containsAll
in interface Set
public boolean addAll(Collection c)
addAll
in interface Set
public boolean retainAll(Collection c)
retainAll
in interface Set
public boolean removeAll(Collection c)
removeAll
in interface Set
public boolean equals(Object o)
equals
in interface Set
public int hashCode()
hashCode
in interface Set
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.