Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,322 for IF (0.12 sec)

  1. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

              } finally {
                task = null;
              }
            }
          } finally {
            // Ensure that if the thread was interrupted at all while processing the task queue, it
            // is returned to the delegate Executor interrupted so that it may handle the
            // interruption if it likes.
            if (interruptedDuringTask) {
              Thread.currentThread().interrupt();
            }
          }
        }
    
    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)
  2. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

        }
      }
    
      /**
       * Returns {@code true} if {@code object} is an {@code ImmutableDoubleArray} containing the same
       * values as this one, in the same order. Values are compared as if by {@link Double#equals}.
       */
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (!(object instanceof ImmutableDoubleArray)) {
          return false;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Collections2.java

          // next permutation.
          if (j == -1) {
            return;
          }
    
          while (true) {
            int q = c[j] + o[j];
            if (q < 0) {
              switchDirection();
              continue;
            }
            if (q == j + 1) {
              if (j == 0) {
                break;
              }
              s++;
              switchDirection();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

          Multiset<E> self, Multiset<? extends E> elements) {
        // It'd be nice if we could specialize for ImmutableMultiset here without also retaining
        // its code when it's not in scope...
        if (elements instanceof AbstractMapBasedMultiset) {
          return addAllImpl(self, (AbstractMapBasedMultiset<? extends E>) elements);
        } else if (elements.isEmpty()) {
          return false;
        } else {
    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)
  5. android/guava/src/com/google/common/graph/StandardMutableValueGraph.java

        checkNotNull(node, "node");
    
        GraphConnections<N, V> connections = nodeConnections.get(node);
        if (connections == null) {
          return false;
        }
    
        if (allowsSelfLoops()) {
          // Remove self-loop (if any) first, so we don't get CME while removing incident edges.
          if (connections.removeSuccessor(node) != null) {
            connections.removePredecessor(node);
            --edgeCount;
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Oct 21 01:50:30 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      public boolean containsValue(Object value) {
        for (Timestamped<V> val : cachingHashMap.values()) {
          if (val.getValue().equals(value)) {
            if (!isExpired(val)) {
              return true;
            }
          }
        }
        return false;
      }
    
      private boolean isExpired(Timestamped<V> stamped) {
        if ((expireAfterAccess == UNSET_INT) && (expireAfterWrite == UNSET_INT)) {
          return false;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableList.java

       *
       * @throws NullPointerException if {@code elements} contains a null element
       */
      public static <E> ImmutableList<E> copyOf(Iterator<? extends E> elements) {
        // We special-case for 0 or 1 elements, but going further is madness.
        if (!elements.hasNext()) {
          return of();
        }
        E first = elements.next();
        if (!elements.hasNext()) {
          return of(first);
        } else {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       * such index exists. Equivalent to {@code asList().lastIndexOf(target)}.
       */
      public int lastIndexOf(int target) {
        for (int i = end - 1; i >= start; i--) {
          if (array[i] == target) {
            return i - start;
          }
        }
        return -1;
      }
    
      /**
       * Returns {@code true} if {@code target} is present at any index in this array. Equivalent to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

      }
    
      /**
       * Returns a {@code Future} whose result is taken from this {@code Future} or, if this {@code
       * Future} fails with the given {@code exceptionType}, from the result provided by the {@code
       * fallback}. {@link Function#apply} is not invoked until the primary input has failed, so if the
       * primary input succeeds, it is never invoked. If, during the invocation of {@code fallback}, an
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/Types.java

       * Java 8. If we include the {@code getAnnotatedBounds()} method then its return type means it
       * won't compile on Java 7, while if we don't include the method then the compiler will complain
       * that an abstract method is unimplemented. So instead we use a dynamic proxy to get an
       * implementation. If the method being called on the {@code TypeVariable} instance has the same
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top