Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for safeGet (0.06 sec)

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

        Map<C, V> row = safeGet(rowMap(), rowKey);
        return row != null && Maps.safeContainsKey(row, columnKey);
      }
    
      @Override
      public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return (row == null) ? null : safeGet(row, columnKey);
      }
    
      @Override
      public boolean isEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractTable.java

        Map<C, V> row = safeGet(rowMap(), rowKey);
        return row != null && Maps.safeContainsKey(row, columnKey);
      }
    
      @Override
      public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) {
        Map<C, V> row = safeGet(rowMap(), rowKey);
        return (row == null) ? null : safeGet(row, columnKey);
      }
    
      @Override
      public boolean isEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/StandardTable.java

    import static com.google.common.collect.Maps.asMapEntryIterator;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.Maps.safeContainsKey;
    import static com.google.common.collect.Maps.safeGet;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static com.google.common.collect.Tables.immutableCell;
    import static java.util.Objects.requireNonNull;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

      public final boolean containsValue(@Nullable Object value) {
        return delegate.containsValue(value);
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        return (key == null) ? null : Maps.safeGet(delegate, key);
      }
    
      @Override
      ImmutableSet<Entry<K, V>> createEntrySet() {
        return ImmutableSet.unsafeDelegate(
            new ForwardingSet<Entry<K, V>>() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.Maps.safeGet;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

        public Iterator<K> iterator() {
          return Maps.keyIterator(multimap.entries().iterator());
        }
    
        @Override
        public int count(@Nullable Object element) {
          Collection<V> values = Maps.safeGet(multimap.asMap(), element);
          return (values == null) ? 0 : values.size();
        }
    
        @Override
        public int remove(@Nullable Object element, int occurrences) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Multimaps.java

        public Iterator<K> iterator() {
          return Maps.keyIterator(multimap.entries().iterator());
        }
    
        @Override
        public int count(@Nullable Object element) {
          Collection<V> values = Maps.safeGet(multimap.asMap(), element);
          return (values == null) ? 0 : values.size();
        }
    
        @Override
        public int remove(@Nullable Object element, int occurrences) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/TempFileCreator.java

          /*
           * I assume that this check can't fail because JELLY_BEAN will be present only if we're
           * running under Jelly Bean or higher. But it seems safest to check.
           */
          if (version < jellyBean) {
            return new ThrowingCreator();
          }
    
          // Don't merge these catch() blocks, let alone use ReflectiveOperationException directly:
          // b/65343391
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top