Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3001 - 3010 of 7,590 for CLASS (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class QueueRemoveTester<E> extends AbstractQueueTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRemove_empty() {
        assertThrows(NoSuchElementException.class, () -> getQueue().remove());
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.util.ComponentUtil;
    
    import jakarta.annotation.PostConstruct;
    
    public class FacetQueryView {
        private static final Logger logger = LogManager.getLogger(FacetQueryView.class);
    
        protected String title;
    
        protected Map<String, String> queryMap = new LinkedHashMap<>();
    
        @PostConstruct
        public void init() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

    import com.google.common.collect.ImmutableMap;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /** @author David Beaumont */
    @GwtCompatible
    public class ArrayBasedEscaperMapTest extends TestCase {
      public void testNullMap() {
        assertThrows(NullPointerException.class, () -> ArrayBasedEscaperMap.create(null));
      }
    
      public void testEmptyMap() {
        Map<Character, String> map = ImmutableMap.of();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Base class for {@link RangeSet} tests.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // TreeRangeSet
    public abstract class AbstractRangeSetTest extends TestCase {
      public static void testInvariants(RangeSet<?> rangeSet) {
        testInvariantsInternal(rangeSet);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingListMultimap.java

     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingListMultimap}.
     *
     * @author Kurt Alfred Kluever
     * @since 3.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

    import java.util.concurrent.TimeoutException;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * {@link FluentFuture} that forwards all calls to a delegate.
     *
     * <h3>Extension</h3>
     *
     * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your
     * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 05 22:27:35 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/AbstractIterator.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Note this class is a copy of {@link com.google.common.collect.AbstractIterator} (for dependency
     * reasons).
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractIterator<T extends @Nullable Object> implements Iterator<T> {
      private State state = State.NOT_READY;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/log/JclLoggerAdapter.java

    import org.apache.commons.logging.LogFactory;
    
    /**
     * (Jakarta) Commons Loggingのロガーを利用するアダプタです。
     *
     * @author koichik
     */
    class JclLoggerAdapter implements LoggerAdapter {
    
        protected final String sourceClass;
    
        protected final Log logger;
    
        public JclLoggerAdapter(final Class<?> clazz) {
            sourceClass = clazz.getName();
            logger = LogFactory.getLog(clazz);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java

    import org.apache.maven.api.Constants;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Centralized class for Maven Core feature information.
     * Features configured are supposed to be final in a given maven session.
     *
     * @since 4.0.0
     */
    public final class Features {
    
        private Features() {}
    
        /**
         * Check if the consumer POM feature is active.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Sep 11 16:31:06 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/encoder.md

    Por exemplo, ele não recebe objetos `datetime`, pois estes objetos não são compatíveis com JSON.
    
    Então, um objeto `datetime` teria que ser convertido em um `str` contendo os dados no formato  <a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO</a>.
    
    Da mesma forma, este banco de dados não receberia um modelo Pydantic (um objeto com atributos), apenas um `dict`.
    
    Você pode usar a função `jsonable_encoder` para resolver isso.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top