Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 288 for through (0.18 sec)

  1. android/guava/src/com/google/common/base/Suppliers.java

      private enum SupplierFunctionImpl implements SupplierFunction<@Nullable Object> {
        INSTANCE;
    
        // Note: This makes T a "pass-through type"
        @Override
        @CheckForNull
        public Object apply(Supplier<@Nullable Object> input) {
          return input.get();
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         *
         * <p>This method is used when testing iterators without a known ordering. We poll the target
         * iterator's next element and pass it to the reference iterator through this method so it can
         * return the same element. This enables the assertion to pass and the reference iterator to
         * properly update its state.
         */
        void promoteToNext(E e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        checkFromStringCase("[]:80", 1, null, 99, false);
        checkFromStringCase("[]bad", 1, null, 99, false);
      }
    
      public void testFromStringParseableNonsense() {
        // Examples of nonsense that gets through.
        checkFromStringCase("[[:]]", 86, "[:]", 86, false);
        checkFromStringCase("x:y:z", 87, "x:y:z", 87, false);
        checkFromStringCase("", 88, "", 88, false);
        checkFromStringCase(":", 99, "", 99, false);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

      interface ConcurrentlyMutatedList<E> extends List<E> {
        /**
         * The elements of a {@link ConcurrentlyMutatedList} are added and removed over time. This
         * method returns every state that the list has passed through at some point.
         */
        Set<List<E>> getAllStates();
      }
    
      /**
       * Returns a {@link ConcurrentlyMutatedList} that performs the given operations as its concurrent
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/EndpointPairIterator.java

        this.nodeIterator = graph.nodes().iterator();
      }
    
      /**
       * Called after {@link #successorIterator} is exhausted. Advances {@link #node} to the next node
       * and updates {@link #successorIterator} to iterate through the successors of {@link #node}.
       */
      final boolean advance() {
        checkState(!successorIterator.hasNext());
        if (!nodeIterator.hasNext()) {
          return false;
        }
        node = nodeIterator.next();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multisets.java

        return CollectCollectors.toMultiset(elementFunction, countFunction, multisetSupplier);
      }
    
      /**
       * Returns an unmodifiable view of the specified multiset. Query operations on the returned
       * multiset "read through" to the specified multiset, and attempts to modify the returned multiset
       * result in an {@link UnsupportedOperationException}.
       *
       * <p>The returned multiset will be serializable if the specified multiset is serializable.
    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)
  7. guava-tests/test/com/google/common/base/AbstractIteratorTest.java

            new AbstractIterator<Integer>() {
              @Override
              public Integer computeNext() {
                throw exception;
              }
            };
    
        // It should pass through untouched
        try {
          iter.hasNext();
          fail("No exception thrown");
        } catch (SomeUncheckedException e) {
          assertSame(exception, e);
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/AbstractIteratorTest.java

            new AbstractIterator<Integer>() {
              @Override
              public Integer computeNext() {
                throw exception;
              }
            };
    
        // It should pass through untouched
        try {
          iter.hasNext();
          fail("No exception thrown");
        } catch (SomeUncheckedException e) {
          assertSame(exception, e);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

       * there's no problem. The reason: {@link EqualsTester} tests {@code null} and identical inputs
       * directly against {@code equals()} rather than through the {@code Equivalence}.
       */
      private final Equivalence<? super T> equivalence;
    
      private final String relationshipName;
      private final String hashName;
      private final ItemReporter itemReporter;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/HashBiMap.java

          extends ImmutableEntry<K, V> {
        final int keyHash;
        final int valueHash;
    
        // All BiEntry instances are strongly reachable from owning HashBiMap through
        // "HashBiMap.hashTableKToV" and "BiEntry.nextInKToVBucket" references.
        // Under that assumption, the remaining references can be safely marked as @Weak.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
Back to top