Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 2,229 for Void (0.02 seconds)

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

      // maximum size, size of initial contents, default capacity...
    
      private static void checkNatural(MinMaxPriorityQueue<Integer> queue) {
        assertSame(Ordering.natural(), queue.comparator());
      }
    
      private static void checkUnbounded(MinMaxPriorityQueue<Integer> queue) {
        assertEquals(Integer.MAX_VALUE, queue.maximumSize);
      }
    
      public void testHeapIntact() {
        Random random = new Random(0);
        int heapSize = 99;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

      private static final ImmutableList<Integer> LIST_WITH_DUPS =
          ImmutableList.of(1, 1, 2, 4, 4, 4, 8);
    
      private static final ImmutableList<Integer> LIST_WITHOUT_DUPS = ImmutableList.of(1, 2, 4, 8);
    
      void assertModelAgrees(
          List<Integer> list,
          Integer key,
          int answer,
          KeyPresentBehavior presentBehavior,
          KeyAbsentBehavior absentBehavior) {
        switch (presentBehavior) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java

      @CollectionFeature.Require(KNOWN_ORDER)
      public void testForEachKnownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        getMap().forEach((k, v) -> entries.add(entry(k, v)));
        assertEquals(getOrderedElements(), entries);
      }
    
      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testForEachUnknownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testAlwaysTrue_serialization() {
        checkSerialization(Predicates.alwaysTrue());
      }
    
      /*
       * Tests for Predicates.alwaysFalse().
       */
    
      public void testAlwaysFalse_apply() throws Exception {
        assertEvalsToFalse(Predicates.alwaysFalse());
      }
    
      public void testAlwaysFalse_equality() throws Exception {
        new EqualsTester()
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      public void testPutAll_unsupportedNothing() {
        try {
          getMap().putAll(emptyMap());
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAll_supportedNonePresent() {
        putAll(createDisjointCollection());
        expectAdded(e3(), e4());
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

       *     its count, and so on
       */
      @GwtIncompatible
      @J2ktIncompatible
        private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        Serialization.writeMultiset(this, stream);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

            this.logger = logger;
        }
    
        @Override
        public void testArtifact(Artifact node) {}
    
        @Override
        public void startProcessChildren(Artifact artifact) {
            indent += "  ";
        }
    
        @Override
        public void endProcessChildren(Artifact artifact) {
            indent = indent.substring(2);
        }
    
        @Override
        public void includeArtifact(Artifact artifact) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // threads
      public void testRenaming() throws Exception {
        String oldName = Thread.currentThread().getName();
        Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
        Callable<@Nullable Void> callable =
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Phase.java

         *
         * @param execution a execution object.
         */
        public void removeExecution(Execution execution) {
            getExecutions().remove(execution);
        } // -- void removeExecution( Execution )
    
        /**
         * Set configuration to pass to all goals run in this phase.
         *
         * @param configuration a configuration object.
         */
        public void setConfiguration(Object configuration) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/remote-repo/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar

    synchronized class SystemStreamLog implements Log { public void SystemStreamLog(); public void debug(CharSequence); public void debug(CharSequence, Throwable); public void debug(Throwable); public void info(CharSequence); public void info(CharSequence, Throwable); public void info(Throwable); public void warn(CharSequence); public void warn(CharSequence, Throwable); public void warn(Throwable); public void error(CharSequence); public void error(CharSequence, Throwable); public void error(Throwable);...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 9.9K bytes
    - Click Count (0)
Back to Top