Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 434 for checkNotNull (0.57 sec)

  1. guava-tests/test/com/google/common/io/TestOutputStream.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.io.TestOption.CLOSE_THROWS;
    import static com.google.common.io.TestOption.OPEN_THROWS;
    import static com.google.common.io.TestOption.WRITE_THROWS;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Range.java

       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> range(
          C lower, BoundType lowerType, C upper, BoundType upperType) {
        checkNotNull(lowerType);
        checkNotNull(upperType);
    
        Cut<C> lowerBound =
            (lowerType == BoundType.OPEN) ? Cut.aboveValue(lower) : Cut.belowValue(lower);
        Cut<C> upperBound =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Closer.java

      private final Deque<Closeable> stack = new ArrayDeque<>(4);
      @CheckForNull private Throwable thrown;
    
      @VisibleForTesting
      Closer(Suppressor suppressor) {
        this.suppressor = checkNotNull(suppressor); // checkNotNull to satisfy null tests
      }
    
      /**
       * Registers the given {@code closeable} to be closed when this {@code Closer} is {@linkplain
       * #close closed}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.util.concurrent.FuturesTest.pseudoTimedGetUninterruptibly;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/TestByteSource.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.collect.ImmutableSet;
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ComparatorOrdering.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import java.util.Comparator;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/TestByteSource.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.collect.ImmutableSet;
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 15 13:47:32 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/AbstractNetwork.java

      }
    
      @Override
      public boolean hasEdgeConnecting(N nodeU, N nodeV) {
        checkNotNull(nodeU);
        checkNotNull(nodeV);
        return nodes().contains(nodeU) && successors(nodeU).contains(nodeV);
      }
    
      @Override
      public boolean hasEdgeConnecting(EndpointPair<N> endpoints) {
        checkNotNull(endpoints);
        if (!isOrderingCompatible(endpoints)) {
          return false;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/AbstractNetwork.java

      }
    
      @Override
      public boolean hasEdgeConnecting(N nodeU, N nodeV) {
        checkNotNull(nodeU);
        checkNotNull(nodeV);
        return nodes().contains(nodeU) && successors(nodeU).contains(nodeV);
      }
    
      @Override
      public boolean hasEdgeConnecting(EndpointPair<N> endpoints) {
        checkNotNull(endpoints);
        if (!isOrderingCompatible(endpoints)) {
          return false;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/GeneralRange.java

          BoundType upperBoundType) {
        this.comparator = checkNotNull(comparator);
        this.hasLowerBound = hasLowerBound;
        this.hasUpperBound = hasUpperBound;
        this.lowerEndpoint = lowerEndpoint;
        this.lowerBoundType = checkNotNull(lowerBoundType);
        this.upperEndpoint = upperEndpoint;
        this.upperBoundType = checkNotNull(upperBoundType);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top