Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for output (0.18 sec)

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

          // requireNonNull is safe because of the hasNext check.
          BiEntry<K, V> entry = requireNonNull(next);
          next = entry.nextInKeyInsertionOrder;
          toRemove = entry;
          remaining--;
          return output(entry);
        }
    
        @Override
        public void remove() {
          if (modCount != expectedModCount) {
            throw new ConcurrentModificationException();
          }
          if (toRemove == null) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          AsyncFunction<? super I, ? extends O> function,
          Executor executor) {
        checkNotNull(executor);
        AsyncTransformFuture<I, O> output = new AsyncTransformFuture<>(input, function);
        input.addListener(output, rejectionPropagatingExecutor(executor, output));
        return output;
      }
    
      static <I extends @Nullable Object, O extends @Nullable Object> ListenableFuture<O> create(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Joiner.java

       * Multimap} entries in two distinct modes:
       *
       * <ul>
       *   <li>To output a separate entry for each key-value pair, pass {@code multimap.entries()} to a
       *       {@code MapJoiner} method that accepts entries as input, and receive output of the form
       *       {@code key1=A&key1=B&key2=C}.
       *   <li>To output a single entry for each key, pass {@code multimap.asMap()} to a {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/MoreObjects.java

         * Adds a name/value pair to the formatted output in {@code name=value} format.
         *
         * @since 18.0 (since 11.0 as {@code Objects.ToStringHelper.add()}).
         */
        @CanIgnoreReturnValue
        public ToStringHelper add(String name, boolean value) {
          return addUnconditionalHolder(name, String.valueOf(value));
        }
    
        /**
         * Adds a name/value pair to the formatted output in {@code name=value} format.
         *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * primary input succeeds, it is never invoked. If, during the invocation of {@code fallback}, an
       * exception is thrown, this exception is used as the result of the output {@code Future}.
       *
       * <p>Usage example:
       *
       * <pre>{@code
       * // Falling back to a zero counter in case an exception happens when processing the RPC to fetch
       * // counters.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteStreams.java

        final DataOutput output;
        final ByteArrayOutputStream byteArrayOutputStream;
    
        ByteArrayDataOutputStream(ByteArrayOutputStream byteArrayOutputStream) {
          this.byteArrayOutputStream = byteArrayOutputStream;
          output = new DataOutputStream(byteArrayOutputStream);
        }
    
        @Override
        public void write(int b) {
          try {
            output.write(b);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

     *
     * @param <InputT> the type of the individual inputs
     * @param <OutputT> the type of the output (i.e. this) future
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AggregateFuture<InputT extends @Nullable Object, OutputT extends @Nullable Object>
        extends AggregateFutureState<OutputT> {
      private static final LazyLogger logger = new LazyLogger(AggregateFuture.class);
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        return newReentrantLock(lockName, false);
      }
    
      /**
       * Creates a {@link ReentrantLock} with the given fairness policy. The {@code lockName} is used in
       * the warning or exception output to help identify the locks involved in the detected deadlock.
       */
      public ReentrantLock newReentrantLock(String lockName, boolean fair) {
        return policy == Policies.DISABLED
            ? new ReentrantLock(fair)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        if (collection == null) {
          return createUnmodifiableEmptyCollection();
        }
    
        Collection<V> output = createCollection();
        output.addAll(collection);
        totalSize -= collection.size();
        collection.clear();
    
        return unmodifiableCollectionSubclass(output);
      }
    
      <E extends @Nullable Object> Collection<E> unmodifiableCollectionSubclass(
          Collection<E> collection) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/ByteSource.java

       * {@code output}.
       *
       * @return the number of bytes copied
       * @throws IOException if an I/O error occurs while reading from this source or writing to {@code
       *     output}
       */
      @CanIgnoreReturnValue
      public long copyTo(OutputStream output) throws IOException {
        checkNotNull(output);
    
        Closer closer = Closer.create();
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
Back to top