Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1381 - 1390 of 2,316 for Booleans (0.34 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

      private final String s;
    
      public BaseComparable(String s) {
        this.s = s;
      }
    
      @Override
      public int hashCode() { // delegate to 's'
        return s.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
        if (other == null) {
          return false;
        } else if (other instanceof BaseComparable) {
          return s.equals(((BaseComparable) other).s);
        } else {
          return false;
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/DefaultsTest.java

     *
     * @author Jige Yu
     */
    @GwtIncompatible
    @NullUnmarked
    public class DefaultsTest extends TestCase {
      public void testGetDefaultValue() {
        assertEquals(false, Defaults.defaultValue(boolean.class).booleanValue());
        assertEquals('\0', Defaults.defaultValue(char.class).charValue());
        assertEquals(0, Defaults.defaultValue(byte.class).byteValue());
        assertEquals(0, Defaults.defaultValue(short.class).shortValue());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SpecialRandom.java

    @NullUnmarked
    public final class SpecialRandom extends Random {
      public static SpecialRandom valueOf(String s) {
        return (s.length() == 0) ? new SpecialRandom() : new SpecialRandom(Long.parseLong(s));
      }
    
      private final boolean hasSeed;
      private final long seed;
    
      public SpecialRandom() {
        this.hasSeed = false;
        this.seed = 0;
      }
    
      public SpecialRandom(long seed) {
        super(seed);
        this.hasSeed = true;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. Jenkinsfile

                    sh "mvn clean deploy -DdeployAtEnd=true -B"
                  }
                }
              }
            }
          }
        }
      }
    }
    
    boolean isDeployedBranch() {
      return env.BRANCH_NAME == 'master' || env.BRANCH_NAME == 'maven-4.0.x' || env.BRANCH_NAME == 'maven-3.9.x'
    }
    
    /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 10 12:31:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbException.java

         *
         * @return true if recoverable
         */
        public boolean isRecoverable() {
            return severity == Severity.RECOVERABLE || severity == Severity.TRANSIENT;
        }
    
        /**
         * Checks if retry should be attempted
         *
         * @return true if retry is recommended
         */
        public boolean shouldRetry() {
            return severity == Severity.RECOVERABLE || severity == Severity.TRANSIENT;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java

        }
    
        public static String normalizeText(final String str, final int initialCapacity, final int maxAlphanumTermSize,
                final int maxSymbolTermSize, final boolean removeDuplication) {
            if (str == null) {
                return StringUtil.EMPTY;
            }
            try (final Reader reader = new StringReader(str)) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

        }
    
        /**
         * Checks if a specific compression algorithm is supported.
         *
         * @param algorithm the algorithm to check
         * @return true if the algorithm is supported
         */
        public boolean supportsAlgorithm(int algorithm) {
            if (this.compressionAlgorithms == null) {
                return false;
            }
            for (int algo : this.compressionAlgorithms) {
                if (algo == algorithm) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuilder.java

         * @throws ProjectBuildingException If the project descriptor could not be successfully built.
         */
        ProjectBuildingResult build(Artifact projectArtifact, boolean allowStubModel, ProjectBuildingRequest request)
                throws ProjectBuildingException;
    
        /**
         * Builds a project descriptor for the specified model source.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Interners.java

      /**
       * Builder for {@link Interner} instances.
       *
       * @since 21.0
       */
      public static class InternerBuilder {
        private final MapMaker mapMaker = new MapMaker();
        private boolean strong = true;
    
        private InternerBuilder() {}
    
        /**
         * Instructs the {@link InternerBuilder} to build a strong interner.
         *
         * @see Interners#newStrongInterner()
         */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

            @Override
            public void uncaughtException(Thread t, Throwable e) {
              // No-op
            }
          };
    
      private ThreadFactoryBuilder builder;
      private volatile boolean completed = false;
    
      @Override
      public void setUp() {
        builder = new ThreadFactoryBuilder();
      }
    
      public void testThreadFactoryBuilder_defaults() throws InterruptedException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top