Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for FieldSetter (0.06 sec)

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

            values.add(value);
          }
        }
      }
    
      // Secret sauce for setting final fields; don't make it public.
      static <T> FieldSetter<T> getFieldSetter(Class<T> clazz, String fieldName) {
        try {
          Field field = clazz.getDeclaredField(fieldName);
          return new FieldSetter<>(field);
        } catch (NoSuchFieldException e) {
          throw new AssertionError(e); // programmer error
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Serialization.java

            values.add(value);
          }
        }
      }
    
      // Secret sauce for setting final fields; don't make it public.
      static <T> FieldSetter<T> getFieldSetter(Class<T> clazz, String fieldName) {
        try {
          Field field = clazz.getDeclaredField(fieldName);
          return new FieldSetter<>(field);
        } catch (NoSuchFieldException e) {
          throw new AssertionError(e); // programmer error
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.collect.Serialization.FieldSetter;
    import com.google.common.math.IntMath;
    import com.google.common.primitives.Ints;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.j2objc.annotations.WeakOuter;
    import java.io.IOException;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      @J2ktIncompatible
      static class FieldSettersHolder {
        static final Serialization.FieldSetter<? super ImmutableMultimap<?, ?>> MAP_FIELD_SETTER =
            Serialization.getFieldSetter(ImmutableMultimap.class, "map");
        static final Serialization.FieldSetter<? super ImmutableMultimap<?, ?>> SIZE_FIELD_SETTER =
            Serialization.getFieldSetter(ImmutableMultimap.class, "size");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

            : null;
      }
    
      @GwtIncompatible // java serialization
      @J2ktIncompatible
      private static final class SetFieldSettersHolder {
        static final Serialization.FieldSetter<? super ImmutableSetMultimap<?, ?>>
            EMPTY_SET_FIELD_SETTER =
                Serialization.getFieldSetter(ImmutableSetMultimap.class, "emptySet");
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSetMultimap.java

            : null;
      }
    
      @GwtIncompatible // java serialization
      @J2ktIncompatible
      private static final class SetFieldSettersHolder {
        static final Serialization.FieldSetter<? super ImmutableSetMultimap<?, ?>>
            EMPTY_SET_FIELD_SETTER =
                Serialization.getFieldSetter(ImmutableSetMultimap.class, "emptySet");
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top