mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-28 08:43:22 +01:00
29 lines
1.8 KiB
Java
29 lines
1.8 KiB
Java
package androidx.compose.foundation.gestures;
|
|
|
|
import androidx.collection.MutableObjectFloatMap;
|
|
import androidx.compose.foundation.ExperimentalFoundationApi;
|
|
import androidx.compose.runtime.internal.StabilityInferred;
|
|
import androidx.exifinterface.media.ExifInterface;
|
|
import kotlin.Metadata;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@StabilityInferred(parameters = 0)
|
|
@ExperimentalFoundationApi
|
|
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u0007\n\u0002\b\u0002\b\u0007\u0018\u0000*\u0004\b\u0000\u0010\u00012\u00020\u0002B\u0005¢\u0006\u0002\u0010\u0003J\u001a\u0010\b\u001a\u00020\t*\u00028\u00002\u0006\u0010\n\u001a\u00020\u000bH\u0086\u0004¢\u0006\u0002\u0010\fR\u001a\u0010\u0004\u001a\b\u0012\u0004\u0012\u00028\u00000\u0005X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007¨\u0006\r"}, d2 = {"Landroidx/compose/foundation/gestures/DraggableAnchorsConfig;", ExifInterface.GPS_DIRECTION_TRUE, "", "()V", "anchors", "Landroidx/collection/MutableObjectFloatMap;", "getAnchors$foundation_release", "()Landroidx/collection/MutableObjectFloatMap;", "at", "", "position", "", "(Ljava/lang/Object;F)V", "foundation_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
|
|
/* loaded from: classes.dex */
|
|
public final class DraggableAnchorsConfig<T> {
|
|
public static final int $stable = 8;
|
|
|
|
@NotNull
|
|
private final MutableObjectFloatMap<T> anchors = new MutableObjectFloatMap<>(0, 1, null);
|
|
|
|
public final void at(T t, float f) {
|
|
this.anchors.set(t, f);
|
|
}
|
|
|
|
@NotNull
|
|
public final MutableObjectFloatMap<T> getAnchors$foundation_release() {
|
|
return this.anchors;
|
|
}
|
|
}
|