Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for heddle (0.28 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

      private M multimap;
    
      protected M multimap() {
        return multimap;
      }
    
      /**
       * @return an array of the proper size with {@code null} as the key of the middle element.
       */
      protected Entry<K, V>[] createArrayWithNullKey() {
        Entry<K, V>[] array = createSamplesArray();
        int nullKeyLocation = getNullLocation();
        Entry<K, V> oldEntry = array[nullKeyLocation];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testAddAllAtIndex_middle() {
        assertTrue(
            "addAll(middle, disjoint) should return true",
            getList().addAll(getNumElements() / 2, createDisjointCollection()));
        expectAdded(getNumElements() / 2, createDisjointCollection());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (1)
  3. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        for (V element : elements) {
          assertFalse("Should not contain value " + element, getMap().containsValue(element));
        }
      }
    
      /** @return an array of the proper size with {@code null} as the key of the middle element. */
      protected Entry<K, V>[] createArrayWithNullKey() {
        Entry<K, V>[] array = createSamplesArray();
        int nullKeyLocation = getNullLocation();
        Entry<K, V> oldEntry = array[nullKeyLocation];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

      }
    
      /** @see AbstractContainerTester#resetContainer() */
      protected void resetCollection() {
        resetContainer();
      }
    
      /** @return an array of the proper size with {@code null} inserted into the middle element. */
      protected E[] createArrayWithNullElement() {
        E[] array = createSamplesArray();
        array[getNullLocation()] = null;
        return array;
      }
    
      protected void initCollectionWithNullElement() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          // Runnable is executed more than once, allocate a wrapper that we know is safe to remove by
          // object identity.
          // A data structure that returned a removal handle from add() would allow eliminating this
          // allocation.
          submittedTask =
              new Runnable() {
                @Override
                public void run() {
                  task.run();
                }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ListsImplTest.java

      public void testIndexOfImpl_null() {
        List<String> toTest;
        try {
          toTest = createList(String.class, null, "A", "B", null, "C", null);
        } catch (NullPointerException e) {
          // example cannot handle nulls, test invalid
          return;
        }
        int[] expected = {0, 1, 2, 0, 4, 0};
        checkIndexOf(toTest, expected);
      }
    
      public void testLastIndexOfImpl_nonNull() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Throwables.java

       * declaredType}. Example usage:
       *
       * <pre>
       * try {
       *   someMethodThatCouldThrowAnything();
       * } catch (IKnowWhatToDoWithThisException e) {
       *   handle(e);
       * } catch (Throwable t) {
       *   Throwables.propagateIfInstanceOf(t, IOException.class);
       *   Throwables.propagateIfInstanceOf(t, SQLException.class);
       *   throw Throwables.propagate(t);
       * }
       * </pre>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Throwables.java

       * declaredType}. Example usage:
       *
       * <pre>
       * try {
       *   someMethodThatCouldThrowAnything();
       * } catch (IKnowWhatToDoWithThisException e) {
       *   handle(e);
       * } catch (Throwable t) {
       *   Throwables.propagateIfInstanceOf(t, IOException.class);
       *   Throwables.propagateIfInstanceOf(t, SQLException.class);
       *   throw Throwables.propagate(t);
       * }
       * </pre>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

       *       you can decrease the number of tasks from 15 and 10, killing off the final 5 tasks, and
       *       {@code consistentHash} will handle it. If, however, you are dividing traffic among
       *       servers {@code alpha}, {@code bravo}, and {@code charlie} and you occasionally need to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Preconditions.java

           * TODO(cpovirk): Consider removing @CheckForNull here, as we've done with the other methods'
           * errorMessageTemplate parameters: It is unlikely that callers intend for their string
           * template to be null (though we do handle that case gracefully at runtime). I've left this
           * one as it is because one of our users has defined a wrapper API around Preconditions,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top