Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 423 for First (0.39 sec)

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

       * first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except
       * the first are ignored.
       */
      public static <E> ImmutableSet<E> of(E e1, E e2) {
        return construct(2, e1, e2);
      }
    
      /**
       * Returns an immutable set containing the given elements, minus duplicates, in the order each was
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Comparators.java

       * as equal, the first is returned.
       *
       * <p>The recommended solution for finding the {@code maximum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
       * <a href="https://github.com/google/guava/wiki/CollectionUtilitiesExplained#comparators">{@code
       * Comparators}</a>.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. 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)
  4. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        checkMessage(
            expected, "OtherOrder.FIRST -> MyOrder.THIRD", "MyOrder.THIRD -> OtherOrder.FIRST");
        lockA.lock();
        lock01.unlock();
        lockB.lock();
        lockA.unlock();
    
        expected = assertThrows(PotentialDeadlockException.class, () -> lock01.lock());
        checkMessage(
            expected, "LockB -> OtherOrder.FIRST", "LockA -> LockB", "OtherOrder.FIRST -> LockA");
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        checkMessage(
            expected, "OtherOrder.FIRST -> MyOrder.THIRD", "MyOrder.THIRD -> OtherOrder.FIRST");
        lockA.lock();
        lock01.unlock();
        lockB.lock();
        lockA.unlock();
    
        expected = assertThrows(PotentialDeadlockException.class, () -> lock01.lock());
        checkMessage(
            expected, "LockB -> OtherOrder.FIRST", "LockA -> LockB", "OtherOrder.FIRST -> LockA");
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. guava/src/com/google/common/collect/ImmutableSet.java

       * the first are ignored.
       */
      public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5) {
        return new RegularSetBuilderImpl<E>(5).add(e1).add(e2).add(e3).add(e4).add(e5).review().build();
      }
    
      /**
       * Returns an immutable set containing the given elements, minus duplicates, in the order each was
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  9. 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)
  10. maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

            target.setExcludes( Arrays.asList( "first", "second", "third" ) );
            PatternSet source = new PatternSet();
            source.setExcludes( Arrays.asList( "first", "second", "third" ) );
    
            modelMerger.mergePatternSet_Excludes( target, source, true, null );
    
            assertThat( target.getExcludes(), contains( "first", "second", "third" ) );
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
Back to top