Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 114 for didn (0.41 sec)

  1. guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

    public abstract class AbstractNetworkTest {
    
      Network<Integer, String> network;
    
      /**
       * The same reference as {@link #network}, except as a mutable network. This field is null in case
       * {@link #createGraph()} didn't return a mutable network.
       */
      MutableNetwork<Integer, String> networkAsMutableNetwork;
    
      static final Integer N1 = 1;
      static final Integer N2 = 2;
      static final Integer N3 = 3;
      static final Integer N4 = 4;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

    public abstract class AbstractNetworkTest {
    
      Network<Integer, String> network;
    
      /**
       * The same reference as {@link #network}, except as a mutable network. This field is null in case
       * {@link #createGraph()} didn't return a mutable network.
       */
      MutableNetwork<Integer, String> networkAsMutableNetwork;
    
      static final Integer N1 = 1;
      static final Integer N2 = 2;
      static final Integer N3 = 3;
      static final Integer N4 = 4;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Converter.java

         * implement Function<A, B>, as discussed in a class-level comment), it would make some sense to
         * perform runtime null checks on the input and output. (That would also make NullPointerTester
         * happy!) However, since we didn't do that for many years, we're not about to start now.
         * (Runtime checks could be particularly bad for users of LegacyConverter.)
         *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (1)
  4. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

                });
    
        List<Object> resultArray = doConcurrentGet(cache, "bar", count, startSignal);
    
        assertEquals(1, callCount.get());
        for (int i = 0; i < count; i++) {
          assertSame("result(" + i + ") didn't match expected", result, resultArray.get(i));
        }
      }
    
      /**
       * On a concurrent computation that returns null, all threads should get an
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      public void testEquality() {
        new EqualsTester()
            .addEqualityGroup(idn("google.com"), idn("google.com"), idn("GOOGLE.COM"))
            .addEqualityGroup(idn("www.google.com"))
            .addEqualityGroup(UNICODE_EXAMPLE)
            .addEqualityGroup(PUNYCODE_EXAMPLE)
            .testEquals();
      }
    
      private static InternetDomainName idn(String domain) {
        return InternetDomainName.from(domain);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

       * of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code map.remove(x)}
       * returns the same value which {@code map.get(x)} did immediately beforehand.
       */
      @Override
      public void testRemove() {
        final Map<String, Collection<Integer>> map;
        final String keyToRemove;
        try {
          map = makePopulatedMap();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/PackageSanityTests.java

      }
    
      @Override
      public void testNulls() throws Exception {
        try {
          super.testNulls();
        } catch (AssertionFailedError e) {
          assertWithMessage("Method did not throw null pointer OR element not in graph exception.")
              .that(e)
              .hasCauseThat()
              .hasMessageThat()
              .contains(ERROR_ELEMENT_NOT_IN_GRAPH);
        }
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 19:24:25 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testDifferentComparator_serialization() {
        // don't use Collections.reverseOrder(); it didn't reserialize to the same instance in JDK5
        Comparator<Comparable<?>> comparator = Ordering.natural().reverse();
        SortedSet<String> set =
            new ImmutableSortedSet.Builder<String>(comparator).add("a", "b", "c").build();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        bus.post(EVENT);
        List<String> expectedEvents = ImmutableList.of(EVENT);
        for (StringCatcher catcher : catchers) {
          assertEquals(
              "One of the registered catchers did not receive an event.",
              expectedEvents,
              catcher.getEvents());
        }
      }
    
      public void testToString() throws Exception {
        EventBus eventBus = new EventBus("a b ; - \" < > / \\ €");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        bus.post(EVENT);
        List<String> expectedEvents = ImmutableList.of(EVENT);
        for (StringCatcher catcher : catchers) {
          assertEquals(
              "One of the registered catchers did not receive an event.",
              expectedEvents,
              catcher.getEvents());
        }
      }
    
      public void testToString() throws Exception {
        EventBus eventBus = new EventBus("a b ; - \" < > / \\ €");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top