Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 3,631 for authOk (0.13 seconds)

  1. android/guava-tests/test/com/google/common/eventbus/StringCatcher.java

    /**
     * A simple EventSubscriber mock that records Strings.
     *
     * <p>For testing fun, also includes a landmine method that EventBus tests are required not
     * to call ({@link #methodWithoutAnnotation(String)}).
     *
     * @author Cliff Biffle
     */
    @NullUnmarked
    public class StringCatcher {
      private final List<String> events = new ArrayList<>();
    
      @Subscribe
      public void hereHaveAString(@Nullable String string) {
        events.add(string);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java

    import com.google.common.base.Functions;
    import java.util.HashMap;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link Maps#transformValues(Map, Function)}.
     *
     * @author Isaac Shum
     */
    @GwtCompatible
    @NullMarked
    public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest {
      @Override
      protected Map<String, String> makeEmptyMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/MapMaker.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    
    /**
     * MapMaker emulation.
     *
     * @author Charles Fry
     */
    public final class MapMaker {
      private int initialCapacity = 16;
    
      public MapMaker() {}
    
      @CanIgnoreReturnValue
      public MapMaker initialCapacity(int initialCapacity) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/OneSizeTestContainerGenerator.java

     *
     * <p>This interface should not be implemented outside this package; {@link
     * PerCollectionSizeTestSuiteBuilder} constructs instances of it from a more general {@link
     * TestCollectionGenerator}.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    public interface OneSizeTestContainerGenerator<T, E extends @Nullable Object>
        extends TestSubjectGenerator<T>, TestContainerGenerator<T, E> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/Platform.java

    import com.google.errorprone.annotations.FormatMethod;
    import java.util.Locale;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * <p>This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/MapsSortedTransformValuesTest.java

    import com.google.common.base.Functions;
    import java.util.SortedMap;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link Maps#transformValues(SortedMap, Function)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class MapsSortedTransformValuesTest extends AbstractMapsTransformValuesTest {
      @Override
      protected SortedMap<String, String> makeEmptyMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/annotations/VisibleForTesting.java

     * representation will be hard to change. Instead, use <a
     * href="http://errorprone.info/bugpattern/RestrictedApi">RestrictedApiChecker</a>, which enforces
     * fine-grained visibility policies.
     *
     * @author Johannes Henkel
     */
    @GwtCompatible
    public @interface VisibleForTesting {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 30 22:25:16 GMT 2023
    - 1.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/FinalizableReference.java

    import com.google.errorprone.annotations.DoNotMock;
    
    /**
     * Implemented by references that have code to run after garbage collection of their referents.
     *
     * @see FinalizableReferenceQueue
     * @author Bob Lee
     * @since 2.0
     */
    @DoNotMock("Use an instance of one of the Finalizable*Reference classes")
    @J2ktIncompatible
    @GwtIncompatible
    public interface FinalizableReference {
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/beans/Converter.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans;
    
    /**
     * This interface performs conversion between strings and objects.
     *
     * @author higa
     */
    public interface Converter {
    
        /**
         * Returns the value as a string.
         *
         * @param value
         *            the value
         * @return the value as a string
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/exception/InstantiationRuntimeException.java

     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception that wraps {@link InstantiationException}.
     *
     * @author higa
     */
    public class InstantiationRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 5220902071756706607L;
    
        /**
         * The target class.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top