edu.nrao.sss.model.resource
Class BasebandCollectionEvent
java.lang.Object
java.util.EventObject
edu.nrao.sss.model.resource.BasebandCollectionEvent
- All Implemented Interfaces:
- Serializable
public class BasebandCollectionEvent
- extends EventObject
An event that indicates a collection of CorrelatorBaseband
has
been changed. Note that this event says nothing about what may or
may not have changed about the basebands within the collection. It
is concerned with the collection itself and whether any basebands
have left or joined the collection of interest.
Version Info:
$Revision: 1107 $ |
$Date: 2008-02-15 16:50:27 -0700 (Fri, 15 Feb 2008) $ |
$Author: dharland $ (last person to modify) |
- Since:
- 2008-02-14
- Author:
- David M. Harland
- See Also:
- Serialized Form
BasebandCollectionEvent
public BasebandCollectionEvent(Object source,
Collection<CorrelatorBaseband> basebandsAdded,
Collection<CorrelatorBaseband> basebandsRemoved)
- Creates a new event.
getBasebandsAdded
public Collection<CorrelatorBaseband> getBasebandsAdded()
- Returns the basebands that were added as a result of this event.
The returned collection is a copy of the one held internally
by this event. It may be empty if no basebands were added,
but it will never be null.
- Returns:
- the basebands that were added as a result of this event.
getBasebandsRemoved
public Collection<CorrelatorBaseband> getBasebandsRemoved()
- Returns the basebands that were removed as a result of this event.
The returned collection is a copy of the one held internally
by this event. It may be empty if no basebands were removed,
but it will never be null.
- Returns:
- the basebands that were moved as a result of this event.
Copyright © 2009. All Rights Reserved.