Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for Kissling (0.14 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

      public void testGoodClass() {
        shouldPass(new PassObject());
      }
    
      private static class FailOneArgDoesntThrowNPE extends PassObject {
        @Override
        public void oneArg(String s) {
          // Fail:  missing NPE for s
        }
      }
    
      public void testFailOneArgDoesntThrowNpe() {
        shouldFail(new FailOneArgDoesntThrowNPE());
      }
    
      private static class FailOneArgThrowsWrongType extends PassObject {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate();
        assertEquals(DECREASING_INT_COMPARATOR, multimap.get("foo").comparator());
        assertEquals(DECREASING_INT_COMPARATOR, multimap.get("missing").comparator());
      }
    
      public void testMultimapComparators() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 3);
        multimap.put("bar", 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Cut.java

            return compareResult == 0;
          } catch (ClassCastException wastNotComparableToOurType) {
            return false;
          }
        }
        return false;
      }
    
      // Prevent "missing hashCode" warning by explicitly forcing subclasses implement it
      @Override
      public abstract int hashCode();
    
      /*
       * The implementation neither produces nor consumes any non-null instance of type C, so
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            //
            // Note that there is a race condition here which can result in missing
            // a cyclic edge: it's possible for two threads to simultaneous find
            // "safe" edges which together form a cycle. Preventing this race
            // condition efficiently without _introducing_ deadlock is probably
            // tricky. For now, just accept the race condition---missing a warning
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/ValueGraphTest.java

                IllegalArgumentException.class, () -> graph.removeEdge(EndpointPair.ordered(2, 1)));
        assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH);
      }
    
      @Test
      public void edgeValue_missing() {
        graph = ValueGraphBuilder.directed().build();
    
        assertThat(graph.edgeValueOrDefault(1, 2, DEFAULT)).isEqualTo(DEFAULT);
        assertThat(graph.edgeValueOrDefault(2, 1, DEFAULT)).isEqualTo(DEFAULT);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 20K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Types.java

       * TypeResolver#resolveType} will not be able to call {@code getAnnotatedBounds()} on it, but that
       * should hopefully be rare.
       *
       * <p>TODO(b/147144588): We are currently also missing the methods inherited from {@link
       * AnnotatedElement}, which {@code TypeVariable} began to extend only in Java 8. Those methods
       * refer only to types present in Java 7, so we could implement them in {@code TypeVariableImpl}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

            builder.put(key, set);
            size += set.size();
          }
        }
    
        return new ImmutableSetMultimap<>(builder.buildOrThrow(), size, valueComparator);
      }
    
      /**
       * Returned by get() when a missing key is provided. Also holds the comparator, if any, used for
       * values.
       */
      private final transient ImmutableSet<V> emptySet;
    
      ImmutableSetMultimap(
          ImmutableMap<K, ImmutableSet<V>> map,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multisets.java

       * for (E e : occurrencesToRemove) {
       *   multisetToModify.remove(e);
       * }
       * }</pre>
       *
       * @return {@code true} if {@code multisetToModify} was changed as a result of this operation
       * @since 10.0 (missing in 18.0 when only the overload taking an {@code Iterable} was present)
       */
      @CanIgnoreReturnValue
      public static boolean removeOccurrences(
          Multiset<?> multisetToModify, Multiset<?> occurrencesToRemove) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

            "multiset.entrySet.remove(missingEntry) returned true",
            getMultiset().entrySet().remove(Multisets.immutableEntry(e0(), 2)));
        assertTrue(
            "multiset didn't contain element after removing a missing entry",
            getMultiset().contains(e0()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testEntrySet_removeAllPresent() {
        assertTrue(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 9.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

            getMultiset().entrySet().contains(Multisets.immutableEntry(e0(), 1)));
      }
    
      public void testEntrySet_contains_count0() {
        assertFalse(
            "multiset.entrySet() contains [missing, 0]",
            getMultiset().entrySet().contains(Multisets.immutableEntry(e3(), 0)));
      }
    
      public void testEntrySet_contains_nonentry() {
        assertFalse(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.9K bytes
    - Viewed (0)
Back to top