Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for Davies (0.19 sec)

  1. android/guava/src/com/google/common/graph/Traverser.java

       * This is because the {@code forTree()}-based implementations don't keep track of visited nodes,
       * and therefore don't need to call `equals()` or `hashCode()` on the node objects; this saves
       * both time and space versus traversing the same graph using {@code forGraph()}.
       *
       * <p>Providing a graph to be traversed for which there is more than one path from the start
       * node(s) to any node may lead to:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

            .addEqualityGroup(Collections.reverseOrder())
            .testEquals();
      }
    
      public void testReverseOfReverseSameAsForward() {
        // Not guaranteed by spec, but it works, and saves us from testing
        // exhaustively
        assertSame(numberOrdering, numberOrdering.reverse().reverse());
      }
    
      private enum StringLengthFunction implements Function<String, Integer> {
        StringLength;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

            .addEqualityGroup(Collections.reverseOrder())
            .testEquals();
      }
    
      public void testReverseOfReverseSameAsForward() {
        // Not guaranteed by spec, but it works, and saves us from testing
        // exhaustively
        assertSame(numberOrdering, numberOrdering.reverse().reverse());
      }
    
      private enum StringLengthFunction implements Function<String, Integer> {
        StringLength;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        /** Gets the key for this entry. */
        K getKey();
    
        /** Gets the value for the entry. */
        V getValue();
      }
    
      /*
       * Note: the following classes have a lot of duplicate code. It sucks, but it saves a lot of
       * memory. If only Java had mixins!
       */
    
      /** Base class for {@link InternalEntry} implementations for strong keys. */
      abstract static class AbstractStrongKeyEntry<K, V, E extends InternalEntry<K, V, E>>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

        return s.charAt(rand.nextInt(s.length()));
      }
    
      /**
       * Provides samples on a random distribution derived from the web.
       *
       * <p>Adapted from data provided by Mark Davis.
       *
       * @author Christopher Swenson
       */
      static class CharSamples {
    
        static {
          populateProb1();
          populateProb2();
          populateChars1();
          populateChars2();
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/CharMatcherTest.java

            }
          };
    
      public void testAnyAndNone_logicalOps() throws Exception {
        // These are testing behavior that's never promised by the API, but since
        // we're lucky enough that these do pass, it saves us from having to write
        // more excruciating tests! Hooray!
    
        assertSame(CharMatcher.any(), CharMatcher.none().negate());
        assertSame(CharMatcher.none(), CharMatcher.any().negate());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

            }
          };
    
      public void testAnyAndNone_logicalOps() throws Exception {
        // These are testing behavior that's never promised by the API, but since
        // we're lucky enough that these do pass, it saves us from having to write
        // more excruciating tests! Hooray!
    
        assertSame(CharMatcher.any(), CharMatcher.none().negate());
        assertSame(CharMatcher.none(), CharMatcher.any().negate());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMap.java

       */
      @J2ktIncompatible // serialization
      static class SerializedForm<K, V> implements Serializable {
        // This object retains references to collections returned by keySet() and value(). This saves
        // bytes when the both the map and its keySet or value collection are written to the same
        // instance of ObjectOutputStream.
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/SloppyTearDown.java

    /**
     * Simple utility for when you want to create a {@link TearDown} that may throw an exception but
     * should not fail a test when it does. (The behavior of a {@code TearDown} that throws an exception
     * varies; see its documentation for details.) Use it just like a {@code TearDown}, except override
     * {@link #sloppyTearDown()} instead.
     *
     * @author Luiz-Otavio Zorzella
     * @since 10.0
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

        return (float) get();
      }
    
      /** Returns the value of this {@code AtomicDouble} as a {@code double}. */
      @Override
      public double doubleValue() {
        return get();
      }
    
      /**
       * Saves the state to a stream (that is, serializes it).
       *
       * @serialData The current value is emitted (a {@code double}).
       */
      private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 28 21:00:54 GMT 2022
    - 7.2K bytes
    - Viewed (0)
Back to top