public void addSegmentSplit(){
  if (!pendingLocations.offer(new CachedLocation())) {
    Log.e(TAG,"Unable to add to pendingLocations.");
  }
}

public void addSegmentSplit ( ) { if ( ! pendingLocations . offer ( new CachedLocation ( ) ) ) { Log . e ( TAG , "Unable to add to pendingLocations." ) ; } }
adds a segment split .
