Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1221 - 1230 of 4,177 for republic (0.16 seconds)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * @throws IllegalArgumentException if {@code capacity} is less than 1
       */
      public MonitorBasedArrayBlockingQueue(int capacity, boolean fair) {
        checkArgument(capacity > 0);
        this.items = newEArray(capacity);
        monitor = new Monitor(fair);
        notEmpty =
            new Monitor.Guard(monitor) {
              @Override
              public boolean isSatisfied() {
                return count > 0;
              }
            };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/GraphBuilder.java

     * @since 20.0
     */
    @DoNotMock
    public final class GraphBuilder<N> extends AbstractGraphBuilder<N> {
    
      /** Creates a new instance with the specified edge directionality. */
      private GraphBuilder(boolean directed) {
        super(directed);
      }
    
      /** Returns a {@link GraphBuilder} for building directed graphs. */
      public static GraphBuilder<Object> directed() {
        return new GraphBuilder<>(true);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/suggest/AdminSuggestAction.java

    import jakarta.annotation.Resource;
    
    /**
     * Admin action for suggest management.
     *
     */
    public class AdminSuggestAction extends FessAdminAction {
    
        /**
         * Default constructor.
         */
        public AdminSuggestAction() {
            super();
        }
    
        /** Role name for admin suggest operations */
        public static final String ROLE = "admin-suggest";
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class MultimapEqualsTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      public void testEqualsTrue() {
        new EqualsTester()
            .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray()))
            .testEquals();
      }
    
      public void testEqualsFalse() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapRemoveAllTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllAbsentKey() {
        assertEmpty(multimap().removeAll(k3()));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllPresentKey() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapClearTester<K, V> extends AbstractMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        getMap().clear();
        assertTrue("After clear(), a map should be empty.", getMap().isEmpty());
        assertEquals(0, getMap().size());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapToStringTester<K, V> extends AbstractMapTester<K, V> {
      public void testToString_minimal() {
        assertNotNull("toString() should not return null", getMap().toString());
      }
    
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size0() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/VerifyTest.java

    @GwtCompatible
    @NullUnmarked
    public class VerifyTest extends TestCase {
      public void testVerify_simple_success() {
        verify(true);
      }
    
      public void testVerify_simple_failure() {
        assertThrows(VerifyException.class, () -> verify(false));
      }
    
      public void testVerify_simpleMessage_success() {
        verify(true, "message");
      }
    
      public void testVerify_simpleMessage_failure() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      }
    
      @Override
      public @Nullable E lower(E element) {
        return forward.higher(element);
      }
    
      @Override
      public @Nullable E floor(E element) {
        return forward.ceiling(element);
      }
    
      @Override
      public @Nullable E ceiling(E element) {
        return forward.floor(element);
      }
    
      @Override
      public @Nullable E higher(E element) {
        return forward.lower(element);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/TestInputStream.java

    /**
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestInputStream extends FilterInputStream {
    
      private final ImmutableSet<TestOption> options;
      private boolean closed;
    
      public TestInputStream(InputStream in, TestOption... options) throws IOException {
        this(in, Arrays.asList(options));
      }
    
      public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.6K bytes
    - Click Count (0)
Back to Top