25 lines
505 B
Java
25 lines
505 B
Java
|
package com.facetec.sdk;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
final class i<T> {
|
||
|
private T d = null;
|
||
|
|
||
|
@FunctionalInterface
|
||
|
/* loaded from: classes.dex */
|
||
|
interface a {
|
||
|
Object create();
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public final T a(a aVar) {
|
||
|
T t;
|
||
|
synchronized (this) {
|
||
|
if (this.d == null) {
|
||
|
this.d = (T) aVar.create();
|
||
|
}
|
||
|
t = this.d;
|
||
|
}
|
||
|
return t;
|
||
|
}
|
||
|
}
|