Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 270 for Implementation (0.32 sec)

  1. guava/src/com/google/common/graph/DirectedGraphConnections.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicBoolean;
    import javax.annotation.CheckForNull;
    
    /**
     * An implementation of {@link GraphConnections} for directed graphs.
     *
     * @author James Sexton
     * @author Jens Nyman
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     */
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      static <V extends @Nullable Object, X extends Exception> V getChecked(
          Future<V> future, Class<X> exceptionClass) throws X {
        return getChecked(bestGetCheckedTypeValidator(), future, exceptionClass);
      }
    
      /** Implementation of {@link Futures#getChecked(Future, Class)}. */
      @CanIgnoreReturnValue
      @VisibleForTesting
      @ParametricNullness
      static <V extends @Nullable Object, X extends Exception> V getChecked(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Cut.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.primitives.Booleans;
    import java.io.Serializable;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation detail for the internal structure of {@link Range} instances. Represents a unique
     * way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Ordering.java

        // TODO(kevinb): if we change this implementation, add full unit tests.
        return this.<E>reverse().leastOf(iterable, k);
      }
    
      /**
       * Returns the {@code k} greatest elements from the given iterator according to this ordering, in
       * order from greatest to least. If there are fewer than {@code k} elements present, all will be
       * included.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/LongMathTest.java

              int actual = LongMath.lessThanBranchFree(x, y);
              assertEquals(expected, actual);
            }
          }
        }
      }
    
      // Throws an ArithmeticException if "the simple implementation" of binomial coefficients overflows
      @GwtIncompatible // TODO
      private long simpleBinomial(int n, int k) {
        long accum = 1;
        for (int i = 0; i < k; i++) {
          accum = LongMath.checkedMultiply(accum, n - i);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Cut.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.primitives.Booleans;
    import java.io.Serializable;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation detail for the internal structure of {@link Range} instances. Represents a unique
     * way of "cutting" a "number line" (actually of instances of type {@code C}, not necessarily
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

        @Override
        @CheckForNull
        public Class<?> loadFinalizer() {
          try {
            /*
             * We use URLClassLoader because it's the only concrete class loader implementation in the
             * JDK. If we used our own ClassLoader subclass, Finalizer would indirectly reference this
             * class loader:
             *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractBiMap.java

    import java.util.Iterator;
    import java.util.Map;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A general-purpose bimap implementation using any two backing {@code Map} instances.
     *
     * <p>Note that this class contains {@code equals()} calls that keep it from supporting {@code
     * IdentityHashMap} backing maps.
     *
     * @author Kevin Bourrillion
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeMultiset.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A multiset which maintains the ordering of its elements, according to either their natural order
     * or an explicit {@link Comparator}. In all cases, this implementation uses {@link
     * Comparable#compareTo} or {@link Comparator#compare} instead of {@link Object#equals} to determine
     * equivalence of instances.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Functions.java

        }
      }
    
      /**
       * Returns the identity function.
       *
       * <p><b>Discouraged:</b> Prefer using a lambda like {@code v -> v}, which is shorter and often
       * more readable.
       */
      // implementation is "fully variant"; E has become a "pass-through" type
      @SuppressWarnings("unchecked")
      public static <E extends @Nullable Object> Function<E, E> identity() {
        return (Function<E, E>) IdentityFunction.INSTANCE;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top