MCPcopy
hub / github.com/ccxt/ccxt / stringEq

Method stringEq

java/lib/src/main/java/io/github/ccxt/base/Precise.java:270–273  ·  view source on GitHub ↗
(Object a, Object b)

Source from the content-addressed store, hash-verified

268 }
269
270 public static boolean stringEq(Object a, Object b) {
271 if (a == null || b == null) return false;
272 return new Precise(String.valueOf(a)).equals(new Precise(String.valueOf(b)));
273 }
274
275 public static String stringMax(Object a, Object b) {
276 if (a == null || b == null) return null;

Callers 15

parsePositionRiskMethod · 0.95
parseAccountPositionMethod · 0.95
fetchFundingHistoryMethod · 0.95
parseTickerMethod · 0.95
parsePositionMethod · 0.95
parseTradeMethod · 0.95
parseOrderMethod · 0.95
parseAccountPositionMethod · 0.95
parsePositionRiskMethod · 0.95
parseOrderMethod · 0.95
parseWsPositionMethod · 0.95

Calls 1

equalsMethod · 0.45

Tested by 8

testTickerMethod · 0.76
testMarketMethod · 0.76
testLiquidationMethod · 0.76
testBalanceMethod · 0.76
AssertEqualMethod · 0.76
AssertNonEqualMethod · 0.76
AssertOrderStateMethod · 0.76
preciseEqualStrMethod · 0.76