Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,453 for nilable (0.15 sec)

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

       */
      public static <K extends @Nullable Object, V extends @Nullable Object> Multimap<K, V> newMultimap(
          Map<K, Collection<V>> map, final Supplier<? extends Collection<V>> factory) {
        return new CustomMultimap<>(map, factory);
      }
    
      private static class CustomMultimap<K extends @Nullable Object, V extends @Nullable Object>
          extends AbstractMapBasedMultimap<K, V> {
    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)
  2. android/guava/src/com/google/common/collect/ObjectArrays.java

       */
      static <T extends @Nullable Object> T[] toArrayImpl(
          @Nullable Object[] src, int offset, int len, T[] dst) {
        checkPositionIndexes(offset, offset + len, src.length);
        if (dst.length < len) {
          dst = newArray(dst, len);
        } else if (dst.length > len) {
          @Nullable Object[] unsoundlyCovariantArray = dst;
          unsoundlyCovariantArray[len] = null;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

                    return (from == null) ? true : null;
                  }
                });
    
        Set<Entry<@Nullable String, @Nullable Boolean>> entries = map.entrySet();
        assertTrue(entries.contains(Maps.immutableEntry("a", true)));
        assertTrue(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("b", null)));
        assertTrue(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

      public final boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      public final boolean containsKey(@Nullable Object key) {
        return Maps.safeContainsKey(delegate, key);
      }
    
      public final boolean containsValue(@Nullable Object value) {
        return delegate.containsValue(value);
      }
    
      public @Nullable V get(@Nullable Object key) {
        return (key == null) ? null : Maps.safeGet(delegate, key);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 24 16:03:45 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        public static Object good(
            String a,
            int b,
            // oneConstantOnly doesn't matter since it's not nullable and can be only 1 value.
            @SuppressWarnings("unused") OneConstantEnum oneConstantOnly,
            // noConstant doesn't matter since it can only be null
            @SuppressWarnings("unused") @Nullable NoConstantEnum noConstant) {
          return new GoodEquals(a, b);
        }
    
        // instance method ignored
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

      @SuppressWarnings("unchecked")
      static <K extends @Nullable Object> Function<Entry<K, ?>, K> keyFunction() {
        return (Function) EntryFunction.KEY;
      }
    
      @SuppressWarnings("unchecked")
      static <V extends @Nullable Object> Function<Entry<?, V>, V> valueFunction() {
        return (Function) EntryFunction.VALUE;
      }
    
      static <K extends @Nullable Object, V extends @Nullable Object> Iterator<K> keyIterator(
    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)
  7. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        public @Nullable K floorKey(K key) {
          return standardFloorKey(key);
        }
    
        @Override
        public @Nullable Entry<K, V> ceilingEntry(K key) {
          return standardCeilingEntry(key);
        }
    
        @Override
        public @Nullable K ceilingKey(K key) {
          return standardCeilingKey(key);
        }
    
        @Override
        public @Nullable Entry<K, V> higherEntry(K key) {
          return standardHigherEntry(key);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 9.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RowSortedTable.java

     * Table} interface.
     *
     * @author Warren Dukes
     * @since 8.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface RowSortedTable<
            R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
        extends Table<R, C, V> {
      /**
       * {@inheritDoc}
       *
       * <p>This method returns a {@link SortedSet}, instead of the {@code Set} specified in the {@link
       * Table} interface.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jul 15 15:41:16 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/OrderingTest.java

        List<@Nullable Integer> list4 = Lists.newArrayList(1, 2);
        List<@Nullable Integer> list5 = Lists.newArrayList(1, null, 2);
        List<@Nullable Integer> list6 = Lists.newArrayList(2);
        List<@Nullable Integer> list7 = Lists.newArrayList(nullInt);
        List<@Nullable Integer> list8 = Lists.newArrayList(nullInt, nullInt);
        List<@Nullable List<@Nullable Integer>> list =
    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)
  10. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        List<@Nullable Integer> list4 = Lists.newArrayList(1, 2);
        List<@Nullable Integer> list5 = Lists.newArrayList(1, null, 2);
        List<@Nullable Integer> list6 = Lists.newArrayList(2);
        List<@Nullable Integer> list7 = Lists.newArrayList(nullInt);
        List<@Nullable Integer> list8 = Lists.newArrayList(nullInt, nullInt);
        List<@Nullable List<@Nullable Integer>> list =
    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)
Back to top