Package org.conscrypt
Class NativeCryptoJni.ErrorComparator
java.lang.Object
org.conscrypt.NativeCryptoJni.ErrorComparator
- All Implemented Interfaces:
Comparator<NativeLibraryLoader.LoadResult>
- Enclosing class:
NativeCryptoJni
private static final class NativeCryptoJni.ErrorComparator
extends Object
implements Comparator<NativeLibraryLoader.LoadResult>
Sorts the errors in a list in descending order of value. After a list is sorted,
the first element is the most important error.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ErrorComparator
private ErrorComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<NativeLibraryLoader.LoadResult>
-