public class LocationCollection extends Object
Constructor and Description |
---|
LocationCollection() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Location l) |
boolean |
contains(int fileId,
int line)
See if the collection contains a Location
which is identical to the given file id and
line number
|
boolean |
contains(Location l) |
Location |
first() |
boolean |
isEmpty() |
Iterator<Location> |
iterator() |
Location |
last() |
boolean |
remove(Location l) |
void |
removeFileIdRange(int startingId,
int endingId)
Removes Locations from the Collection which contain
SourceFiles with Ids in the range [startingId, endingId].
|
String |
toString()
for debugging
|
public boolean add(Location l)
public boolean contains(Location l)
public boolean remove(Location l)
public boolean isEmpty()
public Location first()
public Location last()
public void removeFileIdRange(int startingId, int endingId)
public boolean contains(int fileId, int line)
Copyright © 2016 The Apache Software Foundation. All rights reserved.