Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Family (0.15 sec)

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

        Field tableField = HashMap.class.getDeclaredField("table");
        tableField.setAccessible(true);
        Object[] table = (Object[]) tableField.get(hashMap);
        // In JDK8, table is set lazily, so it may be null.
        return table == null ? 0 : table.length;
      }
    
      public void testCapacityForLargeSizes() {
        int[] largeExpectedSizes =
            new int[] {
              Integer.MAX_VALUE / 2 - 1,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        Field tableField = HashMap.class.getDeclaredField("table");
        tableField.setAccessible(true);
        Object[] table = (Object[]) tableField.get(hashMap);
        // In JDK8, table is set lazily, so it may be null.
        return table == null ? 0 : table.length;
      }
    
      public void testCapacityForLargeSizes() {
        int[] largeExpectedSizes =
            new int[] {
              Integer.MAX_VALUE / 2 - 1,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Optional.java

      /**
       * Returns the value of each present instance from the supplied {@code optionals}, in order,
       * skipping over occurrences of {@link Optional#absent}. Iterators are unmodifiable and are
       * evaluated lazily.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method has no equivalent in Java 8's
       * {@code Optional} class; use {@code
       * optionals.stream().filter(Optional::isPresent).map(Optional::get)} instead.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       *
       * @param hash the hash code for the key
       * @return the segment
       */
      Segment<K, V, E, S> segmentFor(int hash) {
        // TODO(fry): Lazily create segments?
        return segments[(hash >>> segmentShift) & segmentMask];
      }
    
      Segment<K, V, E, S> createSegment(int initialCapacity) {
        return entryHelper.newSegment(this, initialCapacity);
      }
    
    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. android/guava/src/com/google/common/collect/Sets.java

        }
      }
    
      /**
       * Returns a view of the portion of {@code set} whose elements are contained by {@code range}.
       *
       * <p>This method delegates to the appropriate methods of {@link NavigableSet} (namely {@link
       * NavigableSet#subSet(Object, boolean, Object, boolean) subSet()}, {@link
       * NavigableSet#tailSet(Object, boolean) tailSet()}, and {@link NavigableSet#headSet(Object,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

       * and {@code get()} will return a general {@code Collection} as opposed to a {@code List} or a
       * {@code Set}.
       *
       * <p>The function is applied lazily, invoked when needed. This is necessary for the returned
       * multimap to be a view, but it means that the function will be applied many times for bulk
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

       * values, if the function sometimes gives a null result.
       *
       * <p>The returned map is not thread-safe or serializable, even if the underlying map is.
       *
       * <p>The function is applied lazily, invoked when needed. This is necessary for the returned map
       * to be a view, but it means that the function will be applied many times for bulk operations
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Optional.java

      /**
       * Returns the value of each present instance from the supplied {@code optionals}, in order,
       * skipping over occurrences of {@link Optional#absent}. Iterators are unmodifiable and are
       * evaluated lazily.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method has no equivalent in Java 8's
       * {@code Optional} class; use {@code
       * optionals.stream().filter(Optional::isPresent).map(Optional::get)} instead.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 13K bytes
    - Viewed (0)
  9. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

              "n?ten?ude?vog???s!.&g&nabhsah,ro??l&im?xv,?m&oc...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/Tables.java

       * values, if the function sometimes gives a null result.
       *
       * <p>The returned table is not thread-safe or serializable, even if the underlying table is.
       *
       * <p>The function is applied lazily, invoked when needed. This is necessary for the returned
       * table to be a view, but it means that the function will be applied many times for bulk
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
Back to top