-
public final class ExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final StringasString(InputStream $self)InputStreamをStringにコピーします。 final BooleanisAscii(String $self)ASCII文字で構成されているかを返します。 final StringgetLowerClassName(Object $self)クラスの小文字表現を返します。 final JSONArrayformat(JSONArray $self)Track API向けに値をフォーマットします。 final JSONObjectformat(JSONObject $self)Track API向けに値をフォーマットします。 final Map<String, Object>format(Map<String, Object> $self)Track API向けに値をフォーマットします。 final UnitforEach(JSONArray $self, Function1<Object, Unit> operation)Performs the given action on each element. final UnitforEach(JSONObject $self, Function2<String, Object, Unit> action)Performs the given action on each element. final List<Object>map(JSONArray $self, Function1<Object, Object> transform)Returns a list containing the results of applying the given transform function to each element in the original collection. final List<Object>toList(JSONArray $self)Returns a List containing all key-value pairs. final Map<String, Object>toMap(JSONObject $self)Returns a new map containing all key-value pairs from the original map. final Map<String, Object>toValues(JSONObject $self)Valuesに変換します。 final Map<String, Object>merge(Map<String, Object> $self, Map<String, Object> other)-
-
Method Detail
-
asString
final String asString(InputStream $self)
InputStreamをStringにコピーします。
-
getLowerClassName
@Deprecated(message = "Does not return the name you expect when obfuscated", replaceWith = @ReplaceWith(imports = {}, expression = "")) final String getLowerClassName(Object $self)
クラスの小文字表現を返します。
-
format
final JSONObject format(JSONObject $self)
Track API向けに値をフォーマットします。
-
forEach
final Unit forEach(JSONArray $self, Function1<Object, Unit> operation)
Performs the given action on each element.
-
forEach
final Unit forEach(JSONObject $self, Function2<String, Object, Unit> action)
Performs the given action on each element.
-
map
final List<Object> map(JSONArray $self, Function1<Object, Object> transform)
Returns a list containing the results of applying the given transform function to each element in the original collection.
-
toMap
final Map<String, Object> toMap(JSONObject $self)
Returns a new map containing all key-value pairs from the original map.
-
toValues
final Map<String, Object> toValues(JSONObject $self)
Valuesに変換します。
-
-
-
-