MCPcopy Create free account
hub / github.com/ReadyTalk/avian / valueOf

Method valueOf

classpath/java/math/RoundingMode.java:30–35  ·  view source on GitHub ↗
(int roundingMode)

Source from the content-addressed store, hash-verified

28 private final int roundingMode;
29
30 public static RoundingMode valueOf(int roundingMode) {
31 final RoundingMode[] values = values();
32 if (roundingMode < 0 || roundingMode >= values.length)
33 throw new IllegalArgumentException();
34 return values[roundingMode];
35 }
36}

Callers

nothing calls this directly

Calls 1

valuesMethod · 0.65

Tested by

no test coverage detected