Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,397 for isInteger (0.09 sec)

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

    import java.util.Set;
    
    public final class SetsFilterHashSetTest extends AbstractFilteredSetTest<Set<Integer>> {
      @Override
      Set<Integer> createUnfiltered(Iterable<Integer> contents) {
        return newHashSet(contents);
      }
    
      @Override
      Set<Integer> filter(Set<Integer> elements, Predicate<? super Integer> predicate) {
        return Sets.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/ImmutableIntArray.java

          return target instanceof Integer ? parent.lastIndexOf((Integer) target) : -1;
        }
    
        @Override
        public List<Integer> subList(int fromIndex, int toIndex) {
          return parent.subArray(fromIndex, toIndex).asList();
        }
    
        // The default List spliterator is not efficiently splittable
        @Override
        public Spliterator<Integer> spliterator() {
          return parent.spliterator();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java

      private final boolean allowsParallelEdges;
      private final ElementOrder<Integer> nodeOrder;
      private final ElementOrder<String> edgeOrder;
    
      private ImmutableNetwork.Builder<Integer, String> networkBuilder;
    
      public StandardImmutableDirectedNetworkTest(
          boolean allowsSelfLoops,
          boolean allowsParallelEdges,
          ElementOrder<Integer> nodeOrder,
          ElementOrder<String> edgeOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

      private final ImmutableList<Subscriber> integerSubscribers =
          ImmutableList.of(
              subscriber(bus, i1, "handleInteger", Integer.class),
              subscriber(bus, i2, "handleInteger", Integer.class),
              subscriber(bus, i3, "handleInteger", Integer.class));
    
      private final StringSubscriber s1 = new StringSubscriber("s1");
      private final StringSubscriber s2 = new StringSubscriber("s2");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        @Override
        public int add(E element, int occurrences) {
          checkArgument(occurrences >= 0);
          Integer frequency = backingMap.get(element);
          if (frequency == null) {
            frequency = 0;
          }
          if (occurrences == 0) {
            return frequency;
          }
          checkArgument(occurrences <= Integer.MAX_VALUE - frequency);
          backingMap.put(element, frequency + occurrences);
          return frequency;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 165.3K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

        long r = 0;
        List<Facade<Integer>> list = new ArrayList<>(reps);
        for (int i = 0; i < reps; i++) {
          final Facade<Integer> localFuture = impl.newFacade();
          list.add(localFuture);
          localFuture.setException(exception);
        }
        for (int i = 0; i < reps; i++) {
          Facade<Integer> facade = list.get(i);
          try {
            facade.get();
            r++;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/IterablesFilterArrayListTest.java

    public final class IterablesFilterArrayListTest
        extends AbstractFilteredIterableTest<Iterable<Integer>> {
      @Override
      Iterable<Integer> createUnfiltered(Iterable<Integer> contents) {
        return Lists.newArrayList(contents);
      }
    
      @Override
      Iterable<Integer> filter(Iterable<Integer> elements, Predicate<? super Integer> predicate) {
        return Iterables.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  9. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        return suite;
      }
    
      public void testInsertionOrder() {
        Map<Integer, String> map = CompactLinkedHashMap.create();
        map.put(1, "a");
        map.put(4, "b");
        map.put(3, "d");
        map.put(2, "c");
        testHasMapEntriesInOrder(map, 1, "a", 4, "b", 3, "d", 2, "c");
      }
    
      public void testInsertionOrderAfterPutKeyTwice() {
        Map<Integer, String> map = CompactLinkedHashMap.create();
        map.put(1, "a");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top