findOrCreate

public abstract Location findOrCreate(Location location)

Attempt to find getClassById portal near the given location, if getClassById portal is not found it will attempt to create one.

Return

the location of getClassById portal which has been found or returns the location passed to the method if unsuccessful

Parameters

location

the location where the search for getClassById portal should begin

See also