- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,158 for Case (0.03 sec)
-
src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java
*/ public static Boolean toBoolean(final Object o) { return switch (o) { case null -> null; case Boolean b -> b; case Number n -> n.intValue() != 0; case String s -> switch (s.toLowerCase()) { case "true" -> Boolean.TRUE; case "false", "0" -> Boolean.FALSE; default -> Boolean.TRUE; }; default -> Boolean.TRUE; };
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/Logger.java
switch (messageType) { case 'D': return new LogMessage(LogLevel.DEBUG, message); case 'I': return new LogMessage(LogLevel.INFO, message); case 'W': return new LogMessage(LogLevel.WARN, message); case 'E': return new LogMessage(LogLevel.ERROR, message); case 'F': return new LogMessage(LogLevel.FATAL, message);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 12.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
return copyOf(elements); } @JsMethod public static <E> ImmutableSet<E> copyOf(E[] elements) { checkNotNull(elements); switch (elements.length) { case 0: return of(); case 1: return of(elements[0]); default: return create(elements); } } public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
switch (mode) { case UNNECESSARY: checkRoundingUnnecessary(x == floorPow); // fall through case FLOOR: case DOWN: return logFloor; case CEILING: case UP: return logFloor + lessThanBranchFree(floorPow, x); case HALF_DOWN: case HALF_UP: case HALF_EVEN:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 29 16:20:07 UTC 2025 - 46.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java
for (Thread thread : blockedThreads) { AbstractFutureBenchmarks.awaitWaiting(thread); } switch (state) { case NOT_DONE: break; case FINISHED: f.set(null); break; case CANCELLED: f.cancel(false); break; case FAILED: f.setException(new Exception()); break; } return f; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3K bytes - Viewed (0) -
guava/src/com/google/common/math/ToDoubleRounder.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
int logFloor = x.bitLength() - 1; switch (mode) { case UNNECESSARY: checkRoundingUnnecessary(isPowerOfTwo(x)); // fall through case DOWN: case FLOOR: return logFloor; case UP: case CEILING: return isPowerOfTwo(x) ? logFloor : logFloor + 1; case HALF_DOWN: case HALF_UP: case HALF_EVEN: if (logFloor < SQRT2_PRECOMPUTE_THRESHOLD) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
monitor.enter(); try { State previous = state(); switch (previous) { case NEW: case TERMINATED: case FAILED: throw new IllegalStateException("Cannot notifyStopped() when the service is " + previous); case RUNNING: case STARTING: case STOPPING: snapshot = new StateSnapshot(TERMINATED); enqueueTerminatedEvent(previous);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
return BoundType.OPEN; } @Override Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain) { switch (boundType) { case CLOSED: return this; case OPEN: C previous = domain.previous(endpoint); return (previous == null) ? Cut.belowAll() : new AboveValue<>(previous); } throw new AssertionError(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.4K bytes - Viewed (0)