Package io.karte.android.utilities

Types

ActivityLifecycleCallback
Link copied to clipboard
abstract class ActivityLifecycleCallback : Application.ActivityLifecycleCallbacks
Application.ActivityLifecycleCallbacks の空実装の抽象クラスです。

Functions

asString
Link copied to clipboard
fun InputStream.asString(): String
InputStreamStringにコピーします。
forEach
Link copied to clipboard
fun JSONArray.forEach(operation: (Any) -> Unit)
Performs the given action on each element.
fun JSONObject.forEach(action: (String, Any?) -> Unit)
Performs the given action on each element.
format
Link copied to clipboard
fun Values.format(): Values
Track API向けに値をフォーマットします。
fun JSONArray.format(): JSONArray
Track API向けに値をフォーマットします。
fun JSONObject.format(): JSONObject
Track API向けに値をフォーマットします。
getLowerClassName
Link copied to clipboard
fun Any.getLowerClassName(): String
クラスの小文字表現を返します。
isAscii
Link copied to clipboard
fun String.isAscii(): Boolean
ASCII文字で構成されているかを返します。
map
Link copied to clipboard
fun JSONArray.map(transform: (Any?) -> Any?): List<Any?>
Returns a list containing the results of applying the given transform function to each element in the original collection.
merge
Link copied to clipboard
fun Values.merge(other: Values): Values
toList
Link copied to clipboard
fun JSONArray.toList(): List<Any?>
Returns a List containing all key-value pairs.
toMap
Link copied to clipboard
fun JSONObject.toMap(): Map<String, Any?>
Returns a new map containing all key-value pairs from the original map.
toValues
Link copied to clipboard
fun JSONObject.toValues(): Values
Valuesに変換します。