Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 408 for iterable (0.06 sec)

  1. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

         * @return The converted {@link Date}.
         */
        @SuppressWarnings("unchecked")
        protected static Date toDate(final String str, final Locale locale) {
            for (final DateFormat format : MultiIterator.iterable(new DateFormatIterator(locale), new PlainDateFormatIterator(str, locale))) {
                if (format == null) {
                    continue;
                }
                final Date date = toDate(str, format);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

         * @return The converted {@link Date}.
         */
        @SuppressWarnings("unchecked")
        protected static Date toDate(final String str, final Locale locale) {
            for (final DateFormat format : MultiIterator.iterable(new DateFormatIterator(locale), new PlainDateFormatIterator(str, locale))) {
                if (format == null) {
                    continue;
                }
                final Date date = toDate(str, format);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testEmptyRangeSubMultisetSupportingAdd(SortedMultiset<E> multiset) {
        for (Entry<E> entry : asList(a, b, c)) {
          expectAddFailure(multiset, entry);
        }
      }
    
      private static int totalSize(Iterable<? extends Entry<?>> entries) {
        int sum = 0;
        for (Entry<?> entry : entries) {
          sum += entry.getCount();
        }
        return sum;
      }
    
      private enum SubMultisetSpec {
        TAIL_CLOSED {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        assertThat(scanResourceNames(ClassLoader.getSystemClassLoader()))
            .contains("com/google/common/reflect/ClassPathTest.class");
      }
    
      private static ClassPath.ClassInfo findClass(
          Iterable<ClassPath.ClassInfo> classes, Class<?> cls) {
        for (ClassPath.ClassInfo classInfo : classes) {
          if (classInfo.getName().equals(cls.getName())) {
            return classInfo;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

                    CollectionFeature.KNOWN_ORDER,
                    MapFeature.REJECTS_DUPLICATES_AT_CREATION,
                    MapFeature.ALLOWS_ANY_NULL_QUERIES)
                .named("ImmutableSortedMap.copyOf[Iterable<Entry>]")
                .createTestSuite());
    
        suite.addTest(
            ListTestSuiteBuilder.using(new ImmutableSortedMapEntryListGenerator())
                .named("ImmutableSortedMap.entrySet.asList")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeRangeSet.java

       * one {@code Range} in {@code ranges}.
       *
       * @since 21.0
       */
      public static <C extends Comparable<?>> TreeRangeSet<C> create(Iterable<Range<C>> ranges) {
        TreeRangeSet<C> result = create();
        result.addAll(ranges);
        return result;
      }
    
      private TreeRangeSet(NavigableMap<Cut<C>, Range<C>> rangesByLowerCut) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       *
       * @param services The services to manage
       * @throws IllegalArgumentException if not all services are {@linkplain State#NEW new} or if there
       *     are any duplicate services.
       */
      public ServiceManager(Iterable<? extends Service> services) {
        ImmutableList<Service> copy = ImmutableList.copyOf(services);
        if (copy.isEmpty()) {
          // Having no services causes the manager to behave strangely. Notably, listeners are never
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

                .createTestSuite());
        suite.addTest(
            SetMultimapTestSuiteBuilder.using(new ImmutableSetMultimapCopyOfEntriesGenerator())
                .named("ImmutableSetMultimap.copyOf[Iterable<Entry>]")
                .withFeatures(ALLOWS_ANY_NULL_QUERIES, KNOWN_ORDER, SERIALIZABLE, CollectionSize.ANY)
                .createTestSuite());
        return suite;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/MediaType.java

       *
       * @throws IllegalArgumentException if either {@code attribute} or {@code values} is invalid
       * @since 24.0
       */
      public MediaType withParameters(String attribute, Iterable<String> values) {
        checkNotNull(attribute);
        checkNotNull(values);
        String normalizedAttribute = normalizeToken(attribute);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/LinkedListMultimap.java

     * <p>The collections returned by {@link #keySet()} and {@link #asMap()} iterate through the keys in
     * the order they were first added to the multimap. Similarly, {@link #get}, {@link #removeAll}, and
     * {@link #replaceValues} return collections that iterate through the values in the order they were
     * added. The collections generated by {@link #entries()}, {@link #keys()}, and {@link #values}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top