Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 5,824 for Republic (0.05 sec)

  1. 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() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FunctionsTest.java

     * @author Mike Bostock
     * @author Vlad Patryshev
     */
    @GwtCompatible
    @NullMarked
    public class FunctionsTest extends TestCase {
    
      public void testIdentity_same() {
        Function<@Nullable String, @Nullable String> identity = Functions.identity();
        assertNull(identity.apply(null));
        assertSame("foo", identity.apply("foo"));
      }
    
      public void testIdentity_notSame() {
        Function<Long, Long> identity = Functions.identity();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/EndpointPair.java

          super(source, target);
        }
    
        @Override
        public N source() {
          return nodeU();
        }
    
        @Override
        public N target() {
          return nodeV();
        }
    
        @Override
        public boolean isOrdered() {
          return true;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj == this) {
            return true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        public static <E> TreeSet<E> newTreeSet() {
            return new TreeSet<>();
        }
    
        /**
         * Creates and returns a new instance of {@link TreeSet}.
         *
         * @param <E> the element type of {@link TreeSet}
         * @param c the collection of elements to be placed in the set
         * @return a new instance of {@link TreeSet}
         * @see TreeSet#TreeSet(Collection)
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      private final NavigableMap<K, V> delegate;
    
      public SafeTreeMap() {
        this(new TreeMap<K, V>());
      }
    
      public SafeTreeMap(Comparator<? super K> comparator) {
        this(new TreeMap<K, V>(comparator));
      }
    
      public SafeTreeMap(Map<? extends K, ? extends V> map) {
        this(new TreeMap<K, V>(map));
      }
    
      public SafeTreeMap(SortedMap<K, ? extends V> map) {
        this(new TreeMap<K, V>(map));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        final String string;
    
        public HashHostileComparable(String string) {
          this.string = string;
        }
    
        @Override
        public int hashCode() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int compareTo(HashHostileComparable o) {
          return string.compareTo(o.string);
        }
      }
    
      public void testSortedBuilderWithExpectedValuesPerKeyPositive() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

        }
    
        @Override
        public void injectAuthentication(List<ArtifactRepository> repositories, List<Server> servers) {}
    
        @Override
        public void injectMirror(List<ArtifactRepository> repositories, List<Mirror> mirrors) {}
    
        @Override
        public void injectProxy(List<ArtifactRepository> repositories, List<Proxy> proxies) {}
    
        @Override
        public void publish(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMultiset.java

          offset += entry.getCount();
        }
        return offset;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        return Multisets.equalsImpl(this, object);
      }
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(entrySet());
      }
    
      @Override
      public String toString() {
        return entrySet().toString();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

     *
     * @author Anthony Zana
     */
    @GwtCompatible
    @NullUnmarked
    public class FutureCallbackTest extends TestCase {
      public void testSameThreadSuccess() {
        SettableFuture<String> f = SettableFuture.create();
        MockCallback callback = new MockCallback("foo");
        addCallback(f, callback, directExecutor());
        f.set("foo");
      }
    
      public void testExecutorSuccess() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsPagingResultBean.java

        private SearchRequestBuilder builder;
    
        public EsPagingResultBean(final SearchRequestBuilder builder) {
            this.builder = builder;
        }
    
        public String getQueryDsl() {
            return builder.toString();
        }
    
        public long getTook() {
            return took;
        }
    
        public void setTook(long took) {
            this.took = took;
        }
    
        public int getTotalShards() {
            return totalShards;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top