mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-14 18:07:16 +01:00
83 lines
3.2 KiB
Java
83 lines
3.2 KiB
Java
package androidx.compose.runtime.internal;
|
|
|
|
import com.amazon.alexa.ra.core.data.fragments.SmartFragmentContent;
|
|
import com.amazon.clouddrive.extended.model.BulkOperationType;
|
|
import java.util.concurrent.atomic.AtomicInteger;
|
|
import kotlin.Deprecated;
|
|
import kotlin.Metadata;
|
|
import kotlin.ReplaceWith;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@StabilityInferred(parameters = 0)
|
|
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\u0005\n\u0000\n\u0002\u0010\n\n\u0000\n\u0002\u0010\f\n\u0000\b\u0001\u0018\u00002\u00020\u0001B\u000f\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0004\b\u0004\u0010\u0005J\u000e\u0010\u0006\u001a\u00020\u00032\u0006\u0010\u0007\u001a\u00020\u0003J\b\u0010\b\u001a\u00020\tH\u0016J\b\u0010\n\u001a\u00020\u000bH\u0016J\b\u0010\f\u001a\u00020\rH\u0017¨\u0006\u000e"}, d2 = {"Landroidx/compose/runtime/internal/AtomicInt;", "Ljava/util/concurrent/atomic/AtomicInteger;", "value", "", "<init>", "(I)V", BulkOperationType.add, "amount", "toByte", "", "toShort", "", "toChar", "", SmartFragmentContent.RUNTIME}, k = 1, mv = {2, 0, 0}, xi = 48)
|
|
/* loaded from: classes13.dex */
|
|
public final class AtomicInt extends AtomicInteger {
|
|
public static final int $stable = 8;
|
|
|
|
public AtomicInt(int i) {
|
|
super(i);
|
|
}
|
|
|
|
public final int add(int amount) {
|
|
return addAndGet(amount);
|
|
}
|
|
|
|
@Override // java.lang.Number
|
|
public final /* bridge */ byte byteValue() {
|
|
return toByte();
|
|
}
|
|
|
|
@Override // java.util.concurrent.atomic.AtomicInteger, java.lang.Number
|
|
public final /* bridge */ double doubleValue() {
|
|
return toDouble();
|
|
}
|
|
|
|
@Override // java.util.concurrent.atomic.AtomicInteger, java.lang.Number
|
|
public final /* bridge */ float floatValue() {
|
|
return toFloat();
|
|
}
|
|
|
|
@Override // java.util.concurrent.atomic.AtomicInteger, java.lang.Number
|
|
public final /* bridge */ int intValue() {
|
|
return toInt();
|
|
}
|
|
|
|
@Override // java.util.concurrent.atomic.AtomicInteger, java.lang.Number
|
|
public final /* bridge */ long longValue() {
|
|
return toLong();
|
|
}
|
|
|
|
@Override // java.lang.Number
|
|
public final /* bridge */ short shortValue() {
|
|
return toShort();
|
|
}
|
|
|
|
public byte toByte() {
|
|
return (byte) intValue();
|
|
}
|
|
|
|
@Deprecated(message = "Direct conversion to Char is deprecated. Use toInt().toChar() or Char constructor instead.\nIf you override toChar() function in your Number inheritor, it's recommended to gradually deprecate the overriding function and then remove it.\nSee https://youtrack.jetbrains.com/issue/KT-46465 for details about the migration", replaceWith = @ReplaceWith(expression = "this.toInt().toChar()", imports = {}))
|
|
public char toChar() {
|
|
return (char) intValue();
|
|
}
|
|
|
|
public /* bridge */ double toDouble() {
|
|
return super.doubleValue();
|
|
}
|
|
|
|
public /* bridge */ float toFloat() {
|
|
return super.floatValue();
|
|
}
|
|
|
|
public /* bridge */ int toInt() {
|
|
return super.intValue();
|
|
}
|
|
|
|
public /* bridge */ long toLong() {
|
|
return super.longValue();
|
|
}
|
|
|
|
public short toShort() {
|
|
return (short) intValue();
|
|
}
|
|
}
|