Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 252 for Field (0.42 sec)

  1. guava-tests/test/com/google/common/net/HttpHeadersTest.java

          throws IllegalAccessException {
        for (Field field : relevantFields(clazz)) {
          assertEquals(
              upperToHttpHeaderName(field.getName(), specialCases, uppercaseAcronyms), field.get(null));
        }
      }
    
      // Visible for other tests to use
      static ImmutableSet<Field> relevantFields(Class<?> cls) {
        ImmutableSet.Builder<Field> builder = ImmutableSet.builder();
        for (Field field : cls.getDeclaredFields()) {
          /*
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Jan 17 17:41:51 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

          throws IllegalAccessException {
        for (Field field : relevantFields(clazz)) {
          assertEquals(
              upperToHttpHeaderName(field.getName(), specialCases, uppercaseAcronyms), field.get(null));
        }
      }
    
      // Visible for other tests to use
      static ImmutableSet<Field> relevantFields(Class<?> cls) {
        ImmutableSet.Builder<Field> builder = ImmutableSet.builder();
        for (Field field : cls.getDeclaredFields()) {
          /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Serialization.java

        try {
          Field field = clazz.getDeclaredField(fieldName);
          return new FieldSetter<>(field);
        } catch (NoSuchFieldException e) {
          throw new AssertionError(e); // programmer error
        }
      }
    
      // Secret sauce for setting final fields; don't make it public.
      static final class FieldSetter<T> {
        private final Field field;
    
        private FieldSetter(Field field) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        } finally {
          Thread.currentThread().setContextClassLoader(oldClassLoader);
        }
    
        Thread.currentThread().setContextClassLoader(NO_ATOMIC_REFERENCE_FIELD_UPDATER);
        try {
          runTestMethod(NO_ATOMIC_REFERENCE_FIELD_UPDATER);
          // TODO(lukes): assert that the logs are full of errors
        } finally {
          Thread.currentThread().setContextClassLoader(oldClassLoader);
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 6.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       * identity equality of its Thread field so that the task field is only accessed by a single
       * thread.
       */
      private static final class ThreadConfinedTaskQueue {
        /**
         * This field is only used for identity comparisons with the current thread. Field assignments
         * are atomic, but do not provide happens-before ordering; however:
         *
         * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/GwtTransient.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Documented;
    import java.lang.annotation.Retention;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 05 00:40:25 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ElementTypesAreNonnullByDefault.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ElementTypesAreNonnullByDefault.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ElementTypesAreNonnullByDefault.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/ElementTypesAreNonnullByDefault.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 1.5K bytes
    - Viewed (0)
Back to top