package io.sentry.util; /* loaded from: classes3.dex */ public final class LazyEvaluator { private final Evaluator evaluator; private T value = null; /* loaded from: classes3.dex */ public interface Evaluator { T evaluate(); } public LazyEvaluator(Evaluator evaluator) { this.evaluator = evaluator; } public synchronized T getValue() { if (this.value == null) { this.value = this.evaluator.evaluate(); } return this.value; } }