23 lines
540 B
Java
23 lines
540 B
Java
|
package io.grpc.internal;
|
||
|
|
||
|
import com.google.common.base.Preconditions;
|
||
|
|
||
|
/* loaded from: classes6.dex */
|
||
|
public final class FixedObjectPool<T> implements ObjectPool<T> {
|
||
|
private final T object;
|
||
|
|
||
|
@Override // io.grpc.internal.ObjectPool
|
||
|
public final T returnObject(Object obj) {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
public FixedObjectPool(T t) {
|
||
|
this.object = (T) Preconditions.checkNotNull(t, "object");
|
||
|
}
|
||
|
|
||
|
@Override // io.grpc.internal.ObjectPool
|
||
|
public final T getObject() {
|
||
|
return this.object;
|
||
|
}
|
||
|
}
|