Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 434 for checkNotNull (0.12 sec)

  1. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.escape;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Collections.max;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.VisibleForTesting;
    import java.util.Map;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/SingletonImmutableBiMap.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 static com.google.common.collect.CollectPreconditions.checkEntryNotNull;
    import static com.google.common.collect.Maps.immutableEntry;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/CharEscaper.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.escape;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import javax.annotation.CheckForNull;
    
    /**
     * An object that converts literal text into a format safe for inclusion in a particular context
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.graph.Graphs.checkNonNegative;
    
    import com.google.common.annotations.Beta;
    import com.google.common.base.Optional;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/MessageDigestHashFunction.java

        this.prototype = getMessageDigest(algorithmName);
        this.bytes = prototype.getDigestLength();
        this.toString = checkNotNull(toString);
        this.supportsClone = supportsClone(prototype);
      }
    
      MessageDigestHashFunction(String algorithmName, int bytes, String toString) {
        this.toString = checkNotNull(toString);
        this.prototype = getMessageDigest(algorithmName);
        int maxLength = prototype.getDigestLength();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/CountingInputStream.java

     * or implied. 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.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

    public class FloatArrayAsListTest extends TestCase {
    
      private static List<Float> asList(Float[] values) {
        float[] temp = new float[values.length];
        for (int i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Floats.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

    public class FloatArrayAsListTest extends TestCase {
    
      private static List<Float> asList(Float[] values) {
        float[] temp = new float[values.length];
        for (int i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Floats.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

    public class IntArrayAsListTest extends TestCase {
    
      private static List<Integer> asList(Integer[] values) {
        int[] temp = new int[values.length];
        for (int i = 0; i < values.length; i++) {
          temp[i] = checkNotNull(values[i]); // checkNotNull for GWT (do not optimize).
        }
        return Ints.asList(temp);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

            /* userPassedSupplier= */ false);
      }
    
      private static <T extends Throwable> T doAssertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
        checkNotNull(expectedThrowable);
        checkNotNull(supplier);
        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top