|
Eclipse Platform Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IObservableSet
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(java.lang.Object o)
|
boolean |
addAll(java.util.Collection c)
|
void |
addSetChangeListener(ISetChangeListener listener)
|
boolean |
contains(java.lang.Object o)
|
boolean |
containsAll(java.util.Collection c)
|
boolean |
equals(java.lang.Object o)
|
java.lang.Object |
getElementType()
|
int |
hashCode()
|
boolean |
isEmpty()
|
java.util.Iterator |
iterator()
|
boolean |
remove(java.lang.Object o)
|
boolean |
removeAll(java.util.Collection c)
|
void |
removeSetChangeListener(ISetChangeListener listener)
|
boolean |
retainAll(java.util.Collection c)
|
int |
size()
|
java.lang.Object[] |
toArray()
|
java.lang.Object[] |
toArray(java.lang.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 |
---|
void addSetChangeListener(ISetChangeListener listener)
listener
- void removeSetChangeListener(ISetChangeListener listener)
listener
- java.lang.Object getElementType()
getElementType
in interface IObservableCollection
null
if untypedint size()
size
in interface java.util.Collection
size
in interface java.util.Set
boolean isEmpty()
isEmpty
in interface java.util.Collection
isEmpty
in interface java.util.Set
boolean contains(java.lang.Object o)
contains
in interface java.util.Collection
contains
in interface java.util.Set
java.util.Iterator iterator()
iterator
in interface java.util.Collection
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Set
java.lang.Object[] toArray()
toArray
in interface java.util.Collection
toArray
in interface java.util.Set
java.lang.Object[] toArray(java.lang.Object[] a)
toArray
in interface java.util.Collection
toArray
in interface java.util.Set
boolean add(java.lang.Object o)
add
in interface java.util.Collection
add
in interface java.util.Set
boolean remove(java.lang.Object o)
remove
in interface java.util.Collection
remove
in interface java.util.Set
boolean containsAll(java.util.Collection c)
containsAll
in interface java.util.Collection
containsAll
in interface java.util.Set
boolean addAll(java.util.Collection c)
addAll
in interface java.util.Collection
addAll
in interface java.util.Set
boolean retainAll(java.util.Collection c)
retainAll
in interface java.util.Collection
retainAll
in interface java.util.Set
boolean removeAll(java.util.Collection c)
removeAll
in interface java.util.Collection
removeAll
in interface java.util.Set
boolean equals(java.lang.Object o)
equals
in interface java.util.Collection
equals
in interface java.util.Set
equals
in class java.lang.Object
int hashCode()
hashCode
in interface java.util.Collection
hashCode
in interface java.util.Set
hashCode
in class java.lang.Object
|
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.