Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 875 for Nullable (3.98 sec)

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

     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#bimap">{@code BiMap}</a>.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    public interface BiMap<K extends @Nullable Object, V extends @Nullable Object> extends Map<K, V> {
      // Modification Operations
    
      /**
       * {@inheritDoc}
       *
       * @throws IllegalArgumentException if the given value is already bound to a different key in this
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ComparatorOrdering.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.Comparator;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering for a pre-existing comparator. */
    @GwtCompatible
    final class ComparatorOrdering<T extends @Nullable Object> extends Ordering<T>
        implements Serializable {
      final Comparator<T> comparator;
    
      ComparatorOrdering(Comparator<T> comparator) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableCollection.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.Collection;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A GWT-only class only used by GWT emulations. It is used to consolidate the definitions of method
     * delegation to save code size.
     *
     * @author Hayward Chan
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      }
    
      /**
       * Class for testing all permutations of nullable/non-nullable two-argument methods using
       * testMethod().
       *
       * <ul>
       *   <li>normalNormal: two params, neither is Nullable
       *   <li>nullableNormal: only first param is Nullable
       *   <li>normalNullable: only second param is Nullable
       *   <li>nullableNullable: both params are Nullable
       * </ul>
       */
      public static class TwoArg {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

      @VisibleForTesting
      static final class ValueEntry<K extends @Nullable Object, V extends @Nullable Object>
          extends SimpleImmutableEntry<K, V> {
        final int smearedValueHash;
    
        @Nullable ValueEntry<K, V> nextInValueBucket;
    
        private @Nullable ValueEntry<K, V> predecessorInValueSet;
        private @Nullable ValueEntry<K, V> successorInValueSet;
    
        private @Nullable ValueEntry<K, V> predecessorInMultimap;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

    @GwtIncompatible
    public abstract class ForwardingNavigableMap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingSortedMap<K, V> implements NavigableMap<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingNavigableMap() {}
    
      @Override
      protected abstract NavigableMap<K, V> delegate();
    
      @Override
      public @Nullable Entry<K, V> lowerEntry(@ParametricNullness K key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingNavigableMap.java

    @GwtIncompatible
    public abstract class ForwardingNavigableMap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingSortedMap<K, V> implements NavigableMap<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingNavigableMap() {}
    
      @Override
      protected abstract NavigableMap<K, V> delegate();
    
      @Override
      public @Nullable Entry<K, V> lowerEntry(@ParametricNullness K key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SortedMultisets.java

        }
      }
    
      private static <E extends @Nullable Object> E getElementOrThrow(@Nullable Entry<E> entry) {
        if (entry == null) {
          throw new NoSuchElementException();
        }
        return entry.getElement();
      }
    
      private static <E extends @Nullable Object> @Nullable E getElementOrNull(
          @Nullable Entry<E> entry) {
        return (entry == null) ? null : entry.getElement();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    abstract class AbstractSortedKeySortedSetMultimap<
            K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractSortedSetMultimap<K, V> {
    
      AbstractSortedKeySortedSetMultimap(SortedMap<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
      public SortedMap<K, Collection<V>> asMap() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Platform.java

          // There is no StackOverflowError under GWT/J2CL.
          throw (Error) t;
        }
      }
    
      static <V extends @Nullable Object> V get(AbstractFuture<V> future)
          throws InterruptedException, ExecutionException {
        return future.getFromAlreadyDoneTrustedFuture();
      }
    
      static <V extends @Nullable Object> V get(AbstractFuture<V> future, long timeout, TimeUnit unit)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 27 16:15:49 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top