Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for indexMap (0.2 sec)

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

        @SuppressWarnings("unchecked")
        @Nullable
        V[][] array = (@Nullable V[][]) new Object[rowSpace.size()][columnSpace.size()];
        this.values = array;
        this.rowKeyToIndex = Maps.indexMap(rowSpace);
        this.columnKeyToIndex = Maps.indexMap(columnSpace);
        rowCounts = new int[rowKeyToIndex.size()];
        columnCounts = new int[columnKeyToIndex.size()];
        int[] cellRowIndices = new int[cellList.size()];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ExplicitOrdering.java

    @ElementTypesAreNonnullByDefault
    final class ExplicitOrdering<T> extends Ordering<T> implements Serializable {
      final ImmutableMap<T, Integer> rankMap;
    
      ExplicitOrdering(List<T> valuesInOrder) {
        this(Maps.indexMap(valuesInOrder));
      }
    
      ExplicitOrdering(ImmutableMap<T, Integer> rankMap) {
        this.rankMap = rankMap;
      }
    
      @Override
      public int compare(T left, T right) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ExplicitOrdering.java

    @ElementTypesAreNonnullByDefault
    final class ExplicitOrdering<T> extends Ordering<T> implements Serializable {
      final ImmutableMap<T, Integer> rankMap;
    
      ExplicitOrdering(List<T> valuesInOrder) {
        this(Maps.indexMap(valuesInOrder));
      }
    
      ExplicitOrdering(ImmutableMap<T, Integer> rankMap) {
        this.rankMap = rankMap;
      }
    
      @Override
      public int compare(T left, T right) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/DenseImmutableTable.java

        @SuppressWarnings("unchecked")
        @Nullable
        V[][] array = (@Nullable V[][]) new Object[rowSpace.size()][columnSpace.size()];
        this.values = array;
        this.rowKeyToIndex = Maps.indexMap(rowSpace);
        this.columnKeyToIndex = Maps.indexMap(columnSpace);
        rowCounts = new int[rowKeyToIndex.size()];
        columnCounts = new int[columnKeyToIndex.size()];
        int[] cellRowIndices = new int[cellList.size()];
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SparseImmutableTable.java

      private final int[] cellColumnInRowIndices;
    
      SparseImmutableTable(
          ImmutableList<Cell<R, C, V>> cellList,
          ImmutableSet<R> rowSpace,
          ImmutableSet<C> columnSpace) {
        Map<R, Integer> rowIndex = Maps.indexMap(rowSpace);
        Map<R, Map<C, V>> rows = Maps.newLinkedHashMap();
        for (R row : rowSpace) {
          rows.put(row, new LinkedHashMap<C, V>());
        }
        Map<C, Map<R, V>> columns = Maps.newLinkedHashMap();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ArrayTable.java

         * elements but rowKeySet() will be empty and containsRow() won't
         * acknowledge them.
         */
        rowKeyToIndex = Maps.indexMap(rowList);
        columnKeyToIndex = Maps.indexMap(columnList);
    
        @SuppressWarnings("unchecked")
        @Nullable
        V[][] tmpArray = (@Nullable V[][]) new Object[rowList.size()][columnList.size()];
        array = tmpArray;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ArrayTable.java

         * elements but rowKeySet() will be empty and containsRow() won't
         * acknowledge them.
         */
        rowKeyToIndex = Maps.indexMap(rowList);
        columnKeyToIndex = Maps.indexMap(columnList);
    
        @SuppressWarnings("unchecked")
        @Nullable
        V[][] tmpArray = (@Nullable V[][]) new Object[rowList.size()][columnList.size()];
        array = tmpArray;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

        PowerSet(Set<E> input) {
          checkArgument(
              input.size() <= 30, "Too many elements to create power set: %s > 30", input.size());
          this.inputSet = Maps.indexMap(input);
        }
    
        @Override
        public int size() {
          return 1 << inputSet.size();
        }
    
        @Override
        public boolean isEmpty() {
          return false;
        }
    
    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)
  9. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

    public abstract class FessLoginAction extends FessSearchAction {
        protected HtmlResponse getHtmlResponse() {
            return getUserBean().map(this::redirectByUser).orElse(asHtml(virtualHost(path_Login_IndexJsp)));
        }
    
        protected HtmlResponse redirectByUser(final FessUserBean user) {
            if (user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray())) {
                return redirect(AdminDashboardAction.class);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/RootAction.java

        @Execute
        public HtmlResponse index() {
            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            return asHtml(virtualHost(path_IndexJsp)).useForm(SearchForm.class, op -> {
                op.setup(form -> {
                    buildFormParams(form);
                });
            }).renderWith(data -> {
                buildInitParams();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top