public static DITAOTCollator getInstance ( final Locale locale ) { if ( locale == null ) { throw new NullPointerException ( "Locale may not be null" ) ; } DITAOTCollator instance ; instance = cache . computeIfAbsent ( locale , DITAOTCollator :: new ) ; return instance ; }
Return the DITAOTCollator instance specifying Locale .