MCPcopy
hub / github.com/ccxt/ccxt / stringToCharsArray

Method stringToCharsArray

java/lib/src/main/java/io/github/ccxt/Exchange.java:1345–1355  ·  view source on GitHub ↗
(Object str)

Source from the content-addressed store, hash-verified

1343 }
1344
1345 public Object stringToCharsArray(Object str) {
1346 if (str == null) {
1347 return null;
1348 }
1349 char[] chars = String.valueOf(str).toCharArray();
1350 List<String> res = new ArrayList<>(chars.length);
1351 for (char c : chars) {
1352 res.add(String.valueOf(c));
1353 }
1354 return res;
1355 }
1356
1357 public static List<Object> unique(Object obj) {
1358 if (!(obj instanceof List<?> list)) {

Callers 2

checkAddressMethod · 0.95

Calls 1

addMethod · 0.45

Tested by

no test coverage detected