Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 121 for Creator (0.2 sec)

  1. guava-tests/test/com/google/common/base/PreconditionsTest.java

          Preconditions.checkPositionIndex(2, 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
          assertThat(expected)
              .hasMessageThat()
              .isEqualTo("index (2) must not be greater than size (1)");
        }
      }
    
      public void testCheckPositionIndex_withDesc_negative() {
        try {
          Preconditions.checkPositionIndex(-1, 1, "foo");
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/NetworkConnections.java

      Set<E> inEdges();
    
      Set<E> outEdges();
    
      /**
       * Returns the set of edges connecting the origin node to {@code node}. For networks without
       * parallel edges, this set cannot be of size greater than one.
       */
      Set<E> edgesConnecting(N node);
    
      /**
       * Returns the node that is adjacent to the origin node along {@code edge}.
       *
       * <p>In the directed case, {@code edge} is assumed to be an outgoing edge.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/DiscreteDomain.java

          }
        }
        return current;
      }
    
      /**
       * Returns the unique least value of type {@code C} that is greater than {@code value}, or {@code
       * null} if none exists. Inverse operation to {@link #previous}.
       *
       * @param value any value of type {@code C}
       * @return the least value greater than {@code value}, or {@code null} if {@code value} is {@code
       *     maxValue()}
       */
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ValueGraph.java

       *
       * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of
       * self-loops incident to {@code node}).
       *
       * <p>If the count is greater than {@code Integer.MAX_VALUE}, returns {@code Integer.MAX_VALUE}.
       *
       * @throws IllegalArgumentException if {@code node} is not an element of this graph
       */
      @Override
      int degree(N node);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/BigDecimalMath.java

       * the least significant bit zero is chosen. (In such cases, both of the nearest representable
       * values are even integers; this method returns the one that is a multiple of a greater power of
       * two.)
       *
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
       *     is not precisely representable as a {@code double}
       * @since 30.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 18:45:50 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Floats.java

       * {@link Math#max(float, float)}.
       *
       * @param array a <i>nonempty</i> array of {@code float} values
       * @return the value present in {@code array} that is greater than or equal to every other value
       *     in the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
      @GwtIncompatible(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/AbstractIndexedListIterator.java

       * #previous()} can retrieve the preceding {@code position} elements.
       *
       * @throws IndexOutOfBoundsException if {@code position} is negative or is greater than {@code
       *     size}
       * @throws IllegalArgumentException if {@code size} is negative
       */
      protected AbstractIndexedListIterator(int size, int position) {
        checkPositionIndex(position, size);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * using the latest values obtained from {@link IteratorTester#newTargetIterator()}.
     *
     * <p>The value you pass to the parameter {@code steps} should be greater than the length of your
     * iterator, so that this class can check that your iterator behaves correctly when it is exhausted.
     *
     * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteStreams.java

      /**
       * Returns a new {@link ByteArrayDataInput} instance to read from the {@code bytes} array,
       * starting at the given position.
       *
       * @throws IndexOutOfBoundsException if {@code start} is negative or greater than the length of
       *     the array
       */
      public static ByteArrayDataInput newDataInput(byte[] bytes, int start) {
        checkPositionIndex(start, bytes.length);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        assertThat(fingerprint(stringA.getBytes(UTF_8)))
            .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8)));
    
        // ISO 8859-1 only has 0-255 (ubyte) representation so throws away UTF-8 characters
        // greater than 127 (ie with their top bit set).
        // Don't attempt to do this in real code.
        assertEquals(
            fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1)));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 19 14:00:24 GMT 2016
    - 6.2K bytes
    - Viewed (0)
Back to top