Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 727 for examples (0.07 sec)

  1. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       access, and lastly speed of creation.
     *   <li>The {@code copyOf} methods will sometimes recognize that the actual copy operation is
     *       unnecessary; for example, {@code copyOf(copyOf(anArrayList))} should copy the data only
     *       once. This reduces the expense of habitually making defensive copies at API boundaries.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    /**
     * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with
     * the same parameters forwarded and return value forwarded back or exception propagated as is.
     *
     * <p>For example:
     *
     * {@snippet :
     * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() {
     *   public Foo apply(Foo foo) {
     *     return new ForwardingFoo(foo);
     *   }
     * });
     * }
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingSortedMultiset.java

     * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSortedMultiset} forward
     * <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link
     * #add(Object, int)} alone <b>will not</b> change the behavior of {@link #add(Object)}, which can
     * lead to unexpected behavior. In this case, you should override {@code add(Object)} as well,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestEnumMapGenerator implements TestMapGenerator<AnEnum, String> {
    
      @Override
      public SampleElements<Entry<AnEnum, String>> samples() {
        return new SampleElements<>(
            mapEntry(AnEnum.A, "January"),
            mapEntry(AnEnum.B, "February"),
            mapEntry(AnEnum.C, "March"),
            mapEntry(AnEnum.D, "April"),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

      protected TestMapEntrySetGenerator(SampleElements<K> keys, SampleElements<V> values) {
        this.keys = keys;
        this.values = values;
      }
    
      @Override
      public SampleElements<Entry<K, V>> samples() {
        return SampleElements.mapEntries(keys, values);
      }
    
      @Override
      public Set<Entry<K, V>> create(Object... elements) {
        Entry<K, V>[] entries = createArray(elements.length);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/DoubleArrayAsListTest.java

        return result;
      }
    
      public abstract static class TestDoubleListGenerator implements TestListGenerator<Double> {
        @Override
        public SampleElements<Double> samples() {
          return new SampleDoubles();
        }
    
        @Override
        public List<Double> create(Object... elements) {
          Double[] array = new Double[elements.length];
          int i = 0;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. docs/features/connections.md

    There may be many routes for a single address. For example, a webserver that is hosted in multiple datacenters may yield multiple IP addresses in its DNS response.
    
    In limited situations OkHttp will retry a route if connecting fails:
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Feb 21 03:33:59 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSet.java

       * each appears first in the source collection.
       *
       * <p><b>Performance note:</b> This method will sometimes recognize that the actual copy operation
       * is unnecessary; for example, {@code copyOf(copyOf(anArrayList))} will copy the data only once.
       * This reduces the expense of habitually making defensive copies at API boundaries. However, the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 07 16:09:47 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbResourceLocatorTest.java

                assertThrows(IllegalArgumentException.class, () -> new DummySmbResourceLocator(null));
            }
    
            @Test
            void unsupportedProtocolThrows() {
                String url = "http://example.com";
                assertThrows(MalformedURLException.class, () -> new DummySmbResourceLocator(url));
            }
    
            @Test
            void rootUrlIsRoot() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. dbflute_fess/dfprop/outsideSqlMap.dfprop

        # o sqlPackage: (NotRequired - Default all packages)
        #  The package of SQL file for outsideSql.
        #  This is basically for narrowing SQL-searching target,
        #  for example, when the project has SQL files for other framework.
        #  So basically you don't need this.
        #
        #  You can use variable '$$PACKAGE_BASE$$' that means 'packageBase'.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jul 25 06:04:16 UTC 2015
    - 8K bytes
    - Viewed (0)
Back to top