Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 135 for modifiers (0.27 sec)

  1. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          @Override
          boolean isVisible(int modifiers) {
            return !Modifier.isPrivate(modifiers);
          }
        },
    
        PROTECTED {
          @Override
          boolean isVisible(int modifiers) {
            return Modifier.isPublic(modifiers) || Modifier.isProtected(modifiers);
          }
        },
    
        PUBLIC {
          @Override
          boolean isVisible(int modifiers) {
            return Modifier.isPublic(modifiers);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FauxveridesTest.java

        Set<MethodSignature> publicStaticMethods = newHashSet();
    
        for (Method method : clazz.getDeclaredMethods()) {
          int modifiers = method.getModifiers();
          if (isPublic(modifiers) && isStatic(modifiers)) {
            publicStaticMethods.add(new MethodSignature(method));
          }
        }
    
        return publicStaticMethods;
      }
    
      /** [descendant, ancestor) */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

        Set<MethodSignature> publicStaticMethods = newHashSet();
    
        for (Method method : clazz.getDeclaredMethods()) {
          int modifiers = method.getModifiers();
          if (isPublic(modifiers) && isStatic(modifiers)) {
            publicStaticMethods.add(new MethodSignature(method));
          }
        }
    
        return publicStaticMethods;
      }
    
      /** [descendant, ancestor) */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.collect.ImmutableSet;
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.net.URLClassLoader;
    import java.util.Set;
    import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;
    import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
    import junit.framework.TestCase;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/SourceSinkTester.java

    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Lists;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringReader;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * @param <S> the source or sink type
     * @param <T> the data type (byte[] or String)
     * @param <F> the factory type
     * @author Colin Decker
     */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 27 18:57:08 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedListMultimap.java

       * happens subsequently. As long as the corresponding key-value mapping is not removed from the
       * multimap, {@link Entry#getValue} returns the value from the multimap, which may change over
       * time, and {@link Entry#setValue} modifies that value. Removing the mapping from the multimap
       * does not alter the value returned by {@code getValue()}, though a subsequent {@code setValue()}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/Cache.java

       * {@code null}; it may either return a non-null value or throw an exception.
       *
       * <p>No observable state associated with this cache is modified until loading completes.
       *
       * @throws ExecutionException if a checked exception was thrown while loading the value
       * @throws UncheckedExecutionException if an unchecked exception was thrown while loading the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (1)
  8. guava/src/com/google/common/collect/HashBasedTable.java

     * since an iteration across all row keys occurs.
     *
     * <p>Note that this implementation is not synchronized. If multiple threads access this table
     * concurrently and one of the threads modifies the table, it must be synchronized externally.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">{@code Table}</a>.
     *
     * @author Jared Levy
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LoadingCache.java

      /**
       * Returns the value associated with {@code key} in this cache, first loading that value if
       * necessary. No observable state associated with this cache is modified until loading completes.
       *
       * <p>If another call to {@link #get} or {@link #getUnchecked} is currently loading the value for
       * {@code key}, simply waits for that thread to finish and returns its loaded value. Note that
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multisets.java

          int superCount = superMultiset.count(entry.getElement());
          if (superCount < entry.getCount()) {
            return false;
          }
        }
        return true;
      }
    
      /**
       * Modifies {@code multisetToModify} so that its count for an element {@code e} is at most {@code
       * multisetToRetain.count(e)}.
       *
       * <p>To be precise, {@code multisetToModify.count(e)} is set to {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
Back to top