Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 763 for science (0.11 sec)

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

       *
       * <p>The returned iterable is an unmodifiable view of the input array.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link java.util.stream.Stream#of(Object[])
       * Stream.of(T...)}.
       *
       * @since 20.0 (since 18.0 as an overload of {@code of})
       */
      public static <E extends @Nullable Object> FluentIterable<E> from(E[] elements) {
        return from(Arrays.asList(elements));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

     * EqualsTester}. It includes an extra test against an instance of an arbitrary class without having
     * to explicitly add another equivalence group.
     *
     * @author Gregory Kick
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    public final class EquivalenceTester<T> {
      private static final int REPETITIONS = 3;
    
      private final Equivalence<? super T> equivalence;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/LongMath.java

         *          since casting to double is nondecreasing.
         *          Note that the right-hand inequality is no longer strict.
         * Math.sqrt(k * k) <= Math.sqrt(x) <= Math.sqrt((k + 1) * (k + 1))
         *          since Math.sqrt is monotonic.
         * (long) Math.sqrt(k * k) <= (long) Math.sqrt(x) <= (long) Math.sqrt((k + 1) * (k + 1))
         *          since casting to long is monotonic
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMap.java

          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableMap<K, V> kvMap = (ImmutableMap<K, V>) map;
          if (!kvMap.isPartialView()) {
            return kvMap;
          }
        } else if (map instanceof EnumMap) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableMap<K, V> kvMap =
              (ImmutableMap<K, V>)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ListeningScheduledExecutorService.java

     *
     * @author Chris Povirk
     * @since 10.0
     */
    @GwtIncompatible
    public interface ListeningScheduledExecutorService
        extends ScheduledExecutorService, ListeningExecutorService {
    
      /**
       * @since 15.0 (previously returned ScheduledFuture)
       */
      @Override
      ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit);
    
      /**
       * @since 15.0 (previously returned ScheduledFuture)
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 17:30:04 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SpnegoContextTest.java

            // The mock setup is unnecessary since we never call it
            assertFalse(ctx.isEstablished());
            verify(this.mechContext, never()).isEstablished();
        }
    
        @Test
        @DisplayName("getNetbiosName returns null and does not call delegate")
        void testGetNetbiosName() {
            SpnegoContext ctx = newContext();
            // The mock setup is unnecessary since we never call it
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InternetDomainName.java

       *
       * @since 6.0
       */
      public boolean hasPublicSuffix() {
        return publicSuffixIndex() != NO_SUFFIX_FOUND;
      }
    
      /**
       * Returns the {@linkplain #isPublicSuffix() public suffix} portion of the domain name, or {@code
       * null} if no public suffix is present.
       *
       * @since 6.0
       */
      public @Nullable InternetDomainName publicSuffix() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Service.java

       * @since 15.0
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      void awaitTerminated(long timeout, TimeUnit unit) throws TimeoutException;
    
      /**
       * Returns the {@link Throwable} that caused this service to fail.
       *
       * @throws IllegalStateException if this service's state isn't {@linkplain State#FAILED FAILED}.
       * @since 14.0
       */
      Throwable failureCause();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Comparators.java

       * than all other values, and orders the rest using {@code valueComparator} on the contained
       * value.
       *
       * @since 22.0 (but only since 33.4.0 in the Android flavor)
       */
      public static <T> Comparator<Optional<T>> emptiesFirst(Comparator<? super T> valueComparator) {
        checkNotNull(valueComparator);
        return Comparator.<Optional<T>, @Nullable T>comparing(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

     *     SomeClass.foo();
     *     LogRecord firstRecord = handler.getStoredLogRecords().get(0);
     *     assertEquals("some message", firstRecord.getMessage());
     *   }
     * </pre>
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    public class TestLogHandler extends Handler {
      private final Object lock = new Object();
    
      /** We will keep a private list of all logged records */
      @GuardedBy("lock")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top