com.starla.smb
Class PCShareList
java.lang.Object
|
+--com.starla.smb.PCShareList
- public class PCShareList
- extends java.lang.Object
PC share list class.
The PCShareList class contains a list of PCShare objects.
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
PCShareList
public PCShareList()
- Class constructor
addPCShare
public final void addPCShare(PCShare shr)
- Add a PCShare to the list
- Parameters:
shr
- PCShare object to be added to the list
clearList
public final void clearList()
- Clear the list of PCShare objects
getPCShare
public final PCShare getPCShare(int idx)
throws java.lang.ArrayIndexOutOfBoundsException
- Return the required PCShare object from the list.
- Parameters:
idx
- Index of the PCShare to be returned- Returns:
- com.starla.smb.PCShare
- Throws:
- java.lang.ArrayIndexOutOfBoundsException - If the index is not valid
NumberOfPCShares
public final int NumberOfPCShares()
- Return the number of PCShare objects that are in this list.
- Returns:
- Number of PCShare objects in the list.