Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for uncheckedCastNullableTToT (0.07 sec)

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

    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.util.Collections.unmodifiableMap;
    import static java.util.Collections.unmodifiableSortedMap;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/NullnessCasts.java

       * thus its value may be legitimately {@code null}.)
       */
      @ParametricNullness
      @SuppressWarnings("nullness")
      static <T extends @Nullable Object> T uncheckedCastNullableTToT(@Nullable T t) {
        return t;
      }
    
      private NullnessCasts() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Converter.java

       */
    
      private @Nullable B unsafeDoForward(@Nullable A a) {
        return doForward(uncheckedCastNullableTToT(a));
      }
    
      private @Nullable A unsafeDoBackward(@Nullable B b) {
        return doBackward(uncheckedCastNullableTToT(b));
      }
    
      /**
       * Returns an iterable that applies {@code convert} to each element of {@code fromIterable}. The
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

    import static com.google.common.collect.CompactHashing.UNSET;
    import static com.google.common.collect.Hashing.smearedHash;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static com.google.common.collect.NullnessCasts.unsafeNull;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.util.Objects.requireNonNull;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/StandardTable.java

    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;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            valueIterator = collection.iterator();
          }
          /*
           * uncheckedCastNullableTToT is safe: The first call to this method always enters the !hasNext() case and
           * populates key, after which it's never cleared.
           */
          return output(uncheckedCastNullableTToT(key), valueIterator.next());
        }
    
        @Override
        public void remove() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * thus its value may be legitimately {@code null}.)
       */
      @SuppressWarnings("nullness")
      @ParametricNullness
      static <T extends @Nullable Object> T uncheckedCastNullableTToT(@Nullable T t) {
        return t;
      }
    
      /**
       * Returns {@code null} cast to any type.
       *
       * <p>This method is intended to help with usages of type parameters that have {@linkplain
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashMap.java

    import static com.google.common.collect.CompactHashing.UNSET;
    import static com.google.common.collect.Hashing.smearedHash;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static com.google.common.collect.NullnessCasts.unsafeNull;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    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
    - 35.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Streams.java

     * permissions and limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static com.google.common.collect.SneakyThrows.sneakyThrow;
    import static java.lang.Math.min;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.Beta;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

    import static com.google.common.base.Predicates.instanceOf;
    import static com.google.common.collect.CollectPreconditions.checkRemove;
    import static com.google.common.collect.NullnessCasts.uncheckedCastNullableTToT;
    import static java.util.Arrays.asList;
    import static java.util.Collections.unmodifiableList;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
Back to top