Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for deserialize (0.22 sec)

  1. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

         *
         * @param input The file to deserialize the metadata from, must not be {@code null}.
         * @param options The options to use for deserialization, may be {@code null} to use the default values.
         * @return The deserialized metadata, never {@code null}.
         * @throws IOException If the metadata could not be deserialized.
         * @throws MetadataParseException If the input format could not be parsed.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelProcessor.java

         * returns.
         *
         * @param request The reader request to deserialize the model, must not be {@code null}.
         * @return The deserialized model, never {@code null}.
         * @throws IOException If the model could not be deserialized.
         * @throws XmlReaderException If the input format could not be parsed.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/JdkBackedImmutableBiMap.java

     * limitations under the License.
     */
    package com.google.common.collect;
    
    
    /**
     * GWT emulation of {@link JdkBackedImmutableBiMap}. Never used, but must exist so that the client
     * is willing to deserialize maps that were this type on the server.
     */
    @ElementTypesAreNonnullByDefault
    class JdkBackedImmutableBiMap<K, V> extends RegularImmutableBiMap<K, V> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/JdkBackedImmutableMap.java

     */
    
    package com.google.common.collect;
    
    import java.util.Map;
    
    /**
     * GWT emulation of {@link JdkBackedImmutableMap}. Never used, but must exist so that the client is
     * willing to deserialize maps that were this type on the server.
     */
    @ElementTypesAreNonnullByDefault
    final class JdkBackedImmutableMap<K, V> extends ForwardingImmutableMap<K, V> {
      JdkBackedImmutableMap(Map<? extends K, ? extends V> delegate) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1K bytes
    - Viewed (0)
  5. samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java

        Request request = new Request.Builder()
            .url(ENDPOINT)
            .build();
    
        // Execute the request and retrieve the response.
        try (Response response = client.newCall(request).execute()) {
          // Deserialize HTTP response to concrete type.
          ResponseBody body = response.body();
          List<Contributor> contributors = CONTRIBUTORS_JSON_ADAPTER.fromJson(body.source());
    
          // Sort list by the most contributions.
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/BloomFilter.java

        } catch (IOException e) {
          throw e;
        } catch (Exception e) { // sneaky checked exception
          String message =
              "Unable to deserialize BloomFilter from InputStream."
                  + " strategyOrdinal: "
                  + strategyOrdinal
                  + " numHashFunctions: "
                  + numHashFunctions
                  + " dataLength: "
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

        return new ReserializingTestCollectionGenerator<>(delegate);
      }
    
      @Override
      public Collection<E> create(Object... elements) {
        return reserialize(delegate.create(elements));
      }
    
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        try {
          ByteArrayOutputStream bytes = new ByteArrayOutputStream();
          ObjectOutputStream out = new ObjectOutputStream(bytes);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapSerializationTester.java

    public class MapSerializationTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionFeature.Require(SERIALIZABLE)
      public void testReserializeMap() {
        Map<K, V> deserialized = SerializableTester.reserialize(getMap());
        new EqualsTester().addEqualityGroup(getMap(), deserialized).testEquals();
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 02 20:22:04 GMT 2018
    - 1.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

        Set<E> copy = reserialize(original);
        assertEquals(original, copy);
        assertTrue(copy instanceof ImmutableSet);
        return copy;
      }
    
      @CanIgnoreReturnValue
      @GwtIncompatible // SerializableTester
      static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) {
        Multiset<E> copy = reserialize(original);
        assertEquals(original, copy);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Aug 04 15:33:27 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/SerializableTester.java

       * @return the re-serialized object
       * @throws RuntimeException if the specified object was not successfully serialized or
       *     deserialized
       */
      @CanIgnoreReturnValue
      public static <T> T reserialize(T object) {
        return Platform.reserialize(object);
      }
    
      /**
       * Serializes and deserializes the specified object and verifies that the re-serialized object is
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top