public final Location estimatedLocation ( long et ) { lock . lock ( ) ; try { return new Location ( estimatedLatitude ( et ) , estimatedLongitude ( et ) ) ; } finally { lock . unlock ( ) ; } }
Using this method protects from parallel updates