Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for Hafner (0.15 sec)

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

          return this;
        }
        int lowerIndex =
            SortedLists.binarySearch(
                ranges,
                Range::upperBound,
                range.lowerBound,
                KeyPresentBehavior.FIRST_AFTER,
                KeyAbsentBehavior.NEXT_HIGHER);
        int upperIndex =
            SortedLists.binarySearch(
                ranges,
                Range::lowerBound,
                range.upperBound,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        if (range.hasLowerBound()) {
          fromIndex =
              SortedLists.binarySearch(
                  ranges,
                  Range::upperBound,
                  range.lowerBound,
                  KeyPresentBehavior.FIRST_AFTER,
                  KeyAbsentBehavior.NEXT_HIGHER);
        } else {
          fromIndex = 0;
        }
    
        int toIndex;
        if (range.hasUpperBound()) {
          toIndex =
              SortedLists.binarySearch(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsTest.java

        Iterator<List<Integer>> iterator = partitions.iterator();
    
        // Changes before the partition is retrieved are reflected
        list.set(1, 4);
    
        List<Integer> first = iterator.next();
    
        // Changes after are too (unlike Iterables.partition)
        list.set(2, 5);
    
        assertEquals(asList(3, 4, 5), first);
    
        // Changes to a sublist also write through to the original list
        first.set(1, 6);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMap.java

        // bytes when the both the map and its keySet or value collection are written to the same
        // instance of ObjectOutputStream.
    
        // TODO(b/160980469): remove support for the old serialization format after some time
        private static final boolean USE_LEGACY_SERIALIZATION = true;
    
        private final Object keys;
        private final Object values;
    
        SerializedForm(ImmutableMap<K, V> map) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  5. README.md

        the [Guava Beta Checker] to ensure that you do not use any `@Beta` APIs!**
    
    2.  APIs without `@Beta` will remain binary-compatible for the indefinite
        future. (Previously, we sometimes removed such APIs after a deprecation
        period. The last release to remove non-`@Beta` APIs was Guava 21.0.) Even
        `@Deprecated` APIs will remain (again, unless they are `@Beta`). We have no
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

        return new HashSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code HashSet} instance initially containing the given elements.
       *
       * <p><b>Note:</b> if elements are non-null and won't be added or removed after this point, use
       * {@link ImmutableSet#of()} or {@link ImmutableSet#copyOf(Object[])} instead. If {@code E} is an
       * {@link Enum} type, use {@link EnumSet#of(Enum, Enum[])} instead. Otherwise, strongly consider
    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)
  7. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *
       * <p>The executor uses {@code delegate} in order to {@link Executor#execute execute} each task in
       * turn, and does not create any threads of its own.
       *
       * <p>After execution begins on a thread from the {@code delegate} {@link Executor}, tasks are
       * polled and executed from a task queue until there are no more tasks. The thread will not be
       * released until there are no more tasks to run.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Ordering.java

       * Returns a new ordering on {@code F} which orders elements by first applying a function to them,
       * then comparing those results using {@code this}. For example, to compare objects by their
       * string forms, in a case-insensitive manner, use:
       *
       * <pre>{@code
       * Ordering.from(String.CASE_INSENSITIVE_ORDER)
       *     .onResultOf(Functions.toStringFunction())
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
        List<Integer> first = partitions.next();
    
        // Changes after are not
        list.set(0, 4);
    
        assertEquals(ImmutableList.of(3), first);
      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ListsTest.java

        Iterator<List<Integer>> iterator = partitions.iterator();
    
        // Changes before the partition is retrieved are reflected
        list.set(1, 4);
    
        List<Integer> first = iterator.next();
    
        // Changes after are too (unlike Iterables.partition)
        list.set(2, 5);
    
        assertEquals(asList(3, 4, 5), first);
    
        // Changes to a sublist also write through to the original list
        first.set(1, 6);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
Back to top