Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 57 for injected (0.14 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

              (NullRejectingFromTo<?, ?>) getDefaultParameterValue(0);
          assertNotNull(defaultFunction);
          try {
            defaultFunction.apply(null);
            fail("Proxy Should have rejected null");
          } catch (NullPointerException expected) {
          }
        }
      }
    
      public void testNullRejectingInterfaceDefaultValue() {
        new NullRejectingInterfaceDefaultValueChecker().check();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `I'M not a mile high,' said Alice.
    
      `You are,' said the King.
    
      `Nearly two miles high,' added the Queen.
    
      `Well, I shan't go, at any rate,' said Alice:  `besides,
    that's not a regular rule:  you invented it just now.'
    
      `It's the oldest rule in the book,' said the King.
    
      `Then it ought to be Number One,' said Alice.
    
      The King turned pale, and shut his note-book hastily.
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SortedLists.java

            return higherIndex;
          }
        },
        /**
         * Return {@code ~insertionIndex}, where {@code insertionIndex} is defined as the point at which
         * the key would be inserted into the list: the index of the next higher element in the list, or
         * {@code list.size()} if there is no such element.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/Subscriber.java

      void invokeSubscriberMethod(Object event) throws InvocationTargetException {
        try {
          method.invoke(target, checkNotNull(event));
        } catch (IllegalArgumentException e) {
          throw new Error("Method rejected target/argument: " + event, e);
        } catch (IllegalAccessException e) {
          throw new Error("Method became inaccessible: " + event, e);
        } catch (InvocationTargetException e) {
          if (e.getCause() instanceof Error) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMap.java

       * <p>For <i>small</i> immutable maps, the {@code ImmutableMap.of()} methods are even more
       * convenient.
       *
       * <p>By default, a {@code Builder} will generate maps that iterate over entries in the order they
       * were inserted into the builder, equivalently to {@code LinkedHashMap}. For example, in the
       * above example, {@code WORD_TO_INT.entrySet()} is guaranteed to iterate over the entries in the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

       * @param executor the executor to run the listener in
       * @throws RejectedExecutionException if we tried to execute the listener immediately but the
       *     executor rejected it.
       */
      void addListener(Runnable listener, Executor executor);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        }
    
        /**
         * Returns an {@code ImmutableRangeMap} containing the associations previously added to this
         * builder.
         *
         * @throws IllegalArgumentException if any two ranges inserted into this builder overlap
         */
        public ImmutableRangeMap<K, V> build() {
          Collections.sort(entries, Range.<K>rangeLexOrdering().onKeys());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableRangeSet.java

         * merged, but overlapping ranges will cause an exception when {@link #build()} is called.
         *
         * @throws IllegalArgumentException if any inserted ranges are empty
         * @since 21.0
         */
        @CanIgnoreReturnValue
        public Builder<C> addAll(Iterable<Range<C>> ranges) {
          for (Range<C> range : ranges) {
            add(range);
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

         * merged, but overlapping ranges will cause an exception when {@link #build()} is called.
         *
         * @throws IllegalArgumentException if any inserted ranges are empty
         * @since 21.0
         */
        @CanIgnoreReturnValue
        public Builder<C> addAll(Iterable<Range<C>> ranges) {
          for (Range<C> range : ranges) {
            add(range);
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTest.java

          int size,
          HashMap<Object, Object> referenceMap,
          HashMap<Object, Object> map1,
          HashMap<Object, Object> map2)
          throws Exception {
        // Only start measuring table size after the first element inserted, to
        // deal with empty-map optimization.
        map1.put(0, null);
    
        int initialBuckets = bucketsOf(map1);
    
        for (int i = 1; i < size; i++) {
          map1.put(i, null);
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
Back to top