Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1541 - 1550 of 2,057 for Boolean (0.03 sec)

  1. android/guava/src/com/google/common/io/AppendableWriter.java

     *
     * @author Alan Green
     * @author Sebastian Kanthak
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    final class AppendableWriter extends Writer {
      private final Appendable target;
      private boolean closed;
    
      /**
       * Creates a new writer that appends everything it writes to {@code target}.
       *
       * @param target target to which to append output
       */
      AppendableWriter(Appendable target) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Objects.java

       * java.util.Objects#equals} instead.
       */
      @SuppressWarnings("InlineMeSuggester") // would introduce fully qualified references to Objects
      public static boolean equal(@Nullable Object a, @Nullable Object b) {
        return java.util.Objects.equals(a, b);
      }
    
      /**
       * Generates a hash code for multiple values. The hash code is generated by calling {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 22:51:26 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java

         * A successful unregistration typically results in a zeroed context handle.
         *
         * @return true if the context handle has been invalidated
         */
        public boolean isContextHandleInvalidated() {
            if (contextHandle == null) {
                return true;
            }
    
            for (byte b : contextHandle) {
                if (b != 0) {
                    return false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/MultiIterator.java

         */
        public MultiIterator(final Iterator<E>... iterators) {
            assertArgumentNotNull("iterators", iterators);
            this.iterators = iterators;
        }
    
        @Override
        public boolean hasNext() {
            for (; index < iterators.length; ++index) {
                if (iterators[index].hasNext()) {
                    return true;
                }
            }
            return false;
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

                @Nullable
                @Override
                public List<RemoteRepository> getRepositories() {
                    return repositories;
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultVersionResolverRequest that
                            && Objects.equals(artifactCoordinates, that.artifactCoordinates)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java

                @Nullable
                @Override
                public List<RemoteRepository> getRepositories() {
                    return repositories;
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultVersionResolverRequest that
                            && Objects.equals(artifactCoordinates, that.artifactCoordinates)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

            return createArtifact(id, version, scope, null, false);
        }
    
        protected Artifact createArtifact(String id, String version, String scope, String inheritedScope, boolean optional)
                throws InvalidVersionSpecificationException {
            VersionRange versionRange = VersionRange.createFromVersionSpec(version);
    
            return artifactFactory.createDependencyArtifact(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Throwables.java

        // Keep a second pointer that slowly walks the causal chain. If the fast pointer ever catches
        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
        boolean advanceSlowPointer = false;
    
        Throwable cause;
        while ((cause = throwable.getCause()) != null) {
          throwable = cause;
    
          if (throwable == slowPointer) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/BigIntegerMath.java

       */
      public static BigInteger floorPowerOfTwo(BigInteger x) {
        return BigInteger.ZERO.setBit(log2(x, FLOOR));
      }
    
      /** Returns {@code true} if {@code x} represents a power of two. */
      public static boolean isPowerOfTwo(BigInteger x) {
        checkNotNull(x);
        return x.signum() > 0 && x.getLowestSetBit() == x.bitLength() - 1;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            // BooleanQueryCommand doesn't seem to apply boost correctly,
            // so we'll just check that it has clauses
            assertTrue(boolQueryBuilder.boost() > 0);
            // Check that the boolean query has the correct number of clauses
            assertFalse(boolQueryBuilder.must().isEmpty());
            assertFalse(boolQueryBuilder.should().isEmpty());
            assertFalse(boolQueryBuilder.mustNot().isEmpty());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top