|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpetri_jfern.PlaceMap
public class PlaceMap
The Class PlaceMap is a helper class to combine the VANTED places and the rakiura places.
Constructor Summary | |
---|---|
PlaceMap()
|
Method Summary | |
---|---|
void |
addPlace(Place place,
org.rakiura.cpn.Place p)
Adds the place. |
boolean |
containsKeyR(org.rakiura.cpn.Place p)
Contains key r. |
boolean |
containsKeyV(Place place)
Contains key v. |
java.util.List<org.rakiura.cpn.Place> |
getAllPlacesR()
Gets the all places r (rakiura). |
java.util.List<Place> |
getAllPlacesV()
Gets the all places v (vanted). |
org.rakiura.cpn.Place |
getPlaceR(Place place)
Gets the place r (rakiura). |
Place |
getPlaceV(org.rakiura.cpn.Place p)
Gets the place v. |
void |
removePlaceR(org.rakiura.cpn.Place p)
Removes the place r (vanted, rakiura). |
void |
removePlaceV(Place place)
Removes the place v (vanted, rakiura). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlaceMap()
Method Detail |
---|
public void addPlace(Place place, org.rakiura.cpn.Place p)
place
- the place (vanted)p
- the p (rakiura)public void removePlaceV(Place place)
place
- the place (vanted)public void removePlaceR(org.rakiura.cpn.Place p)
p
- the place (rakiura)public Place getPlaceV(org.rakiura.cpn.Place p)
p
- the place (rakiura)
public org.rakiura.cpn.Place getPlaceR(Place place)
place
- the place (vanted)
public java.util.List<Place> getAllPlacesV()
public java.util.List<org.rakiura.cpn.Place> getAllPlacesR()
public boolean containsKeyR(org.rakiura.cpn.Place p)
p
- the place (rakiura)
public boolean containsKeyV(Place place)
place
- the place (vanted)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |