
public class LocationTreeWrapper extends Object
Location tree represented by the Location
instances. It relies on the data they have, and creates no more information.| Constructor and Description |
|---|
LocationTreeWrapper(Location l)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(LocationTreeWrapper obj) |
Set<LocationTreeWrapper> |
getChildren()
|
Location |
getLocation() |
LocationTreeWrapper |
getParent()
|
LocationTreeWrapper |
getRoot()
|
boolean |
isRoot()
Check if there are no parents.
|
protected Location loc
public LocationTreeWrapper(Location l)
l - the location to be extended.public Location getLocation()
public Set<LocationTreeWrapper> getChildren()
LocationTreeWrapper form.public LocationTreeWrapper getParent()
public LocationTreeWrapper getRoot()
public boolean isRoot()
Location tree.public boolean equals(LocationTreeWrapper obj)
Copyright © 2018 universAAL Consortium. All rights reserved.