oracle.edge.common
Class DeviceGroupEventArray
java.lang.Object
oracle.edge.common.DeviceGroupEventArray
- public class DeviceGroupEventArray
- extends java.lang.Object
Represents an array of events collected from a device group. <p/>
Constructor Summary |
DeviceGroupEventArray(int AllocCapacity)
Constructor with specified initial capacity. |
Method Summary |
void |
AddDeviceEventArray(DeviceEventArray CurDeviceEventArray)
Append a device event array. |
void |
AssignDeviceEventArray(DeviceEventArray CurDeviceEventArray)
Cleanup all previous device event arrays if any and assign a new device event array. |
void |
clear()
Direct cleanup on everything. |
boolean |
isEmpty()
Check whether current device event array is empty or not. |
void |
output(java.io.PrintStream PS)
Output all stored events to passed PrintStream <p/> |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_deviceEventArrays
public DeviceEventArray[] m_deviceEventArrays
m_deviceNo
public int m_deviceNo
DeviceGroupEventArray
public DeviceGroupEventArray(int AllocCapacity)
- Constructor with specified initial capacity. <p/>
- Parameters:
AllocCapacity
- intitial capacity
AddDeviceEventArray
public void AddDeviceEventArray(DeviceEventArray CurDeviceEventArray)
- Append a device event array. <p/>
-
- Parameters:
CurDeviceEventArray
- device event array to append.
AssignDeviceEventArray
public void AssignDeviceEventArray(DeviceEventArray CurDeviceEventArray)
- Cleanup all previous device event arrays if any and assign a new device event array. <p/>
-
- Parameters:
CurDeviceEventArray
- device event array to assign.
clear
public void clear()
- Direct cleanup on everything.
isEmpty
public boolean isEmpty()
- Check whether current device event array is empty or not.
-
- Returns:
- boolean indicates whether current device event array is empty or not.
output
public void output(java.io.PrintStream PS)
- Output all stored events to passed
PrintStream
<p/>
-
- Parameters:
PS
-
Copyright © 2004 Oracle Corporation. All Rights Reserved.