Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for valueOrNull (0.06 seconds)

  1. guava/src/com/google/common/collect/HashBiMap.java

      @Override
      public boolean containsValue(@Nullable Object value) {
        return seekByValue(value, smearedHash(value)) != null;
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        return valueOrNull(seekByKey(key, smearedHash(key)));
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V put(@ParametricNullness K key, @ParametricNullness V value) {
        return put(key, value, false);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/TreeRangeSet.java

                return null;
              } else if (cut.equals(restriction.lowerBound)) {
                // it might be present, truncated on the left
                Range<C> candidate = Maps.valueOrNull(rangesByLowerBound.floorEntry(cut));
                if (candidate != null && candidate.upperBound.compareTo(restriction.lowerBound) > 0) {
                  return candidate.intersection(restriction);
                }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Maps.java

      }
    
      static <K extends @Nullable Object> @Nullable K keyOrNull(@Nullable Entry<K, ?> entry) {
        return (entry == null) ? null : entry.getKey();
      }
    
      static <V extends @Nullable Object> @Nullable V valueOrNull(@Nullable Entry<?, V> entry) {
        return (entry == null) ? null : entry.getValue();
      }
    
      static class SortedKeySet<K extends @Nullable Object, V extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Maps.java

      }
    
      static <K extends @Nullable Object> @Nullable K keyOrNull(@Nullable Entry<K, ?> entry) {
        return (entry == null) ? null : entry.getKey();
      }
    
      static <V extends @Nullable Object> @Nullable V valueOrNull(@Nullable Entry<?, V> entry) {
        return (entry == null) ? null : entry.getValue();
      }
    
      static class SortedKeySet<K extends @Nullable Object, V extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
Back to Top