- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for mijn (0.25 sec)
-
android/guava-tests/test/com/google/common/collect/SetViewTest.java
/** * Returns a {@link SetView} with a {@link SetView#minSize()} of {@code min} and a {@link * SetView#maxSize()} of {@code max}. */ private static SetView<Integer> setSizeRange(int min, int max) { checkArgument(min >= 0 && max >= min); SetView<Integer> set = difference(setSize(max), setSize(max - min)); checkState(set.minSize() == min && set.maxSize() == max); return set; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Chars.java
* @throws IllegalArgumentException if {@code min > max} * @since 21.0 */ public static char constrainToRange(char value, char min, char max) { checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max); return value < min ? min : value < max ? value : max; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* @throws IllegalArgumentException if {@code min > max} * @since 21.0 */ public static short constrainToRange(short value, short min, short max) { checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max); return value < min ? min : value < max ? value : max; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* @throws IllegalArgumentException if {@code min > max} * @since 21.0 */ public static short constrainToRange(short value, short min, short max) { checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max); return value < min ? min : value < max ? value : max; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
public static int constrainToRange(int value, int min, int max) { checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max); return Math.min(Math.max(value, min), max); } /** * Returns the values from each provided array combined into a single array. For example, {@code * concat(new int[] {a, b}, new int[] {}, new int[] {c}} returns the array {@code {a, b, c}}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java
hibernateContext.addMessageParameter("min", min) .addMessageParameter("max", max) .buildConstraintViolationWithTemplate(message) .addConstraintViolation(); final int length = value.length(); return length >= min && length <= max; } private void validateParameters() { if (min < 0) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java
// Test constraint message methods with multiple parameters public void test_addConstraintsSizeMessage() { String property = "testProperty"; String min = "1"; String max = "10"; FessMessages result = messages.addConstraintsSizeMessage(property, min, max); assertNotNull(result); assertSame(messages, result); assertTrue(messages.hasMessageOf(property)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 28.2K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Floats.java
// Reject NaN by testing for the good case (min <= max) instead of the bad (min > max). if (min <= max) { return Math.min(Math.max(value, min), max); } throw new IllegalArgumentException( lenientFormat("min (%s) must be less than or equal to max (%s)", min, max)); } /** * Returns the values from each provided array combined into a single array. For example, {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Doubles.java
// Reject NaN by testing for the good case (min <= max) instead of the bad (min > max). if (min <= max) { return Math.min(Math.max(value, min), max); } throw new IllegalArgumentException( lenientFormat("min (%s) must be less than or equal to max (%s)", min, max)); } /** * Returns the values from each provided array combined into a single array. For example, {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThrows(IllegalArgumentException.class, () -> min()); } public void testMin() { assertThat(min(LEAST)).isEqualTo(LEAST); assertThat(min(GREATEST)).isEqualTo(GREATEST); assertThat(min(8.0, 6.0, 7.0, 5.0, 3.0, 0.0, 9.0)).isEqualTo(0.0); assertThat(min(-0.0, 0.0)).isEqualTo(-0.0); assertThat(min(0.0, -0.0)).isEqualTo(-0.0); assertThat(min(NUMBERS)).isEqualTo(LEAST);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0)