Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 443 for creates (0.06 sec)

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

      // ArrayBlockingQueue
    
      /**
       * Creates an empty {@code ArrayBlockingQueue} with the given (fixed) capacity and nonfair access
       * policy.
       */
      @J2ktIncompatible
      @GwtIncompatible // ArrayBlockingQueue
      public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity) {
        return new ArrayBlockingQueue<>(capacity);
      }
    
      // ArrayDeque
    
      /**
       * Creates an empty {@code ArrayDeque}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Striped.java

          L existing = locks.get(index);
          if (existing != null) {
            return existing;
          }
          L created = supplier.get();
          existing = locks.putIfAbsent(index, created);
          return MoreObjects.firstNonNull(existing, created);
        }
    
        @Override
        public int size() {
          return size;
        }
      }
    
      /** A bit mask were all bits are set. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/HashMultiset.java

    @GwtCompatible
    public final class HashMultiset<E extends @Nullable Object> extends AbstractMapBasedMultiset<E> {
    
      /** Creates a new, empty {@code HashMultiset} using the default initial capacity. */
      public static <E extends @Nullable Object> HashMultiset<E> create() {
        return new HashMultiset<>();
      }
    
      /**
       * Creates a new, empty {@code HashMultiset} with the specified expected number of distinct
       * elements.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Queues.java

      // ArrayBlockingQueue
    
      /**
       * Creates an empty {@code ArrayBlockingQueue} with the given (fixed) capacity and nonfair access
       * policy.
       */
      @J2ktIncompatible
      @GwtIncompatible // ArrayBlockingQueue
      public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity) {
        return new ArrayBlockingQueue<>(capacity);
      }
    
      // ArrayDeque
    
      /**
       * Creates an empty {@code ArrayDeque}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

        return set;
      }
    
      // LinkedHashSet
    
      /**
       * Creates a <i>mutable</i>, empty {@code LinkedHashSet} instance.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableSet#of()} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code LinkedHashSet} constructor directly, taking advantage of <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/QueryCommand.java

         */
        protected interface DefaultQueryBuilderFunction {
            /**
             * Applies the function to create a query builder for the specified field and boost.
             * @param field The field name.
             * @param boost The boost value.
             * @return The created query builder.
             */
            QueryBuilder apply(String field, float boost);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

      // that should resolve the issue. This comes at the cost of adding more write barriers to the
      // implementations.
    
      private Futures() {}
    
      /**
       * Creates a {@code ListenableFuture} which has its value set immediately upon construction. The
       * getters just return the value. This {@code Future} can't be canceled or timed out and its
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Lists.java

    @GwtCompatible
    public final class Lists {
      private Lists() {}
    
      // ArrayList
    
      /**
       * Creates a <i>mutable</i>, empty {@code ArrayList} instance.
       *
       * <p><b>Note:</b> if mutability is not required, use {@link ImmutableList#of()} instead.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code ArrayList} {@linkplain ArrayList#ArrayList() constructor} directly, taking
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

        /**
         * Creates a new duplicate host setting.
         *
         * @param body duplicate host setting data to create
         * @return JSON response with created setting ID and status
         */
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

                return null;
            })).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Creates a new role setting.
         *
         * @param body the role data to create
         * @return JSON response containing the created role setting ID
         */
        // POST /api/admin/role/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top