Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for general (0.16 sec)

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

        assertTrue(partitions.hasNext());
        assertEquals(ImmutableList.of(1), partitions.next());
        assertFalse(partitions.hasNext());
      }
    
      @GwtIncompatible // fairly slow (~50s)
      public void testPartition_general() {
        new IteratorTester<List<Integer>>(
            5,
            IteratorFeature.UNMODIFIABLE,
            ImmutableList.of(asList(1, 2, 3), asList(4, 5, 6), asList(7)),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     * 
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p><b>Note:</b> The returned view performs slightly better when {@code set1} is the smaller of
       * the two sets. If you have reason to believe one of your sets will generally be smaller than the
       * other, pass it first. Unfortunately, since this method sets the generic type of the returned
       * set based on the type of the first set passed, this could in rare cases force you to make a
       * cast, for example:
       *
       * <pre>{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SetsTest.java

                        return Sets.newConcurrentHashSet(Arrays.asList(elements));
                      }
                    })
                .named("Sets.newConcurrentHashSet")
                .withFeatures(CollectionSize.ANY, SetFeature.GENERAL_PURPOSE)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return new Builder<>(Ordering.natural());
      }
    
      /**
       * Returns a builder that creates immutable sorted maps with an explicit comparator. If the
       * comparator has a more general type than the map's keys, such as creating a {@code
       * SortedMap<Integer, String>} with a {@code Comparator<Number>}, use the {@link Builder}
       * constructor instead.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        private Object proxy;
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> Callable<V> waitFor(Callable<V> callable) {
          return waitFor(callable, Callable.class);
        }
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> ClosingCallable<V> waitFor(ClosingCallable<V> closingCallable) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/CharMatcher.java

       * href="http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5Cp%7Bwhitespace%7D">here</a>.
       * This is not the same definition used by other Java APIs. (See a <a
       * href="https://goo.gl/Y6SLWx">comparison of several definitions of "whitespace"</a>.)
       *
       * <p>All Unicode White_Space characters are on the BMP and thus supported by this API.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            return new TypeToken<SubBar<T>>() {};
          }
        }
    
        Field delegateField = SubBar.class.getDeclaredField("delegate");
        // barType is Bar<T>, a ParameterizedType with no generic arguments specified
        TypeToken<?> barType = TypeToken.of(delegateField.getGenericType());
        assertThat(barType.getSubtype(SubBar.class)).isEqualTo(new SubBar<Void>().fieldTypeAsSubBar());
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
    
        /**
         * Returns {@code this} up-casted to the specific {@link Segment} implementation type {@code S}.
         *
         * <p>This method exists so that the {@link Segment} code can be generic in terms of {@code S},
         * the type of the concrete implementation.
         */
        abstract S self();
    
        /** Drains the reference queues used by this segment, if any. */
        @GuardedBy("this")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(partitions.hasNext());
        assertEquals(ImmutableList.of(1), partitions.next());
        assertFalse(partitions.hasNext());
      }
    
      @GwtIncompatible // fairly slow (~50s)
      public void testPartition_general() {
        new IteratorTester<List<Integer>>(
            5,
            IteratorFeature.UNMODIFIABLE,
            ImmutableList.of(asList(1, 2, 3), asList(4, 5, 6), asList(7)),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
Back to top