Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 128 for First (0.16 sec)

  1. guava/src/com/google/common/collect/RegularContiguousSet.java

      @Override
      public UnmodifiableIterator<C> descendingIterator() {
        return new AbstractSequentialIterator<C>(last()) {
          final C first = first();
    
          @Override
          @CheckForNull
          protected C computeNext(C previous) {
            return equalsOrThrow(previous, first) ? null : domain.previous(previous);
          }
        };
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

      @CollectionSize.Require(ONE)
      public void testSingletonSetFirst() {
        assertEquals(a, sortedSet.first());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonSetLast() {
        assertEquals(a, sortedSet.last());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a, sortedSet.first());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/AmbiguousBindingReporter.java

                writer.print(")");
            }
            writer.println(" is ambiguous as multiple model elements are available for this type:");
    
            boolean first = true;
            for (Provider provider : providers) {
                if (!first) {
                    writer.println();
                }
                writer.print(INDENT);
                writer.print("- ");
                writer.print(provider.getPath());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/RenderDataUtil.java

                    // care performance for List that the most frequent pattern
                    final Object first = coll instanceof List<?> ? ((List<?>) coll).get(0) : coll.iterator().next();
                    if (first instanceof Entity) {
                        data.register(key, coll.stream().map(BeanUtil::copyBeanToNewMap).collect(Collectors.toList()));
                        return;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListener.java

         * This event means that the artifactScope has NOT been updated to a farther node artifactScope because current
         * node is in the first level pom
         *
         * @param artifact     current node artifact, the one in the first level pom
         * @param ignoredScope artifactScope that was ignored because artifact was in first level pom
         */
        void updateScopeCurrentPom(Artifact artifact, String ignoredScope);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/Types.java

    import java.util.Set;
    
    public class Types {
        private static final Collection<Class<?>> OBJECT_TYPE = ImmutableList.<Class<?>>of(Object.class);
    
        /**
         * Visits all types in a type hierarchy in breadth-first order, super-classes first and then implemented interfaces.
         *
         * @param clazz the type of whose type hierarchy to visit.
         * @param visitor the visitor to call for each type in the hierarchy.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MapPropertyInternal.java

    import java.util.Map;
    
    public interface MapPropertyInternal<K, V> {
        /**
         * Adds a map entry to the property value.
         *
         * <p>
         * When invoked on a property with no value, this method first sets the value
         * of the property to its current convention value, if set, or an empty map.
         * </p>
         *
         * @param key the key
         * @param value the value
         */
        @Incubating
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 18:32:13 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/Pair.java

            return new Pair<>(first, second);
        }
    
        /**
         * インスタンスを構築します。
         */
        public Pair() {
        }
    
        /**
         * インスタンスを構築します。
         *
         * @param first
         *            1番目の値
         * @param second
         *            2番目の値
         */
        public Pair(final T1 first, final T2 second) {
            this.first = first;
            this.second = second;
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

        if (!elements.hasNext()) {
          return of();
        }
        E first = elements.next();
        if (!elements.hasNext()) {
          // TODO: Remove "ImmutableSet.<E>" when eclipse bug is fixed.
          return ImmutableSet.<E>of(first);
        }
    
        Set<E> delegate = Sets.newLinkedHashSet();
        delegate.add(checkNotNull(first));
        do {
          delegate.add(checkNotNull(elements.next()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

                    return new AbstractMap.SimpleEntry<>(key, replacedAccessor);
                });
        }
    
        private static <T> Map<AccessorKey, T> diff(Map<AccessorKey, T> first, Map<AccessorKey, T> second) {
            return first.entrySet().stream()
                .filter(e -> !second.containsKey(e.getKey()))
                .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top