Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,034 for nulla (0.15 sec)

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

      /**
       * Moves the last entry in the entry array into {@code dstIndex}, and nulls out its old position.
       */
      void moveLastEntry(int dstIndex) {
        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
          keys[dstIndex] = keys[srcIndex];
          values[dstIndex] = values[srcIndex];
          keys[srcIndex] = null;
          values[srcIndex] = 0;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 15K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashMap.java

        if (delegate != null) {
          metadata =
              Ints.constrainToRange(size(), CompactHashing.DEFAULT_SIZE, CompactHashing.MAX_SIZE);
          delegate.clear(); // invalidate any iterators left over!
          table = null;
          size = 0;
        } else {
          Arrays.fill(requireKeys(), 0, size, null);
          Arrays.fill(requireValues(), 0, size, null);
          CompactHashing.tableClear(requireTable());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterators.java

        @CheckForNull
        private Iterator<? extends Iterator<? extends T>> getTopMetaIterator() {
          while (topMetaIterator == null || !topMetaIterator.hasNext()) {
            if (metaIterators != null && !metaIterators.isEmpty()) {
              topMetaIterator = metaIterators.removeFirst();
            } else {
              return null;
            }
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 20 03:33:06 GMT 2024
    - 50.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       *
       * @throws NullPointerException if any key or value in {@code map} is null
       */
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableSortedMap<K, V> copyOfSorted(SortedMap<K, ? extends V> map) {
        Comparator<? super K> comparator = map.comparator();
        if (comparator == null) {
          // If map has a null comparator, the keys should have a natural ordering,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 52.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

      }
    
      /*
       * All the ContiguousSet generators below manually reject nulls here. In principle, we'd like to
       * defer that to Range, since it's ContiguousSet.create() that's used to create the sets. However,
       * that gets messy here, and we already have null tests for Range.
       */
    
      /*
       * These generators also rely on consecutive integer inputs (not necessarily in order, but no
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

            prepareUnmodifiableTests(HashMultimap.<String, Integer>create(), false, null, null);
        SerializableTester.reserializeAndAssert(unmodifiable);
      }
    
      @GwtIncompatible // slow (~10s)
      public void testUnmodifiableTreeMultimap() {
        checkUnmodifiableMultimap(TreeMultimap.<String, Integer>create(), false, "null", 42);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Tables.java

       * removal operations, and these are reflected in the underlying table.
       *
       * <p>It's acceptable for the underlying table to contain null keys, and even null values provided
       * that the function is capable of accepting null input. The transformed table might contain null
       * 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.
       *
    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)
  8. guava-tests/test/com/google/common/collect/IteratorsTest.java

        List<@Nullable String> list = newArrayList("a", null, "b", null, "a", null);
        assertEquals(2, Iterators.frequency(list.iterator(), "a"));
        assertEquals(1, Iterators.frequency(list.iterator(), "b"));
        assertEquals(0, Iterators.frequency(list.iterator(), "c"));
        assertEquals(0, Iterators.frequency(list.iterator(), 4.2));
        assertEquals(3, Iterators.frequency(list.iterator(), null));
      }
    
      @GwtIncompatible // slow (~4s)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        List<@Nullable String> list = newArrayList("a", null, "b", null, "a", null);
        assertEquals(2, Iterators.frequency(list.iterator(), "a"));
        assertEquals(1, Iterators.frequency(list.iterator(), "b"));
        assertEquals(0, Iterators.frequency(list.iterator(), "c"));
        assertEquals(0, Iterators.frequency(list.iterator(), 4.2));
        assertEquals(3, Iterators.frequency(list.iterator(), null));
      }
    
      @GwtIncompatible // slow (~4s)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

                      }
                    })
                .named("TreeMultimap nullsFirst")
                .withFeatures(
                    MapFeature.ALLOWS_NULL_KEYS,
                    MapFeature.ALLOWS_NULL_VALUES,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES,
                    MapFeature.GENERAL_PURPOSE,
                    MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top