|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.visualize.spaceusage.SpaceUsage
public class SpaceUsage
A container object that stores the space usage for each site.
| Field Summary | |
|---|---|
private Map |
mStore
The map that stores the list of space objects indexed by site name. |
| Constructor Summary | |
|---|---|
SpaceUsage()
The default store. |
|
| Method Summary | |
|---|---|
void |
addRecord(String site,
Space record)
Add a Space record to the store. |
List |
getSizes(String site)
Returns the list of Space objects corresponding to a
particular site. |
Iterator |
siteIterator()
Returns an iterator to list of String site identifiers
for which data is available. |
void |
sort()
Sorts the records for each site. |
String |
toString()
Returns textual description of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private Map mStore
| Constructor Detail |
|---|
public SpaceUsage()
| Method Detail |
|---|
public Iterator siteIterator()
String site identifiers
for which data is available.
public List getSizes(String site)
Space objects corresponding to a
particular site.
site - the site for which sizes are required.
public void addRecord(String site,
Space record)
site - the site for which the record is logged.record - the SpaceUsage record.public void sort()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||