Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 335 for Integer (0.14 sec)

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

        ImmutableListMultimap<String, Integer> multimap =
            new Builder<String, Integer>().put(Maps.immutableEntry("one", 1)).build();
        assertEquals(Arrays.asList(1), multimap.get("one"));
      }
    
      public void testBuilder_withImmutableEntryAndNullContents() {
        Builder<String, Integer> builder = new Builder<>();
        try {
          builder.put(Maps.immutableEntry("one", (Integer) null));
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PredicatesTest.java

    public class PredicatesTest extends TestCase {
      private static final Predicate<@Nullable Integer> TRUE = Predicates.alwaysTrue();
      private static final Predicate<@Nullable Integer> FALSE = Predicates.alwaysFalse();
      private static final Predicate<@Nullable Integer> NEVER_REACHED =
          new Predicate<@Nullable Integer>() {
            @Override
            public boolean apply(@Nullable Integer i) {
    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/math/StatsTest.java

            .of(MANY_VALUES_MEAN * MANY_VALUES_COUNT);
        assertThat(INTEGER_MANY_VALUES_STATS_VARARGS.sum())
            .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN)
            .of(INTEGER_MANY_VALUES_MEAN * INTEGER_MANY_VALUES_COUNT);
        assertThat(INTEGER_MANY_VALUES_STATS_ITERABLE.sum())
            .isWithin(ALLOWED_ERROR * INTEGER_MANY_VALUES_MEAN)
            .of(INTEGER_MANY_VALUES_MEAN * INTEGER_MANY_VALUES_COUNT);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ListsImplTest.java

      public void testHashCodeImpl() {
        List<Integer> base = createList(Integer.class, 1, 2, 2);
        List<Integer> copy = createList(Integer.class, 1, 2, 2);
        List<Integer> outOfOrder = createList(Integer.class, 2, 2, 1);
        List<Integer> diffValue = createList(Integer.class, 1, 2, 4);
        List<Integer> diffLength = createList(Integer.class, 1, 2);
        List<Integer> empty = createList(Integer.class);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                      @Override
                      public Entry<String, Integer>[] createArray(int length) {
                        return (Entry<String, Integer>[]) new Entry<?, ?>[length];
                      }
    
                      @Override
                      public Iterable<Entry<String, Integer>> order(
                          List<Entry<String, Integer>> insertionOrder) {
                        return insertionOrder;
                      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

            Multiset<String> multiset,
            ImmutableMultiset<Integer> immutableMultiset,
            Multimap<String, Integer> multimap,
            ImmutableMultimap<String, Integer> immutableMultimap,
            Table<String, Integer, Exception> table,
            ImmutableTable<Integer, String, Exception> immutableTable) {
          calledWith(
              gender,
              integer,
              i,
              string,
              charSequence,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        for (int i = 0; i < numInsertions * 2; i += 2) {
          bf.put(Integer.toString(i));
        }
        assertApproximateElementCountGuess(bf, numInsertions);
    
        // Assert that the BF "might" have all of the even numbers.
        for (int i = 0; i < numInsertions * 2; i += 2) {
          assertTrue(bf.mightContain(Integer.toString(i)));
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

         * ImmutableIntArray} will contain.
         */
        @CanIgnoreReturnValue
        public Builder addAll(Iterable<Integer> values) {
          if (values instanceof Collection) {
            return addAll((Collection<Integer>) values);
          }
          for (Integer value : values) {
            add(value);
          }
          return this;
        }
    
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

                .createTestSuite());
        return suite;
      }
    
      private TreeBasedTable<String, Integer, Character> sortedTable;
    
      protected TreeBasedTable<String, Integer, Character> create(
          Comparator<? super String> rowComparator,
          Comparator<? super Integer> columnComparator,
          Object... data) {
        TreeBasedTable<String, Integer, Character> table =
            TreeBasedTable.create(rowComparator, columnComparator);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

     */
    @GwtCompatible(emulated = true)
    abstract class AbstractAbstractFutureTest extends TestCase {
      private TestedFuture<Integer> future;
      private AbstractFuture<Integer> delegate;
    
      abstract AbstractFuture<Integer> newDelegate();
    
      @Override
      protected void setUp() {
        future = TestedFuture.create();
        delegate = newDelegate();
      }
    
      public void testPending() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
Back to top