Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 417 for Sall (0.55 sec)

  1. guava/src/com/google/common/collect/ForwardingMultiset.java

    import java.util.Collection;
    import java.util.Iterator;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A multiset which forwards all its method calls to another multiset. Subclasses should override
     * one or more methods to modify the behavior of the backing multiset as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ComparisonChain.java

     * .compare(a.foo, b.bar)}. {@code ComparisonChain} also has a potential performance problem that
     * {@code Comparator} doesn't: it evaluates all the parameters of all the {@code .compare} calls,
     * even when the result of the comparison is already known from previous {@code .compare} calls.
     * That can be expensive.
     *
     * @author Mark Davis
     * @author Kevin Bourrillion
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        service.notifyStopped();
        assertEquals(State.TERMINATED, service.state());
        assertFalse(service.isRunning());
        assertFalse(service.doStopCalled);
      }
    
      /**
       * The user of this service should call {@link #notifyStarted} and {@link #notifyStopped} after
       * calling {@link #startAsync} and {@link #stopAsync}.
       */
      private static class ManualSwitchedService extends AbstractService {
        boolean doStartCalled = false;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/TraverserTest.java

       * }</pre>
       */
      private static final SuccessorsFunction<Character> TWO_CYCLES_GRAPH =
          createDirectedGraph("ab", "ac", "bc", "cd", "da");
    
      /**
       * A tree-shaped graph that looks as follows (all edges are directed facing downwards):
       *
       * <pre>{@code
       *        h
       *       /|\
       *      / | \
       *     /  |  \
       *    d   e   g
       *   /|\      |
       *  / | \     |
       * a  b  c    f
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        new NullPointerTester().testAllPublicConstructors(AtomicDoubleArray.class);
        new NullPointerTester().testAllPublicInstanceMethods(new AtomicDoubleArray(1));
      }
    
      /** constructor creates array of given size with all elements zero */
      public void testConstructor() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
          assertBitEquals(0.0, aa.get(i));
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          V value = localCache.get(key);
          if (value != null) {
            return value;
          }
    
          try {
            V newValue = valueLoader.call();
            localCache.put(key, newValue);
            return newValue;
          } catch (Exception e) {
            throw new ExecutionException(e);
          }
        }
    
        @Override
    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-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

        return Collectors.collectingAndThen(
            Collectors.toMap(keyFunction, valueFunction, mergeFunction, LinkedHashMap::new),
            ImmutableMap::copyOf);
      }
    
      @SuppressWarnings("unchecked") // An empty map works for all types.
      public static <K, V> ImmutableMap<K, V> of() {
        return (ImmutableMap<K, V>) RegularImmutableMap.EMPTY;
      }
    
      public static <K, V> ImmutableMap<K, V> of(K k1, V v1) {
        return ImmutableBiMap.of(k1, v1);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        } catch (AssertionFailedError expected) {
          return;
        }
        fail("Should have failed");
      }
    
      /** An interface for the 2 ways that a chaining call might be defined. */
      private interface ChainingCalls {
        // A method that is defined to 'return this'
        @CanIgnoreReturnValue
        ChainingCalls chainingCall();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          TypeVariable<?>[] typeVars = rawType.getTypeParameters();
          for (int i = 0; i < params.size(); i++) {
            TypeToken<?> paramType = type.resolveType(typeVars[i]);
            // We require all @Generates methods to either be parameter-less or accept non-null
            // values for their generic parameter types.
            Object argValue = generate(paramType);
            if (argValue == null) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/DiscreteDomain.java

    import java.io.Serializable;
    import java.math.BigInteger;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
     * A descriptor for a <i>discrete</i> {@code Comparable} domain such as all {@link Integer}
     * instances. A discrete domain is one that supports the three basic operations: {@link #next},
     * {@link #previous} and {@link #distance}, according to their specifications. The methods {@link
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top