<commit_before>{-# LANGUAGE NoImplicitPrelude, MagicHash, TypeOperators,
  DataKinds, TypeFamilies, FlexibleContexts #-}
-----------------------------------------------------------------------------
-- |
-- Module      :  Java.StringUtils
-- Copyright   :  (c) <NAME> 2017
--
-- License     :  BSD-style (see the file libraries/base/LICENSE)
--
-- Maintainer  :  <EMAIL>
-- Stability   :  provisional
-- Portability :  portable
--
-- Bindings for Java String utilities
--
-----------------------------------------------------------------------------

module Java.StringUtils
  (module Java.StringUtils, CharSequence)
where

import GHC.Base
import GHC.Int
import Java.Array
import Java.Core
import Java.NIO
import Java.Text

-- Start java.lang.String

foreign import java unsafe charAt :: JString -> Int -> JChar

foreign import java unsafe codePointAt :: JString -> Int -> Int

foreign import java unsafe codePointBefore :: JString -> Int -> Int

foreign import java unsafe codePointCount :: JString -> Int -> Int -> Int

foreign import java unsafe compareTo :: JString -> JString -> Int

foreign import java unsafe compareToIgnoreCase :: JString -> JString -> Int
<commit_msg>imported Java.Primitive to  Java.StringUtils<commit_after>{-# LANGUAGE NoImplicitPrelude, MagicHash, TypeOperators,
  DataKinds, TypeFamilies, FlexibleContexts #-}
-----------------------------------------------------------------------------
-- |
-- Module      :  Java.StringUtils
-- Copyright   :  (c) <NAME> 2017
--
-- License     :  BSD-style (see the file libraries/base/LICENSE)
--
-- Maintainer  :  <EMAIL>
-- Stability   :  provisional
-- Portability :  portable
--
-- Bindings for Java String utilities
--
-----------------------------------------------------------------------------

module Java.StringUtils
  (module Java.StringUtils, CharSequence)
where

import GHC.Base
import GHC.Int
import Java.Array
import Java.Core
import Java.NIO
import Java.Text
import Java.Primitive

-- Start java.lang.String

foreign import java unsafe charAt :: JString -> Int -> JChar

foreign import java unsafe codePointAt :: JString -> Int -> Int

foreign import java unsafe codePointBefore :: JString -> Int -> Int

foreign import java unsafe codePointCount :: JString -> Int -> Int -> Int

foreign import java unsafe compareTo :: JString -> JString -> Int

foreign import java unsafe compareToIgnoreCase :: JString -> JString -> Int

{'fraction_non_alphanumeric': 0.22060656418778563, 'fraction_numerical': 0.0033236393851267137, 'mean_word_length': 2.095115681233933, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5696595', 'n_tokens_mistral': 652, 'n_tokens_neox': 629, 'n_words': 205}