Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3941 - 3950 of 4,785 for New (0.05 sec)

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

        assertEquals(
            "map.toString() incorrect", expectedToString(getMap().entrySet()), getMap().toString());
      }
    
      private String expectedToString(Set<Entry<K, V>> entries) {
        Map<K, V> reference = new LinkedHashMap<>();
        for (Entry<K, V> entry : entries) {
          reference.put(entry.getKey(), entry.getValue());
        }
        return reference.toString();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/outside/DeepInterfaceTest.java

      }
    
      public void testNowhereAnnotated() {
        assertThat(getSubscriber().nowhereAnnotatedEvents).isEmpty();
      }
    
      @Override
      SubscriberClass createSubscriber() {
        return new SubscriberClass();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

        return mapEntry(entry.getValue(), entry.getKey());
      }
    
      @Override
      protected void expectContents(Collection<Entry<K, V>> expected) {
        super.expectContents(expected);
        List<Entry<V, K>> reversedEntries = new ArrayList<>();
        for (Entry<K, V> entry : expected) {
          reversedEntries.add(reverseEntry(entry));
        }
        assertEqualIgnoringOrder(getMap().inverse().entrySet(), reversedEntries);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/FlushablesTest.java

      // throw an exception.
      private void setupFlushable(boolean shouldThrowOnFlush) throws IOException {
        mockFlushable = mock(Flushable.class);
        if (shouldThrowOnFlush) {
          doThrow(
                  new IOException(
                      "This should only appear in the " + "logs. It should not be rethrown."))
              .when(mockFlushable)
              .flush();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NbtException.java

            super(getErrorString(errorClass, errorCode));
            this.errorClass = errorClass;
            this.errorCode = errorCode;
        }
    
    
        @Override
        public String toString () {
            return new String(
                "errorClass=" + this.errorClass + ",errorCode=" + this.errorCode + ",errorString=" + getErrorString(this.errorClass, this.errorCode));
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/SingletonImmutableBiMap.java

        if (inverse != null) {
          return inverse;
        } else {
          // racy single-check idiom
          ImmutableBiMap<V, K> result = lazyInverse;
          if (result == null) {
            return lazyInverse = new SingletonImmutableBiMap<>(singleValue, singleKey, this);
          } else {
            return result;
          }
        }
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java

            }
            return getModelId() + " " + getLocation();
        }
    
        public static InputSource merge(InputSource src1, InputSource src2) {
            return new InputSource(Stream.concat(src1.sources(), src2.sources()).collect(Collectors.toSet()));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

        /**
         * Inject a standard <code>Maven</code> logging mechanism to allow this <code>Mojo</code> to communicate events
         * and feedback to the user.
         *
         * @param log a new logger
         *
         * @deprecated Use SLF4J directly
         */
        @Deprecated
        void setLog(Log log);
    
        /**
         * Furnish access to the standard Maven logging mechanism which is managed in this base class.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java

    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    
    public class ClassDescriptionRenderer {
        private final ElementWarningsRenderer warningsRenderer = new ElementWarningsRenderer();
    
        public void renderTo(ClassDoc classDoc, Element parent) {
            Document document = parent.getOwnerDocument();
    
            Element title = document.createElement("title");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        // disables caching.  It's irrelevant how it does so.
        CacheBuilder<Object, Object> builder = CacheBuilder.from(CacheBuilderSpec.disableCaching());
        Object key = new Object();
        Object value = new Object();
        LoadingCache<Object, Object> cache =
            builder.build(CacheLoader.from(Suppliers.ofInstance(value)));
        assertSame(value, cache.getUnchecked(key));
        assertEquals(0, cache.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top