Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 1,682 for integer (0.07 seconds)

  1. guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

      }
    
      private Multimap<String, Integer> createMultimap() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
        unfiltered.put("zero", 55556);
        unfiltered.put("one", 55556);
        unfiltered.put("badkey", 1);
        return Multimaps.filterEntries(unfiltered, PREDICATE);
      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        Multimap<String, Integer> multimap = createMultimap();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

                    .filter(Matcher::matches)
                    .map(
                        match -> new Version(
                            Integer.parseInt(match.group(1)),
                            Integer.parseInt(match.group(2)),
                            Integer.parseInt(match.group(3))
                        )
                    )
                    .collect(Collectors.toCollection(TreeSet::new)),
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 16.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

    @RunWith(Parameterized.class)
    @NullUnmarked
    public final class GraphEquivalenceTest {
      private static final Integer N1 = 1;
      private static final Integer N2 = 2;
      private static final Integer N3 = 3;
    
      private final EdgeType edgeType;
      private final MutableGraph<Integer> graph;
    
      // add parameters: directed/undirected
      @Parameters
      public static Collection<Object[]> parameters() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/graph/ElementOrderTest.java

        MutableGraph<Integer> graph = GraphBuilder.directed().build();
    
        addNodes(graph);
    
        assertThat(graph.nodeOrder()).isEqualTo(insertion());
        assertThat(graph.nodes()).containsExactly(3, 1, 4).inOrder();
      }
    
      @Test
      public void nodeOrder_natural() {
        MutableGraph<Integer> graph =
            GraphBuilder.directed().nodeOrder(ElementOrder.<Integer>natural()).build();
    
        addNodes(graph);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

      @Test
      public void loadingCache() throws ExecutionException {
        CacheLoader<Integer, Integer> loader =
            new CacheLoader<Integer, Integer>() {
              int i = 0;
    
              @Override
              public Integer load(Integer key) throws Exception {
                return i++;
              }
            };
    
        LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder().build(loader);
    
        cache.put(10, 20);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/log/bsentity/BsSearchLog.java

            this.queryId = value;
        }
    
        public Integer getQueryOffset() {
            checkSpecifiedProperty("queryOffset");
            return queryOffset;
        }
    
        public void setQueryOffset(Integer value) {
            registerModifiedProperty("queryOffset");
            this.queryOffset = value;
        }
    
        public Integer getQueryPageSize() {
            checkSpecifiedProperty("queryPageSize");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

        ValueGraph<String, Integer> graph1 =
            ImmutableValueGraph.copyOf(ValueGraphBuilder.directed().<String, Integer>build());
        ValueGraph<String, Integer> graph2 = ImmutableValueGraph.copyOf(graph1);
    
        assertThat(graph2).isSameInstanceAs(graph1);
      }
    
      @Test
      public void incidentEdgeOrder_stable() {
        ImmutableValueGraph<String, Integer> immutableValueGraph =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

          }
          try {
            parseInteger(spec, Integer.parseInt(value));
          } catch (NumberFormatException e) {
            throw new IllegalArgumentException(
                format("key %s value set to %s, must be integer", key, value), e);
          }
        }
      }
    
      /** Base class for parsing integers. */
      private abstract static class LongParser implements ValueParser {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/cache/CacheBuilderSpec.java

          }
          try {
            parseInteger(spec, Integer.parseInt(value));
          } catch (NumberFormatException e) {
            throw new IllegalArgumentException(
                format("key %s value set to %s, must be integer", key, value), e);
          }
        }
      }
    
      /** Base class for parsing integers. */
      private abstract static class LongParser implements ValueParser {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/graph/GraphsTest.java

     * the missing nodes to the graph, then adds the edge between them.
     */
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class GraphsTest {
      private static final Integer N1 = 1;
      private static final Integer N2 = 2;
      private static final Integer N3 = 3;
      private static final Integer N4 = 4;
      private static final String E11 = "1-1";
      private static final String E11_A = "1-1a";
      private static final String E12 = "1-2";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:06 GMT 2026
    - 30.1K bytes
    - Click Count (0)
Back to Top