Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 552 for true (0.2 sec)

  1. android/guava-tests/test/com/google/common/graph/GraphsTest.java

        MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(true).build();
        directedGraph.putEdge(N1, N3);
        directedGraph.putEdge(N3, N1);
        directedGraph.putEdge(N1, N2);
        directedGraph.putEdge(N1, N1);
        directedGraph.putEdge(N3, N4);
    
        MutableGraph<Integer> expectedTranspose = GraphBuilder.directed().allowsSelfLoops(true).build();
        expectedTranspose.putEdge(N3, N1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 24.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            final Method m3 = ListType.class.getMethod("listOfWildcard");
            final Type t3 = m3.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t3, List.class), is(true));
            assertThat(WildcardType.class.isInstance(GenericsUtil.getElementTypeOfList(t3)), is(true));
        }
    
        /**
         * @throws Exception
         */
        public void testSet() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

            form.loginRequired = fessConfig.isLoginRequired() ? Constants.TRUE : Constants.FALSE;
            form.resultCollapsed = fessConfig.isResultCollapsed() ? Constants.TRUE : Constants.FALSE;
            form.loginLink = fessConfig.isLoginLinkEnabled() ? Constants.TRUE : Constants.FALSE;
            form.thumbnail = fessConfig.isThumbnailEnabled() ? Constants.TRUE : Constants.FALSE;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

            assertEquals(expectedSet.subSet(i, true, j, false), asSet.subSet(i, true, j, false));
            assertEquals(expectedSet.subSet(i, false, j, true), asSet.subSet(i, false, j, true));
            assertEquals(expectedSet.subSet(i, true, j, true), asSet.subSet(i, true, j, true));
          }
        }
      }
    
      public void testSubRangeSet() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

      // TODO(jlevy): Move shared code of this class and MapsTransformValuesTest
      // to a superclass.
    
      public MapsTransformValuesUnmodifiableIteratorTest() {
        super(true, true, false /*supportsPut*/, true, true, false);
      }
    
      private static class UnmodifiableIteratorMap<K, V> extends ForwardingMap<K, V> {
        final Map<K, V> delegate;
    
        UnmodifiableIteratorMap(Map<K, V> delegate) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/PreconditionsTest.java

     */
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings("LenientFormatStringValidation") // Intentional for testing
    @GwtCompatible(emulated = true)
    public class PreconditionsTest extends TestCase {
      public void testCheckArgument_simple_success() {
        Preconditions.checkArgument(true);
      }
    
      public void testCheckArgument_simple_failure() {
        try {
          Preconditions.checkArgument(false);
          fail("no exception thrown");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

          @Override
          boolean isCancelled() {
            return true;
          }
    
          @Override
          void maybeThrowOnGet(@Nullable Throwable cause) throws ExecutionException {
            // TODO(cpovirk): chain in a CancellationException created at the cancel() call?
            throw new CancellationException();
          }
        };
    
        boolean isDone() {
          return true;
        }
    
        boolean isCancelled() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

            @Override
            public int hashCode() {
                return hashCode;
            }
    
            @Override
            public boolean equals(Object o) {
                if (o == this) {
                    return true;
                }
    
                if (!(o instanceof CacheKey)) {
                    return false;
                }
    
                CacheKey other = (CacheKey) o;
    
                return pomHash == other.pomHash
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

            future.addListener(listener, directExecutor());
          }
        }
      }
    
      /**
       * Fails this future with the given Throwable if {@link #allMustSucceed} is true. Also, logs the
       * throwable if it is an {@link Error} or if {@link #allMustSucceed} is {@code true}, the
       * throwable did not cause this future to fail, and it is the first time we've seen that
       * particular Throwable.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

        for (int i = 0; i < ipString.length(); i++) {
          char c = ipString.charAt(i);
          if (c == '.') {
            hasDot = true;
          } else if (c == ':') {
            if (hasDot) {
              return null; // Colons must not appear after dots.
            }
            hasColon = true;
          } else if (c == '%') {
            percentIndex = i;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
Back to top