com.sap.netweaver.bc.rf.util.event
Interface IEventList
- All Known Implementing Classes:
- EventList
- public interface IEventList
Interface describing mutable list of IEvent instances.
|
Method Summary |
boolean |
add(IEvent event)
Add event to event list. |
void |
add(int index,
IEvent event)
Add event into list at specified index, moving all following events one
element further. |
boolean |
addAll(IEventList list)
Add all events from list to list. |
void |
addFirst(IEvent event)
Add event to the beginning of the list. |
void |
addLast(IEvent event)
Add event to the end of the list. |
void |
clear()
Remove all events from list. |
IEvent |
get(int index)
Get event by index. |
boolean |
isEmpty()
Check if list is empty. |
IEventListIterator |
listIterator()
Get an iterator of the elements in this list (in proper sequence). |
IEventListIterator |
listIterator(int index)
Returns a list iterator of the elements in this list (in proper sequence),
starting at the specified position in the list. |
IEvent |
remove(int index)
Remove event at specified index, moving all following events one element
closer. |
IEvent |
set(int index,
IEvent event)
Set event by index. |
int |
size()
Get number of events in list. |
size
public int size()
- Get number of events in list.
- Returns:
- number of events in list
isEmpty
public boolean isEmpty()
- Check if list is empty.
- Returns:
- true if list is empty
get
public IEvent get(int index)
- Get event by index.
- Parameters:
index - index
- Returns:
- event
set
public IEvent set(int index,
IEvent event)
- Set event by index.
- Parameters:
index - indexevent - event
- Returns:
- event priorily stored at the given index
add
public boolean add(IEvent event)
- Add event to event list.
- Parameters:
event - event
- Returns:
- true if event was added successfully
addFirst
public void addFirst(IEvent event)
- Add event to the beginning of the list.
- Parameters:
event - event
addLast
public void addLast(IEvent event)
- Add event to the end of the list.
- Parameters:
event - event
add
public void add(int index,
IEvent event)
- Add event into list at specified index, moving all following events one
element further.
- Parameters:
index - indexevent - event
addAll
public boolean addAll(IEventList list)
- Add all events from list to list.
- Parameters:
list - list of events
- Returns:
- true if all events were added successfully
remove
public IEvent remove(int index)
- Remove event at specified index, moving all following events one element
closer.
- Parameters:
index - index
- Returns:
- event priorily stored at the given index
clear
public void clear()
- Remove all events from list.
listIterator
public IEventListIterator listIterator()
- Get an iterator of the elements in this list (in proper sequence).
- Returns:
- list iterator
listIterator
public IEventListIterator listIterator(int index)
- Returns a list iterator of the elements in this list (in proper sequence),
starting at the specified position in the list. The specified index
indicates the first element that would be returned by an initial call to
the next method. An initial call to the previous method would return the
element with the specified index minus one.
- Parameters:
index - index
- Returns:
- list iterator
Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.