23 lines
1,012 B
Java
23 lines
1,012 B
Java
package com.discord.utilities.collections;
|
|
|
|
import d0.z.d.o;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: SnowflakePartitionMap.kt */
|
|
public final class SnowflakePartitionMap$Companion$PARTITION_SNOWFLAKE_ID_STRATEGY$1 extends o implements Function1<Long, Integer> {
|
|
public static final SnowflakePartitionMap$Companion$PARTITION_SNOWFLAKE_ID_STRATEGY$1 INSTANCE = new SnowflakePartitionMap$Companion$PARTITION_SNOWFLAKE_ID_STRATEGY$1();
|
|
|
|
public SnowflakePartitionMap$Companion$PARTITION_SNOWFLAKE_ID_STRATEGY$1() {
|
|
super(1);
|
|
}
|
|
|
|
public final int invoke(long j) {
|
|
return (int) ((j >>> 22) % ((long) 256));
|
|
}
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Integer invoke(Long l) {
|
|
return Integer.valueOf(invoke(l.longValue()));
|
|
}
|
|
}
|