Package libcore.icu

Class NativeCollation


  • public final class NativeCollation
    extends Object
    Package static class for declaring all native methods for collation use.
    • Method Detail

      • closeCollator

        public static void closeCollator​(long address)
      • compare

        public static int compare​(long address,
                                  String source,
                                  String target)
      • getAttribute

        public static int getAttribute​(long address,
                                       int type)
      • getCollationElementIterator

        public static long getCollationElementIterator​(long address,
                                                       String source)
      • getRules

        public static String getRules​(long address)
      • getSortKey

        public static byte[] getSortKey​(long address,
                                        String source)
      • openCollator

        public static long openCollator​(Locale locale)
      • openCollatorFromRules

        public static long openCollatorFromRules​(String rules,
                                                 int normalizationMode,
                                                 int collationStrength)
      • safeClone

        public static long safeClone​(long address)
      • setAttribute

        public static void setAttribute​(long address,
                                        int type,
                                        int value)
      • closeElements

        public static void closeElements​(long address)
      • getMaxExpansion

        public static int getMaxExpansion​(long address,
                                          int order)
      • getOffset

        public static int getOffset​(long address)
      • next

        public static int next​(long address)
      • previous

        public static int previous​(long address)
      • reset

        public static void reset​(long address)
      • setOffset

        public static void setOffset​(long address,
                                     int offset)
      • setText

        public static void setText​(long address,
                                   String source)