Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 243 for sinulle (0.58 sec)

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

        assertThat(graph.edgeValue(2, 1).orElse(DEFAULT)).isEqualTo(DEFAULT);
        assertThat(graph.edgeValueOrDefault(1, 2, null)).isNull();
        assertThat(graph.edgeValueOrDefault(2, 1, null)).isNull();
        assertThat(graph.edgeValue(1, 2).orElse(null)).isNull();
        assertThat(graph.edgeValue(2, 1).orElse(null)).isNull();
    
        graph.putEdgeValue(1, 2, "valueA");
        graph.putEdgeValue(2, 1, "valueB");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 20K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      /*
       * Tests for Predicates.isNull()
       */
    
      public void testIsNull_apply() {
        Predicate<@Nullable Integer> isNull = Predicates.isNull();
        assertTrue(isNull.apply(null));
        assertFalse(isNull.apply(1));
      }
    
      public void testIsNull_equality() {
        new EqualsTester()
            .addEqualityGroup(Predicates.isNull(), Predicates.isNull())
            .addEqualityGroup(Predicates.notNull())
    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)
  3. guava-tests/test/com/google/common/base/EquivalenceTest.java

        assertFalse(equalTo1.apply(null));
        Predicate<@Nullable Object> isNull = Equivalence.equals().equivalentTo(null);
        assertFalse(isNull.apply("1"));
        assertFalse(isNull.apply("2"));
        assertTrue(isNull.apply(null));
    
        new EqualsTester()
            .addEqualityGroup(equalTo1, Equivalence.equals().equivalentTo("1"))
            .addEqualityGroup(isNull)
            .addEqualityGroup(Equivalence.identity().equivalentTo("1"))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/TraverserTest.java

       */
      private static final SuccessorsFunction<Character> TWO_TREES = createDirectedGraph("ab", "cd");
    
      /**
       * A graph consisting of a single root {@code a}:
       *
       * <pre>{@code
       * a
       * }</pre>
       */
      private static final SuccessorsFunction<Character> SINGLE_ROOT = createSingleRootGraph();
    
      /**
       * A graph that is not a tree (for example, it has two antiparallel edge between {@code e} and
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/CompactHashSetTest.java

        return suite;
      }
    
      public void testAllocArraysDefault() {
        CompactHashSet<Integer> set = CompactHashSet.create();
        assertThat(set.needsAllocArrays()).isTrue();
        assertThat(set.elements).isNull();
    
        set.add(1);
        assertThat(set.needsAllocArrays()).isFalse();
        assertThat(set.elements).hasLength(CompactHashing.DEFAULT_SIZE);
      }
    
      public void testAllocArraysExpectedSize() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/CompactHashSetTest.java

        return suite;
      }
    
      public void testAllocArraysDefault() {
        CompactHashSet<Integer> set = CompactHashSet.create();
        assertThat(set.needsAllocArrays()).isTrue();
        assertThat(set.elements).isNull();
    
        set.add(1);
        assertThat(set.needsAllocArrays()).isFalse();
        assertThat(set.elements).hasLength(CompactHashing.DEFAULT_SIZE);
      }
    
      public void testAllocArraysExpectedSize() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ClusterException.java

      /**
       * Given a collection of exceptions, returns a {@link RuntimeException}, with the following rules:
       *
       * <ul>
       *   <li>If {@code exceptions} has a single exception and that exception is a {@link
       *       RuntimeException}, return it
       *   <li>If {@code exceptions} has a single exceptions and that exceptions is not a
       *       {@link RuntimeException}, return a simple {@code RuntimeException} that wraps it
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        }
    
        // wait for entries to expire, but don't call expireEntries
        ticker.advance(EXPIRING_TIME * 10, MILLISECONDS);
    
        // add a single unexpired entry
        cache.getUnchecked(KEY_PREFIX + 11);
    
        // collections views shouldn't expose expired entries
        assertEquals(1, Iterators.size(cache.asMap().entrySet().iterator()));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

    import java.util.Collection;
    import java.util.Map;
    
    /**
     * Enumerates several algorithms providing equivalent functionality to {@link Quantiles}, for use in
     * {@link QuantilesBenchmark}. These algorithms each calculate either a single quantile or multiple
     * quantiles. All algorithms modify the dataset they are given (the cost of a copy to avoid this
     * will be constant across algorithms).
     *
     * @author Pete Gillin
     * @since 20.0
     */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

    import java.util.Collection;
    import java.util.Map;
    
    /**
     * Enumerates several algorithms providing equivalent functionality to {@link Quantiles}, for use in
     * {@link QuantilesBenchmark}. These algorithms each calculate either a single quantile or multiple
     * quantiles. All algorithms modify the dataset they are given (the cost of a copy to avoid this
     * will be constant across algorithms).
     *
     * @author Pete Gillin
     * @since 20.0
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
Back to top