Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 171 for Schick (0.18 sec)

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

                // requireNonNull is safe because of the containsColumn check.
                return requireNonNull(get(entry.getKey())).equals(entry.getValue());
              }
            }
            return false;
          }
    
          @Override
          public boolean remove(@CheckForNull Object obj) {
            /*
             * `o instanceof Entry` is guaranteed by `contains`, but we check it here to satisfy our
             * nullness checker.
             */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 29.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       be checked to be equal to the instance before serialization.
       *   <li>If {@code C} doesn't explicitly implement {@code equals} but instead inherits it from a
       *       superclass, no equality check is done on the deserialized instance because it's not clear
       *       whether the author intended for the class to be a value type.
       *   <li>If a constructor or factory method takes a parameter whose type is interface, a dynamic
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

            .start();
    
        // wait for the computingEntry to be created
        computationStarted.await();
        cache.invalidateAll();
        // let the computation proceed
        computingLatch.countDown();
        // don't check cache.size() until we know the get("b") call is complete
        computationComplete.await();
    
        // At this point, the listener should be holding the seed value (a -> a), and the map should
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        // The choice of the size() method to call here is arbitrary.  We assume that if any of the Set
        // methods executes the validation check, they all will, and thus we only need to test one of
        // them to ensure that the validation check happens and has the expected behavior.
        assertNodeRemovedFromGraphErrorMessage(
            assertThrows(IllegalStateException.class, n1AdjacentNodes::size));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

      }
    
      @Test
      public void edgeValueOrDefault_undirected_mismatch() {
        graph = ValueGraphBuilder.undirected().build();
        graph.putEdgeValue(1, 2, "A");
        // Check that edgeValueOrDefault() throws on each possible ordering of an ordered EndpointPair
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *   <li>Equality test is not performed on method return values unless the method is a non-private
       *       static factory method whose return type is {@code cls} or {@code cls}'s subtype.
       *   <li>Inequality check is not performed against state mutation methods such as {@link
       *       List#add}, or functional update methods such as {@link
       *       com.google.common.base.Joiner#skipNulls}.
       * </ul>
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedLongs.java

          }
        }
    
        // Optimization - use signed division if dividend < 2^63
        if (dividend >= 0) {
          return dividend / divisor;
        }
    
        /*
         * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is
         * guaranteed to be either exact or one less than the correct value. This follows from fact that
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Range.java

       */
      public Range<C> gap(Range<C> otherRange) {
        /*
         * For an explanation of the basic principle behind this check, see
         * https://stackoverflow.com/a/35754308/28465
         *
         * In that explanation's notation, our `overlap` check would be `x1 < y2 && y1 < x2`. We've
         * flipped one part of the check so that we're using "less than" in both cases (rather than a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

                  ?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>>
              parentBuilder) {
        // TODO: Once invariant support is added, supply invariants to each of the
        // derived suites, to check that mutations to the derived collections are
        // reflected in the underlying map.
    
        List<TestSuite> derivedSuites = super.createDerivedSuites(parentBuilder);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 11K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/AbstractNetwork.java

              }
    
              @Override
              public int size() {
                return AbstractNetwork.this.edges().size();
              }
    
              // Mostly safe: We check contains(u) before calling successors(u), so we perform unsafe
              // operations only in weird cases like checking for an EndpointPair<ArrayList> in a
              // Network<LinkedList>.
              @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 10.1K bytes
    - Viewed (0)
Back to top