Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1251 - 1260 of 4,177 for republic (0.34 seconds)

  1. android/guava/src/com/google/common/collect/ForwardingIterator.java

     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingIterator<T extends @Nullable Object> extends ForwardingObject
        implements Iterator<T> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingIterator() {}
    
      @Override
      protected abstract Iterator<T> delegate();
    
      @Override
      public boolean hasNext() {
        return delegate().hasNext();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/QueueElementTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class QueueElementTester<E> extends AbstractQueueTester<E> {
      @CollectionSize.Require(ZERO)
      public void testElement_empty() {
        assertThrows(NoSuchElementException.class, () -> getQueue().element());
        expectUnchanged();
      }
    
      @CollectionSize.Require(ONE)
      public void testElement_size1() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/SetAddAllTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class SetAddAllTester<E> extends AbstractSetTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_supportedSomePresent() {
        assertTrue(
            "add(somePresent) should return true", getSet().addAll(MinimalCollection.of(e3(), e0())));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  4. guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link TestLogHandler}.
     *
     * @author kevinb
     */
    @NullUnmarked
    public class TestLogHandlerTest extends TestCase {
    
      private TestLogHandler handler;
      private final TearDownStack stack = new TearDownStack();
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/SingletonImmutableTable.java

        this(cell.getRowKey(), cell.getColumnKey(), cell.getValue());
      }
    
      @Override
      public ImmutableMap<R, V> column(C columnKey) {
        checkNotNull(columnKey);
        return containsColumn(columnKey)
            ? ImmutableMap.of(singleRowKey, singleValue)
            : ImmutableMap.of();
      }
    
      @Override
      public ImmutableMap<C, Map<R, V>> columnMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

    import java.io.File;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class EmptyGeneratorTest extends UnitFessTestCase {
    
        private EmptyGenerator emptyGenerator;
    
        @Test
        public void test_generate() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapMergeTester<K, V> extends AbstractMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_PUT)
      public void testAbsent() {
        assertEquals(
            "Map.merge(absent, value, function) should return value",
            v3(),
            getMap()
                .merge(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/CharSourceTest.java

    /**
     * Tests for the default implementations of {@code CharSource} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSourceTest extends IoTestCase {
    
      @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
        for (boolean asByteSource : new boolean[] {false, true}) {
          suite.addTest(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Range.java

       *
       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> lessThan(C endpoint) {
        return create(Cut.belowAll(), Cut.belowValue(endpoint));
      }
    
      /**
       * Returns a range that contains all values less than or equal to {@code endpoint}.
       *
       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> atMost(C endpoint) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

    @J2ktIncompatible
    @GwtIncompatible // TODO(dpb): GWT compatibility.
    public final class ClosingFuture<V extends @Nullable Object> {
    
      private static final LazyLogger logger = new LazyLogger(ClosingFuture.class);
    
      /**
       * An object that can capture objects to be closed later, when a {@link ClosingFuture} pipeline is
       * done.
       */
      public static final class DeferredCloser {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
Back to Top