Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 3,883 for void (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testGetOrDefault_present() {
        assertEquals(
            "getOrDefault(present, def) should return the associated value",
            v0(),
            getMap().getOrDefault(k0(), v3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testGetOrDefault_presentNullDefault() {
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEqualsTester.java

    public class MultisetEqualsTester<E> extends AbstractMultisetTester<E> {
      public void testEqualsSameContents() {
        new EqualsTester()
            .addEqualityGroup(
                getMultiset(), getSubjectGenerator().create(getSampleElements().toArray()))
            .testEquals();
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testNotEqualsEmpty() {
        new EqualsTester()
            .addEqualityGroup(getMultiset())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java

      @BeforeExperiment
      void setUp() {
        map.put(TEST_KEY, TEST_VALUE);
        cache.put(TEST_KEY, TEST_VALUE);
        cacheNoStats.put(TEST_KEY, TEST_VALUE);
      }
    
      @Benchmark
      void concurrentHashMap(int rep) {
        for (int i = 0; i < rep; i++) {
          map.get(TEST_KEY);
        }
      }
    
      @Benchmark
      void cacheBuilder_stats(int rep) {
        for (int i = 0; i < rep; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 05 17:21:46 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            }
    
            @Override
            public void addRepository(org.apache.maven.model.Repository repository) throws InvalidRepositoryException {}
    
            @Override
            public void addRepository(org.apache.maven.model.Repository repository, boolean replace)
                    throws InvalidRepositoryException {}
        }
    
        @Test
        void testBuildRawModel() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java

     *
     */
    class OrganizationTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Organization().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Organization().equals(null));
    
            new Organization().equals(new Organization());
        }
    
        @Test
        void testEqualsIdentity() {
            Organization thing = new Organization();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

         * @param phase a phase object.
         */
        public void removePhase(Phase phase) {
            getPhases().remove(phase);
        } // -- void removePhase( Phase )
    
        /**
         * Set the ID of this lifecycle, for identification in the mojo
         * descriptor.
         *
         * @param id a id object.
         */
        public void setId(String id) {
            this.id = id;
        } // -- void setId( String )
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/pager/GroupPager.java

        }
    
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        public void setAllRecordCount(final int allRecordCount) {
            this.allRecordCount = allRecordCount;
        }
    
        public int getAllPageCount() {
            return allPageCount;
        }
    
        public void setAllPageCount(final int allPageCount) {
            this.allPageCount = allPageCount;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/pager/KuromojiPager.java

            return 1;
        }
    
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        public void setAllRecordCount(final int allRecordCount) {
            this.allRecordCount = allRecordCount;
        }
    
        public int getAllPageCount() {
            return allPageCount;
        }
    
        public void setAllPageCount(final int allPageCount) {
            this.allPageCount = allPageCount;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

      }
    
      private TypeToInstanceMap<Object> map;
    
      @Override
      protected void setUp() throws Exception {
        map = new MutableTypeToInstanceMap<>();
      }
    
      public void testPutThrows() {
        assertThrows(
            UnsupportedOperationException.class,
            () -> map.put(TypeToken.of(Integer.class), Integer.valueOf(5)));
      }
    
      public void testPutAllThrows() {
        assertThrows(
            UnsupportedOperationException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/AbstractCache.java

      }
    
      /** @since 11.0 */
      @Override
      public void put(K key, V value) {
        throw new UnsupportedOperationException();
      }
    
      /** @since 12.0 */
      @Override
      public void putAll(Map<? extends K, ? extends V> m) {
        for (Entry<? extends K, ? extends V> entry : m.entrySet()) {
          put(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public void cleanUp() {}
    
      @Override
      public long size() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
Back to top