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.


Constructor Summary
PCShareList()
          Class constructor
 
Method Summary
 void addPCShare(PCShare shr)
          Add a PCShare to the list
 void clearList()
          Clear the list of PCShare objects
 PCShare getPCShare(int idx)
          Return the required PCShare object from the list.
 int NumberOfPCShares()
          Return the number of PCShare objects that are in this list.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PCShareList

public PCShareList()
Class constructor
Method Detail

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.