package C3;

import java.util.Comparator;
import java.util.SortedMap;
import java.util.SortedSet;

/* JADX INFO: renamed from: C3.j, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public class C0048j extends C0043e implements SortedSet {

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public final /* synthetic */ T f1277s;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0048j(T t6, SortedMap sortedMap) {
        super(t6, sortedMap);
        this.f1277s = t6;
    }

    public SortedMap a() {
        return (SortedMap) this.f1266q;
    }

    @Override // java.util.SortedSet
    public final Comparator comparator() {
        return a().comparator();
    }

    @Override // java.util.SortedSet
    public final Object first() {
        return a().firstKey();
    }

    public SortedSet headSet(Object obj) {
        return new C0048j(this.f1277s, a().headMap(obj));
    }

    @Override // java.util.SortedSet
    public final Object last() {
        return a().lastKey();
    }

    public SortedSet subSet(Object obj, Object obj2) {
        return new C0048j(this.f1277s, a().subMap(obj, obj2));
    }

    public SortedSet tailSet(Object obj) {
        return new C0048j(this.f1277s, a().tailMap(obj));
    }
}
