Package org.conscrypt

Class NativeCryptoJni.ErrorComparator

  • All Implemented Interfaces:
    java.util.Comparator<NativeLibraryLoader.LoadResult>
    Enclosing class:
    NativeCryptoJni

    private static final class NativeCryptoJni.ErrorComparator
    extends java.lang.Object
    implements java.util.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.