Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for uniqBy (0.14 sec)

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

          if (n == 0) {
            return;
          }
          Arrays.sort(elements, 0, n, comparator);
          int unique = 1;
          for (int i = 1; i < n; i++) {
            int cmp = comparator.compare(elements[unique - 1], elements[i]);
            if (cmp < 0) {
              elements[unique++] = elements[i];
            } else if (cmp > 0) {
              throw new AssertionError(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/DiscreteDomain.java

            throw new IllegalArgumentException(
                "overflowed computing offset(" + origin + ", " + distance + ")");
          }
        }
        return current;
      }
    
      /**
       * Returns the unique least value of type {@code C} that is greater than {@code value}, or {@code
       * null} if none exists. Inverse operation to {@link #previous}.
       *
       * @param value any value of type {@code C}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/log/bsentity/dbmeta/ClickLogDbm.java

            return ls;
        }
    
        // ===================================================================================
        //                                                                         Unique Info
        //                                                                         ===========
        @Override
        public boolean hasPrimaryKey() {
            return false;
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/KeyMatchDbm.java

            return ls;
        }
    
        // ===================================================================================
        //                                                                         Unique Info
        //                                                                         ===========
        @Override
        public boolean hasPrimaryKey() {
            return false;
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

     * or module hierarchy, but not module source hierarchy. The latter is excluded because this class
     * is for path elements of compiled codes.
     */
    class PathModularization {
        /**
         * A unique constant for all non-modular dependencies.
         */
        public static final PathModularization NONE = new PathModularization();
    
        /**
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/WebConfigDbm.java

            return ls;
        }
    
        // ===================================================================================
        //                                                                         Unique Info
        //                                                                         ===========
        @Override
        public boolean hasPrimaryKey() {
            return false;
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/FileConfigDbm.java

            return ls;
        }
    
        // ===================================================================================
        //                                                                         Unique Info
        //                                                                         ===========
        @Override
        public boolean hasPrimaryKey() {
            return false;
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ValueGraph.java

    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * An interface for <a
     * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data,
     * whose edges have associated non-unique values.
     *
     * <p>A graph is composed of a set of nodes and a set of edges connecting pairs of nodes.
     *
     * <p>There are three primary interfaces provided to represent graphs. In order of increasing
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        freshness.incrementAndGet();
        return proxy;
      }
    
      /**
       * Generates an instance for {@code type} using the current {@link #freshness}. The generated
       * instance may or may not be unique across different calls.
       */
      private @Nullable Object generate(TypeToken<?> type) {
        Class<?> rawType = type.getRawType();
        List<Object> samples = sampleInstances.get(rawType);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/IterablesTest.java

          }
          iterables.add(Ordering.<Integer>natural().sortedCopy(list));
        }
    
        verifyMergeSorted(iterables, allIntegers);
      }
    
      // Like the pyramid, but creates more unique values, along with repeated ones.
      public void testMergeSorted_skipping_pyramid() {
        List<Iterable<Integer>> iterables = Lists.newLinkedList();
        List<Integer> allIntegers = Lists.newArrayList();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
Back to top