| 
HOME | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ireasoning.protocol.snmp.SnmpVarBindList
This class implements a list which contains SnmpVarBind instances.
| Constructor Summary | |
SnmpVarBindList()
Default constructor  | 
|
SnmpVarBindList(int size)
Constructs an SnmpVarBindList with the specified size  | 
|
| Method Summary | |
 void | 
add(SnmpVarBind varbind)
Adds a new SnmpVarBind object  | 
 void | 
add(SnmpVarBind[] varbinds)
Adds all elements in passed SnmpVarBind array  | 
 void | 
add(SnmpVarBindList varbindList)
Adds all elements in passed SnmpVarBind array  | 
 void | 
clear()
Resets this object.  | 
 void | 
clear(int offset)
Removes all elemets starting from offset  | 
 void | 
ensureCapacity(int capacity)
Ensures that the list has the specified capacity  | 
 boolean | 
equals(Object obj)
 | 
 SnmpVarBind | 
get(int index)
Returns the object at specified index  | 
 int | 
hashCode()
 | 
 boolean | 
isEmpty()
Tests if this list is empty or not  | 
 SnmpVarBind | 
remove(int index)
Removes the element at the specified index  | 
 void | 
set(int index,
    SnmpVarBind newVal)
Sets a new object at the specified index  | 
 int | 
size()
Returns the number of elements contained in this list  | 
 SnmpVarBind[] | 
toArray()
Converts to SnmpVarBind array  | 
| Methods inherited from class java.lang.Object | 
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public SnmpVarBindList()
public SnmpVarBindList(int size)
size - the initial size. 0 is not allowed, it will be converted to default size.| Method Detail | 
public void add(SnmpVarBind varbind)
public SnmpVarBind get(int index)
IndexOutOfBoundsException - if index is out of range (index
 		  < 0 || index >= size()).
public void set(int index,
                SnmpVarBind newVal)
IndexOutOfBoundsException - if index is out of range
 (index < 0 || index >= size()).public void add(SnmpVarBind[] varbinds)
public void ensureCapacity(int capacity)
public void add(SnmpVarBindList varbindList)
public void clear()
public void clear(int offset)
offset - the starting index of elements to be removed, inclusive.
IndexOutOfBoundsException - if offset is out of range
 (offset < 0 || offset >= size()).public SnmpVarBind remove(int index)
IndexOutOfBoundsException - if index is out of range (index
 		  < 0 || index >= size()).public int size()
public boolean isEmpty()
public SnmpVarBind[] toArray()
public boolean equals(Object obj)
public int hashCode()
  | 
HOME | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||