- groovy.util.ObservableSet
-
- All Implemented Interfaces and Traits:
- Set
public class ObservableSet
extends Object
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
-
Methods Summary
-
Inherited Methods Summary
-
-
Field Detail
-
public static final String CONTENT_PROPERTY
-
public static final String SIZE_PROPERTY
-
Constructor Detail
-
public ObservableSet(Set<E> delegate)
-
public ObservableSet(Set<E> delegate, Closure test)
-
Method Detail
-
public boolean contains(Object o)
-
protected void fireElementAddedEvent(Object element)
-
protected void fireElementClearedEvent(List values)
-
protected void fireElementRemovedEvent(Object element)
-
protected void fireMultiElementAddedEvent(List values)
-
protected void fireMultiElementRemovedEvent(List values)
-
protected void fireSizeChangedEvent(int oldValue, int newValue)
-
public Set<E> getContent()
-
protected Set<E> getDelegateSet()
-
public boolean hasListeners(String propertyName)
-
public boolean remove(Object o)
-
public T[] toArray(T[] ts)
Copyright © 2003-2015 The Apache Software Foundation. All rights reserved.