Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 58 for wrapping (0.28 sec)

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

       * first permutation will be in ascending order, and the last will be in descending order.
       *
       * <p>Elements that compare equal are considered equal and no new permutations are created by
       * swapping them.
       *
       * <p>An empty iterable has only one permutation, which is an empty list.
       *
       * @param elements the original iterable whose elements have to be permuted.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableBiMap} whose keys
       * and values are the result of applying the provided mapping functions to the input elements.
       * Entries appear in the result {@code ImmutableBiMap} in encounter order.
       *
       * <p>If the mapped keys or values contain duplicates (according to {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        tentativeArgs.set(i, alternateArg);
        return createInstance(factory, tentativeArgs).hashCode()
            == createInstance(factory, args).hashCode();
      }
    
      // distinctValues is a type-safe class-values mapping, but we don't have a type-safe data
      // structure to hold the mappings.
      @SuppressWarnings({"unchecked", "rawtypes"})
      private FreshValueGenerator newFreshValueGenerator() {
        FreshValueGenerator generator =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/Utf8Test.java

              // Four byte characters
              FOUR_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      /** Tests that round tripping of all two byte permutations work. */
      @GwtIncompatible // java.nio.charset.Charset
      public void testIsWellFormed_1Byte() {
        testBytes(1, EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT);
      }
    
      /** Tests that round tripping of all two byte permutations work. */
      @GwtIncompatible // java.nio.charset.Charset
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ArrayTable.java

       */
    
      /**
       * Creates an {@code ArrayTable} with the mappings in the provided table.
       *
       * <p>If {@code table} includes a mapping with row key {@code r} and a separate mapping with
       * column key {@code c}, the returned table contains a mapping with row key {@code r} and column
       * key {@code c}. If that row key / column key pair in not in {@code table}, the pair maps to
       * {@code null} in the generated table.
    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)
  6. android/guava/src/com/google/common/io/CharStreams.java

       * close or flush the reader.
       *
       * <p>This is identical to {@link #copy(Readable, Appendable)} but optimized for these specific
       * types. CharBuffer has poor performance when being written into or read out of so round tripping
       * all the bytes through the buffer takes a long time. With these specialized types we can just
       * use a char array.
       *
       * @param from the object to read from
       * @param to the object to write to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

       *
       * <p>Files are mapped from offset 0 to its length.
       *
       * <p>This only works for files ≤ {@link Integer#MAX_VALUE} bytes.
       *
       * @param file the file to map
       * @param mode the mode to use when mapping {@code file}
       * @return a buffer reflecting {@code file}
       * @throws FileNotFoundException if the {@code file} does not exist
       * @throws IOException if an I/O error occurs
       * @see FileChannel#map(MapMode, long, long)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMap.java

      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableMap} whose keys
       * and values are the result of applying the provided mapping functions to the input elements.
       * Entries appear in the result {@code ImmutableMap} in encounter order.
       *
       * <p>If the mapped keys contain duplicates (according to {@link Object#equals(Object)}, an {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Splitter.java

         * unmodifiable map with each of the entries. For example, {@code
         * Splitter.on(';').trimResults().withKeyValueSeparator("=>").split("a=>b ; c=>b")} will return
         * a mapping from {@code "a"} to {@code "b"} and {@code "c"} to {@code "b"}.
         *
         * <p>The returned map preserves the order of the entries from {@code sequence}.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        Mapping<F, T> selfMapping() {
          return new Mapping<F, T>() {};
        }
      }
    
      public void testCyclicMapping() {
        Mapping<Integer, String> mapping = new Mapping<>();
        assertEquals(mapping.f, mapping.getFromType());
        assertEquals(mapping.t, mapping.getToType());
        assertEquals(mapping.f, mapping.flip().getFromType());
        assertEquals(mapping.t, mapping.flip().getToType());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
Back to top