Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Vaughn (0.19 sec)

  1. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

       * #containsKey} to forward to this implementation.
       *
       * @since 7.0
       */
      @Override
      protected boolean standardContainsKey(@CheckForNull Object key) {
        try {
          // any CCE or NPE will be caught
          @SuppressWarnings({"unchecked", "nullness"})
          SortedMap<@Nullable Object, V> self = (SortedMap<@Nullable Object, V>) this;
          Object ceilingKey = self.tailMap(key).firstKey();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingQueue.java

       *
       * @since 7.0
       */
      protected boolean standardOffer(@ParametricNullness E e) {
        try {
          return add(e);
        } catch (IllegalStateException caught) {
          return false;
        }
      }
    
      /**
       * A sensible definition of {@link #peek} in terms of {@link #element}. If you override {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheLoader.java

       *     treated like any other {@code Exception} in all respects except that, when it is caught,
       *     the thread's interrupt status is set
       * @since 11.0
       */
      public Map<K, V> loadAll(Iterable<? extends K> keys) throws Exception {
        // This will be caught by getAll(), causing it to fall back to multiple calls to
        // LoadingCache.get
        throw new UnsupportedLoadingOperationException();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingSortedSet.java

       *
       * @since 7.0
       */
      @Override
      protected boolean standardContains(@CheckForNull Object object) {
        try {
          // any ClassCastExceptions and NullPointerExceptions are caught
          @SuppressWarnings({"unchecked", "nullness"})
          SortedSet<@Nullable Object> self = (SortedSet<@Nullable Object>) this;
          Object ceiling = self.tailSet(object).first();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java

      static final ReverseNaturalOrdering INSTANCE = new ReverseNaturalOrdering();
    
      @Override
      public int compare(Comparable<?> left, Comparable<?> right) {
        checkNotNull(left); // right null is caught later
        if (left == right) {
          return 0;
        }
    
        return ((Comparable<Object>) right).compareTo(left);
      }
    
      @Override
      public <S extends Comparable<?>> Ordering<S> reverse() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

           * value is set in addition to the call we'll make after then.
           */
          allowGetToComplete.await(1, SECONDS);
          throw new RuntimeException("expected, should be caught");
        }
    
        @Override
        public V get(long timeout, TimeUnit unit) {
          throw new AssertionFailedError();
        }
    
        @Override
        public boolean isCancelled() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    the room.  The cook threw a frying-pan after her as she went out,
    but it just missed her.
    
      Alice caught the baby with some difficulty, as it was a queer-
    shaped little creature, and held out its arms and legs in all
    directions, `just like a star-fish,' thought Alice.  The poor
    little thing was snorting like a steam-engine when she caught it,
    and kept doubling itself up and straightening itself out again,
    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)
  8. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            .addEqualityGroup(ImmutableDoubleArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3);
        assertDoesntActuallyTrim(iia);
        assertDoesntActuallyTrim(iia.subArray(0, 3));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

            .addEqualityGroup(ImmutableLongArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3);
        assertDoesntActuallyTrim(iia);
        assertDoesntActuallyTrim(iia.subArray(0, 3));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

     * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and logged.
     *
     * @author Nishant Thakkar
     * @author Sven Mawson
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class ExecutionList {
      /** Logger to log exceptions caught when running runnables. */
      private static final LazyLogger log = new LazyLogger(ExecutionList.class);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
Back to top