Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 952 for One (0.43 sec)

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

        try {
          Stream.of(immutableCell("one", "uno", 1)).collect(collector);
          fail("Expected NullPointerException");
        } catch (NullPointerException expected) {
        }
        collector =
            TableCollectors.toImmutableTable(Cell::getRowKey, Cell::getColumnKey, Cell::getValue);
        try {
          Stream.of(immutableCell("one", "uno", 1), immutableCell("one", "uno", (Integer) null))
              .collect(collector);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/MemoryUtil.java

     */
    package org.codelibs.fess.util;
    
    import static org.apache.commons.io.FileUtils.ONE_EB_BI;
    import static org.apache.commons.io.FileUtils.ONE_GB_BI;
    import static org.apache.commons.io.FileUtils.ONE_KB_BI;
    import static org.apache.commons.io.FileUtils.ONE_MB_BI;
    import static org.apache.commons.io.FileUtils.ONE_PB_BI;
    import static org.apache.commons.io.FileUtils.ONE_TB_BI;
    
    import java.math.BigDecimal;
    import java.math.BigInteger;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        public void testGet() throws Exception {
            assertThat(map.get("ONE"), is("1"));
            assertThat(map.get("One"), is("1"));
            assertThat(map.get("hoge"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPut() throws Exception {
            assertThat(map.put("One", "11"), is("1"));
            assertThat(map.get("one"), is("11"));
        }
    
        /**
         * @throws Exception
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         * Module information for the path specified at construction time.
         * This map is usually either empty if no module was found, or a singleton map.
         * It may however contain more than one entry if module hierarchy was detected,
         * in which case there is one key per sub-directory.
         *
         * <p>This map may contain null values if the constructor was invoked with {@code resolve}
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testRetainAll_subset() {
        expectReturnsTrue(nonEmptyProperSubset);
        expectContents(nonEmptyProperSubset.toRetain);
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testRetainAll_subsetUnsupported() {
        expectThrows(nonEmptyProperSubset);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           *   setFuture called on it: Neither of those can happen until we've finished processing all
           *   the completed inputs. And we're still processing at least one input, the one that
           *   triggered handleException.)
           *
           * TODO(cpovirk): Think about whether we could/should use Verify to check the return value of
           * addCausalChain.
           */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SetOperationsTest.java

                            Sets.newHashSet("c", elements[0], "d"));
                      }
                    })
                .named("intersection with overlap of one")
                .withFeatures(CollectionSize.ONE, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                .build();
    
        assertThat(RANGE_SET_ONE.union(RANGE_SET_TWO)).isEqualTo(expected);
      }
    
      public void testIntersection() {
        RangeSet<Integer> expected =
            ImmutableRangeSet.<Integer>builder()
                .add(Range.closed(2, 3))
                .add(Range.open(6, 7))
                .add(Range.singleton(8))
                .build();
    
        assertThat(RANGE_SET_ONE.intersection(RANGE_SET_TWO)).isEqualTo(expected);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

        try {
          sortedSet.last();
          fail();
        } catch (NoSuchElementException e) {
        }
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonSetFirst() {
        assertEquals(a, sortedSet.first());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonSetLast() {
        assertEquals(a, sortedSet.last());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/DiscreteDomain.java

        @Override
        public BigInteger next(BigInteger value) {
          return value.add(BigInteger.ONE);
        }
    
        @Override
        public BigInteger previous(BigInteger value) {
          return value.subtract(BigInteger.ONE);
        }
    
        @Override
        BigInteger offset(BigInteger origin, long distance) {
          checkNonnegative(distance, "distance");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top