Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 126 for Mair (0.15 sec)

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

     * collection, such as a {@link Set}, does not support duplicates, an added key-value pair will
     * replace an existing pair with the same key and value, if such a pair is present. With collections
     * like {@link List} that allow duplicates, the collection will keep the existing key-value pairs
     * while adding a new pair.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap, even if the
    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)
  2. android/guava/src/com/google/common/io/AppendableWriter.java

        target.append(str);
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        checkNotNull(str);
        checkNotClosed();
        // tricky: append takes start, end pair...
        target.append(str, off, off + len);
      }
    
      @Override
      public void flush() throws IOException {
        checkNotClosed();
        if (target instanceof Flushable) {
          ((Flushable) target).flush();
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        }
        assertEquals(expected.toString(), SIMPLE_ESCAPER.escape(input.toString()));
      }
    
      public void testSurrogatePairs() {
        UnicodeEscaper e = SIMPLE_ESCAPER;
    
        // Build up a range of surrogate pair characters to test
        final int min = Character.MIN_SUPPLEMENTARY_CODE_POINT;
        final int max = Character.MAX_CODE_POINT;
        final int range = max - min;
        final int s1 = min + (1 * range) / 4;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/SortedSetMultimap.java

    /**
     * A {@code SetMultimap} whose set of values for a given key are kept sorted; that is, they comprise
     * a {@link SortedSet}. It cannot hold duplicate key-value pairs; adding a key-value pair that's
     * already in the multimap has no effect. This interface does not specify the ordering of the
     * multimap's keys. See the {@link Multimap} documentation for information common to all multimaps.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        checkNotNull(runnable, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
    
        // Lock while we check state. We must maintain the lock while adding the new pair so that
        // another thread can't run the list out from under us. We only add to the list if we have not
        // yet started execution.
        synchronized (this) {
          if (!executed) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Strings.java

            || validSurrogatePairAt(b, b.length() - s - 1)) {
          s--;
        }
        return a.subSequence(a.length() - s, a.length()).toString();
      }
    
      /**
       * True when a valid surrogate pair starts at the given {@code index} in the given {@code string}.
       * Out-of-range indexes return false.
       */
      @VisibleForTesting
      static boolean validSurrogatePairAt(CharSequence string, int index) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      /**
       * A collection of several futures, covering cancellation, success, and failure (both {@link
       * ExecutionException} and {@link RuntimeException}), both immediate and delayed. We use each
       * possible pair of these futures in {@link FuturesTest#runExtensiveMergerTest}.
       *
       * <p>Each test requires a new {@link TestFutureBatch} because we need new delayed futures each
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/MoreObjects.java

          omitNullValues = true;
          return this;
        }
    
        /**
         * Adds a name/value pair to the formatted output in {@code name=value} format. If {@code value}
         * is {@code null}, the string {@code "null"} is used, unless {@link #omitNullValues()} is
         * called, in which case this name/value pair will not be added.
         */
        @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

      }
    
      /**
       * Asserts that a Unicode escaper escapes the given hi/lo surrogate pair into the expected string.
       *
       * @param escaper the non-null escaper to test
       * @param expected the expected output string
       * @param hi the high surrogate pair character
       * @param lo the low surrogate pair character
       */
      public static void assertUnicodeEscaping(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       *
       * @param capacity the capacity of this queue
       * @param fair if {@code true} then queue accesses for threads blocked on insertion or removal,
       *     are processed in FIFO order; if {@code false} the access order is unspecified.
       * @throws IllegalArgumentException if {@code capacity} is less than 1
       */
      public MonitorBasedArrayBlockingQueue(int capacity, boolean fair) {
        if (capacity <= 0) throw new IllegalArgumentException();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top