Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 613 for IllegalArgumentException (0.21 sec)

  1. guava/src/com/google/common/primitives/Doubles.java

       *
       * @param array a <i>nonempty</i> array of {@code double} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
      @GwtIncompatible(
          "Available in GWT! Annotation is to avoid conflict with GWT specialization of base class.")
      public static double min(double... array) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Floats.java

       *
       * @param array a <i>nonempty</i> array of {@code float} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
      @GwtIncompatible(
          "Available in GWT! Annotation is to avoid conflict with GWT specialization of base class.")
      public static float min(float... array) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/LongMath.java

      /**
       * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to
       * {@code checkedPow(2, log2(x, CEILING))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException of the next-higher power of two is not representable as a {@code
       *     long}, i.e. when {@code x > 2^62}
       * @since 20.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionBean.java

                String msg = "The value should not be null: variableName=null value=" + value;
                throw new IllegalArgumentException(msg);
            }
            if (value == null) {
                String msg = "The value should not be null: variableName=" + variableName;
                throw new IllegalArgumentException(msg);
            }
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

      }
    
      @Test
      public void putEdge_doesntAllowSelfLoops() {
        assume().that(graphIsMutable()).isTrue();
        assume().that(graph.allowsSelfLoops()).isFalse();
    
        IllegalArgumentException e =
            assertThrows(IllegalArgumentException.class, () -> putEdge(N1, N1));
        assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP);
      }
    
      @Test
      public void putEdge_allowsSelfLoops() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

        for (PublicSuffixType value : values()) {
          if (value.getInnerNodeCode() == code || value.getLeafNodeCode() == code) {
            return value;
          }
        }
        throw new IllegalArgumentException("No enum corresponding to given code: " + code);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array according to {@link #compare}
       * @throws IllegalArgumentException if {@code array} is empty
       */
      public static long min(long... array) {
        checkArgument(array.length > 0);
        long min = flip(array[0]);
        for (int i = 1; i < array.length; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeRangeMap.java

              checkNotNull(range);
              throw new IllegalArgumentException(
                  "Cannot insert range " + range + " into an empty subRangeMap");
            }
    
            @Override
            public void putCoalescing(Range<Comparable<?>> range, Object value) {
              checkNotNull(range);
              throw new IllegalArgumentException(
                  "Cannot insert range " + range + " into an empty subRangeMap");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

         *
         * @param id the id of the type to retrieve
         * @return the type
         */
        @Nonnull
        @Override
        default Type require(@Nonnull String id) {
            return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'"));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/PatternCompiler.java

     * java.util.ServiceLoader} mechanism.
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    interface PatternCompiler {
      /**
       * Compiles the given pattern.
       *
       * @throws IllegalArgumentException if the pattern is invalid
       */
      @RestrictedApi(
          explanation = "PatternCompiler is an implementation detail of com.google.common.base",
          allowedOnPath = ".*/com/google/common/base/.*")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top