13 lines
798 B
Java
13 lines
798 B
Java
|
package com.discord.utilities.threads;
|
||
|
|
||
|
import com.discord.stores.StoreThreadsActiveJoined;
|
||
|
import java.util.Comparator;
|
||
|
/* compiled from: ThreadUtils.kt */
|
||
|
public final class ThreadUtils$getThreadTimestampComparator$1<T> implements Comparator<StoreThreadsActiveJoined.ActiveJoinedThread> {
|
||
|
public static final ThreadUtils$getThreadTimestampComparator$1 INSTANCE = new ThreadUtils$getThreadTimestampComparator$1();
|
||
|
|
||
|
public final int compare(StoreThreadsActiveJoined.ActiveJoinedThread activeJoinedThread, StoreThreadsActiveJoined.ActiveJoinedThread activeJoinedThread2) {
|
||
|
return (activeJoinedThread2.getJoinTimestamp().g() > activeJoinedThread.getJoinTimestamp().g() ? 1 : (activeJoinedThread2.getJoinTimestamp().g() == activeJoinedThread.getJoinTimestamp().g() ? 0 : -1));
|
||
|
}
|
||
|
}
|