Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,185 for Integer (0.09 sec)

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

    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    @RunWith(JUnit4.class)
    @NullUnmarked
    public final class InvalidatableSetTest {
      Set<Integer> wrappedSet;
      Set<Integer> copyOfWrappedSet;
      InvalidatableSet<Integer> setToTest;
    
      @Before
      public void createSets() {
        wrappedSet = new HashSet<>();
        wrappedSet.add(1);
        wrappedSet.add(2);
        wrappedSet.add(3);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

        testGraphMutation(GraphBuilder.undirected());
      }
    
      private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) {
        Random gen = new Random(42); // Fixed seed so test results are deterministic.
    
        for (int trial = 0; trial < NUM_TRIALS; ++trial) {
          MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build();
    
          assertThat(graph.nodes()).isEmpty();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<Integer> result =
            Iterables.transform(
                input,
                new Function<String, Integer>() {
                  @Override
                  public Integer apply(String from) {
                    return Integer.valueOf(from);
                  }
                });
    
        List<Integer> actual = newArrayList(result);
        List<Integer> expected = asList(1, 2, 3);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

      /*
       * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using
       * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer`
       * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And
       * anyway, it's nice to avoid `Integer.valueOf` because the Android toolchain optimizes multiple
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/EquivalenceTest.java

      /*
       * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using
       * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer`
       * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And
       * anyway, it's nice to avoid `Integer.valueOf` because the Android toolchain optimizes multiple
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsFileConfigCQ.java

            return this;
        }
    
        public void setDepth_Equal(Integer depth) {
            setDepth_Term(depth, null);
        }
    
        public void setDepth_Equal(Integer depth, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setDepth_Term(depth, opLambda);
        }
    
        public void setDepth_Term(Integer depth) {
            setDepth_Term(depth, null);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 165.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/TestingWeighers.java

        return new ConstantWeigher(constant);
      }
    
      /** Returns a {@link Weigher} that uses the integer key as the weight. */
      static Weigher<Integer, Object> intKeyWeigher() {
        return new IntKeyWeigher();
      }
    
      /** Returns a {@link Weigher} that uses the integer value as the weight. */
      static Weigher<Object, Integer> intValueWeigher() {
        return new IntValueWeigher();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

      // the CacheBuilder default).
      private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null);
      private Set<Integer> initialCapacities = Sets.newHashSet((Integer) null);
      private Set<Integer> maximumSizes = Sets.newHashSet((Integer) null);
      private Set<DurationSpec> expireAfterWrites = Sets.newHashSet((DurationSpec) null);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

    @NullUnmarked
    public abstract class AbstractStandardDirectedNetworkTest extends AbstractNetworkTest {
    
      @After
      public void validateSourceAndTarget() {
        for (Integer node : network.nodes()) {
          for (String inEdge : network.inEdges(node)) {
            EndpointPair<Integer> endpointPair = network.incidentNodes(inEdge);
            assertThat(endpointPair.source()).isEqualTo(endpointPair.adjacentNode(node));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

    @NullUnmarked
    public abstract class AbstractStandardDirectedNetworkTest extends AbstractNetworkTest {
    
      @After
      public void validateSourceAndTarget() {
        for (Integer node : network.nodes()) {
          for (String inEdge : network.inEdges(node)) {
            EndpointPair<Integer> endpointPair = network.incidentNodes(inEdge);
            assertThat(endpointPair.source()).isEqualTo(endpointPair.adjacentNode(node));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top