Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2851 - 2860 of 7,602 for _class (0.04 sec)

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

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class QueueOfferTester<E> extends AbstractQueueTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testOffer_supportedNotPresent() {
        assertTrue("offer(notPresent) should return true", getQueue().offer(e3()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    class UrlSourceTest {
    
        @Test
        void testUrlSource() {
            NullPointerException e = assertThrows(
                    NullPointerException.class, () -> new UrlSource(null), "Should fail, since you must specify a url");
            assertEquals("url cannot be null", e.getMessage());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    public class GraphTest {
    
        @Test
        void testCycle() throws Graph.CycleDetectedException {
            Graph graph = new Graph();
            graph.addEdge("a1", "a2");
            assertThrows(Graph.CycleDetectedException.class, () -> graph.addEdge("a2", "a1"));
        }
    
        @Test
        public void testPerf() throws IOException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/encoder.md

    For example, it doesn't receive `datetime` objects, as those are not compatible with JSON.
    
    So, a `datetime` object would have to be converted to a `str` containing the data in <a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO format</a>.
    
    The same way, this database wouldn't receive a Pydantic model (an object with attributes), only a `dict`.
    
    You can use `jsonable_encoder` for that.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 23:31:16 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsCreator.java

    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.dict.DictionaryItem;
    
    import jakarta.annotation.PostConstruct;
    
    public class StopwordsCreator extends DictionaryCreator {
        private static final Logger logger = LogManager.getLogger(StopwordsCreator.class);
    
        public StopwordsCreator() {
            super("stopwords.*\\.txt");
        }
    
        @PostConstruct
        public void register() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedHashMultimapGwtSerializationDependencies.java

     * LinkedHashMultimap}. The GWT supersource for this class contains a field for each type.
     *
     * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same
     * approach but with a subclass rather than a superclass.
     *
     * <p>TODO(cpovirk): Consider applying this subclass approach to our other types.
     */
    @GwtCompatible(emulated = true)
    abstract class LinkedHashMultimapGwtSerializationDependencies<K, V>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 24 18:57:48 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RangeGwtSerializationDependencies.java

    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    
    /**
     * A dummy superclass to support GWT serialization of the element type of a {@link Range}. The GWT
     * supersource for this class contains a field of type {@code C}.
     *
     * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same
     * approach but with a subclass rather than a superclass.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionData.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.execution;
    
    import java.util.List;
    
    /**
     * This class holds the information required to enable resuming a Maven build with {@code --resume}.
     */
    public class BuildResumptionData {
        /**
         * The list of projects that remain to be built.
         */
        private final List<String> remainingProjects;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/tasks/IncubatingApiReportTask.kt

    // Using star import to workaround https://youtrack.jetbrains.com/issue/KTIJ-24390
    import org.gradle.kotlin.dsl.*
    import org.gradle.workers.WorkerExecutor
    import javax.inject.Inject
    
    
    @CacheableTask
    abstract class IncubatingApiReportTask : DefaultTask() {
    
        @get:InputFile
        @get:PathSensitive(PathSensitivity.RELATIVE)
        abstract val versionFile: RegularFileProperty
    
        @get:InputFile
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 30 09:32:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocBuilder.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.docs.dsl.docbook;
    
    import gradlebuild.docs.dsl.docbook.model.ClassDoc;
    
    public class ClassDocBuilder {
        private final ClassDocCommentBuilder commentBuilder;
        private final ClassDocPropertiesBuilder propertiesBuilder;
        private final ClassDocMethodsBuilder methodsBuilder;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2K bytes
    - Viewed (0)
Back to top