Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 475 for null (0.13 sec)

  1. android/guava-tests/test/com/google/common/base/JoinerTest.java

      private static final Iterable<@Nullable Integer> ITERABLE_NULL = Arrays.asList((Integer) null);
      private static final Iterable<@Nullable Integer> ITERABLE_NULL_NULL =
          Arrays.asList((Integer) null, null);
      private static final Iterable<@Nullable Integer> ITERABLE_NULL_1 = Arrays.asList(null, 1);
      private static final Iterable<@Nullable Integer> ITERABLE_1_NULL = Arrays.asList(1, null);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/HashBiMap.java

        if (entry == null) {
          return null;
        } else {
          delete(entry);
          entry.prevInKeyInsertionOrder = null;
          entry.nextInKeyInsertionOrder = null;
          return entry.value;
        }
      }
    
      @Override
      public void clear() {
        size = 0;
        Arrays.fill(hashTableKToV, null);
        Arrays.fill(hashTableVToK, null);
        firstInKeyInsertionOrder = null;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

       * find it when available. When this is null, use the slow way.
       */
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static final Method getStackTraceElementMethod = (jla == null) ? null : getGetMethod();
    
      /**
       * The "getStackTraceDepth" method, only available on some JDKs so we use reflection to find it
       * when available. When this is null, use the slow way.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Throwables.java

       * find it when available. When this is null, use the slow way.
       */
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static final Method getStackTraceElementMethod = (jla == null) ? null : getGetMethod();
    
      /**
       * The "getStackTraceDepth" method, only available on some JDKs so we use reflection to find it
       * when available. When this is null, use the slow way.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Strings.java

       *     null} is treated as the four-character string {@code "null"}.
       * @param args the arguments to be substituted into the message template. The first argument
       *     specified is substituted for the first occurrence of {@code "%s"} in the template, and so
       *     forth. A {@code null} argument is converted to the four-character string {@code "null"};
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableList.java

           * we're copying into a `contents` array whose type allows it to contain nulls. Still, it's
           * worth noting that we promise not to put nulls into the array in the first `size` elements.
           * We uphold that promise here because our callers promise that `elements` will not contain
           * nulls in its first `n` elements.
           */
          System.arraycopy(elements, 0, contents, size, n);
          size += n;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/collect/TreeMultiset.java

            current.elemCount = 0;
            // Also clear these fields so that one deleted Entry doesn't retain all elements.
            current.left = null;
            current.right = null;
            current.pred = null;
            current.succ = null;
    
            current = next;
          }
          successor(header, header);
          rootReference.clear();
        } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        Predicate<@Nullable Integer> isNull = Predicates.equalTo(null);
        assertTrue(isNull.apply(null));
        assertFalse(isNull.apply(1));
      }
    
      public void testIsEqualToNull_equality() {
        new EqualsTester()
            .addEqualityGroup(
                Predicates.<@Nullable Integer>equalTo(null),
                Predicates.<@Nullable Integer>equalTo(null))
            .addEqualityGroup(Predicates.equalTo(1))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedListMultimap.java

          int size = (keyList == null) ? 0 : keyList.count;
          checkPositionIndex(index, size);
          if (index >= (size / 2)) {
            previous = (keyList == null) ? null : keyList.tail;
            nextIndex = size;
            while (index++ < size) {
              previous();
            }
          } else {
            next = (keyList == null) ? null : keyList.head;
            while (index-- > 0) {
              next();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          do {
            stack = head;
            if (stack == null) {
              // If head == null then execute() has been called so we should just return
              return;
            }
            // try to swap null into head.
          } while (!UNSAFE.compareAndSwapObject(this, HEAD_OFFSET, stack, null));
    
          RunnableExecutorPair reversedStack = null;
          while (stack != NULL_PAIR) {
            RunnableExecutorPair head = stack;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
Back to top