Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 305 for sinulle (0.15 sec)

  1. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        CompactLinkedHashMap<Integer, String> map = CompactLinkedHashMap.create();
        assertThat(map.needsAllocArrays()).isTrue();
        assertThat(map.entries).isNull();
        assertThat(map.keys).isNull();
        assertThat(map.values).isNull();
        assertThat(map.links).isNull();
    
        map.put(1, Integer.toString(1));
        assertThat(map.needsAllocArrays()).isFalse();
        assertThat(map.entries).hasLength(CompactHashing.DEFAULT_SIZE);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 21 14:41:51 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/MapCacheTest.java

        assertThat(fooReference1).isNotSameInstanceAs(fooReference2);
    
        assertThat(mapCache.put(fooReference1, "bar")).isNull();
        assertThat(mapCache.get(fooReference1)).isEqualTo("bar"); // ensure first reference is cached
        assertThat(mapCache.remove(fooReference2)).isEqualTo("bar");
        assertThat(mapCache.get(fooReference1)).isNull();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 26 16:23:26 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java

        return suite;
      }
    
      public void testAllocArraysDefault() {
        CompactHashSet<Integer> set = CompactHashSet.create();
        assertThat(set.needsAllocArrays()).isTrue();
        assertThat(set.elements).isNull();
    
        set.add(1);
        assertThat(set.needsAllocArrays()).isFalse();
        assertThat(set.elements).hasLength(CompactHashing.DEFAULT_SIZE);
      }
    
      public void testAllocArraysExpectedSize() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Oct 24 18:57:48 GMT 2019
    - 3.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Objects.java

      }
    
      /**
       * Generates a hash code for multiple values. The hash code is generated by calling {@link
       * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a
       * single Object array, do not get any special handling; their hash codes are based on identity
       * and not contents.
       *
       * <p>This is useful for implementing {@link Object#hashCode()}. For example, in an object that
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheStats.java

       * loaded) value, or null. Multiple concurrent calls to {@link Cache} lookup methods on an absent
       * value can result in multiple misses, all returning the results of a single cache load
       * operation.
       */
      public long missCount() {
        return missCount;
      }
    
      /**
       * Returns the ratio of cache requests which were misses. This is defined as {@code missCount /
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheStats.java

       * loaded) value, or null. Multiple concurrent calls to {@link Cache} lookup methods on an absent
       * value can result in multiple misses, all returning the results of a single cache load
       * operation.
       */
      public long missCount() {
        return missCount;
      }
    
      /**
       * Returns the ratio of cache requests which were misses. This is defined as {@code missCount /
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/PairedStats.java

      public Stats yStats() {
        return yStats;
      }
    
      /**
       * Returns the population covariance of the values. The count must be non-zero.
       *
       * <p>This is guaranteed to return zero if the dataset contains a single pair of finite values. It
       * is not guaranteed to return zero when the dataset consists of the same pair of values multiple
       * times, due to numerical errors.
       *
       * <h3>Non-finite values</h3>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

       * All node connections in this graph, in edge insertion order.
       *
       * <p>Note: This field and {@link #adjacentNodeValues} cannot be combined into a single
       * LinkedHashMap because one target node may be mapped to both a predecessor and a successor. A
       * LinkedHashMap combines two such edges into a single node-value pair, even though the edges may
       * not have been inserted consecutively.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      }
    
      /**
       * Replaces the existing container under test with a new container. This is useful when a single
       * test method needs to create multiple containers while retaining the ability to use {@link
       * #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of
       * multiple containers in a single method is discouraged in most cases, but it is vital to the
       * iterator tests.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java

        String getMavenVersion();
    
        /**
         * Checks whether the current Maven runtime matches the specified version range. A version range can either use the
         * usual mathematical syntax "[2.0.10,2.1.0),[3.0,)" or use a single version "2.2.1". The latter is a short form for
         * "[2.2.1,)", i.e. denotes the minimum version required.
         *
         * @param versionRange The version range to match the current Maven runtime against, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.9K bytes
    - Viewed (0)
Back to top