Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 2,757 for sull (0.02 seconds)

  1. android/guava/src/com/google/common/graph/DirectedMultiNetworkConnections.java

        if (predecessors != null) {
          checkState(predecessors.remove(node));
        }
        return node;
      }
    
      @Override
      public N removeOutEdge(E edge) {
        N node = super.removeOutEdge(edge);
        Multiset<N> successors = getReference(successorsReference);
        if (successors != null) {
          checkState(successors.remove(node));
        }
        return node;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/CompactHashSet.java

          newDelegate.add(element(i));
        }
        this.table = newDelegate;
        this.entries = null;
        this.elements = null;
        incrementModCount();
        return newDelegate;
      }
    
      @VisibleForTesting
      boolean isUsingHashFloodingResistance() {
        return delegateOrNull() != null;
      }
    
      /** Stores the hash table mask as the number of bits needed to represent an index. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableMultiset.java

       *
       * @throws NullPointerException if the element is null
       * @since 6.0 (source-compatible since 2.0)
       */
      public static <E> ImmutableMultiset<E> of(E e1) {
        return copyFromElements(e1);
      }
    
      /**
       * Returns an immutable multiset containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       * @since 6.0 (source-compatible since 2.0)
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/CollectPreconditions.java

    @GwtCompatible
    final class CollectPreconditions {
    
      static void checkEntryNotNull(@Nullable Object key, @Nullable Object value) {
        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
          throw new NullPointerException("null value in entry: " + key + "=null");
        }
      }
    
      @CanIgnoreReturnValue
      static int checkNonnegative(int value, String name) {
        if (value < 0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 10 21:56:42 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java

      public void testOffer_nullSupported() {
        assertTrue("offer(null) should return true", getQueue().offer(null));
        expectAdded((E) null);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
      public void testOffer_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> getQueue().offer(null));
        expectUnchanged();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/MoreObjects.java

       *
       * @return {@code first} if it is non-null; otherwise {@code second} if it is non-null
       * @throws NullPointerException if both {@code first} and {@code second} are null
       * @since 18.0 (since 3.0 as {@code Objects.firstNonNull}).
       */
      public static <T> T firstNonNull(@Nullable T first, @Nullable T second) {
        if (first != null) {
          return first;
        }
        if (second != null) {
          return second;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/misc/Pair.java

            final Pair<T1, T2> other = (Pair<T1, T2>) obj;
            if (first == null) {
                if (other.first != null) {
                    return false;
                }
            } else if (!first.equals(other.first)) {
                return false;
            }
            if (second == null) {
                if (other.second != null) {
                    return false;
                }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

                    }));
        expectReplacement(entry(getKeyForNullValue(), v3()));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
      public void testMergeAbsentNullKey() {
        assertEquals(
            "Map.merge(null, value, function) should return value",
            v3(),
            getMap()
                .merge(
                    null,
                    v3(),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertEquals(0L, MemoryUtil.sizeOf(new Object[0]));
    
            // Array with null elements
            assertEquals(0L, MemoryUtil.sizeOf(new String[] { null, null }));
    
            // Mixed content array
            assertEquals(84L, MemoryUtil.sizeOf(new Object[] { "test", 123, null }));
    
            // Nested arrays
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          Preconditions.checkNotNull(runnable, "Runnable was null.");
          Preconditions.checkNotNull(executor, "Executor was null.");
    
          synchronized (this) {
            if (!executed) {
              RunnableExecutorPair newTail = new RunnableExecutorPair(runnable, executor);
              if (head == null) {
                head = newTail;
                tail = newTail;
              } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 15.8K bytes
    - Click Count (0)
Back to Top