Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,425 for equalTo (0.06 sec)

  1. src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java

                if ("true".equalsIgnoreCase(s)) {
                    return Boolean.TRUE;
                } else if ("false".equalsIgnoreCase(s)) {
                    return Boolean.FALSE;
                } else if (s.equals("0")) {
                    return Boolean.FALSE;
                } else {
                    return Boolean.TRUE;
                }
            } else {
                return Boolean.TRUE;
            }
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/ProjectScope.java

     * <p>
     * This extensible enum has two defined values, {@link #MAIN} and {@link #TEST},
     * but can be extended by registering a {@code org.apache.maven.api.spi.ProjectScopeProvider}.
     * <p>
     * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface
     * can be used as keys.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    @SuppressWarnings("checkstyle:InterfaceIsType")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Feb 05 09:42:51 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

        return ImmutableCollection.unsafeDelegate(delegate.values());
      }
    
      @Override
      public int size() {
        return delegate.size();
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        return delegate.equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      @Override
      public String toString() {
        return delegate.toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/LittleEndianByteArray.java

           * which will have an efficient native implementation in JDK 9.
           *
           */
          String arch = System.getProperty("os.arch");
          if ("amd64".equals(arch) || "aarch64".equals(arch)) {
            theGetter =
                ByteOrder.nativeOrder().equals(ByteOrder.LITTLE_ENDIAN)
                    ? UnsafeByteArray.UNSAFE_LITTLE_ENDIAN
                    : UnsafeByteArray.UNSAFE_BIG_ENDIAN;
          }
        } catch (Throwable t) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                    }
    
                    int lastSlash = moduleName.lastIndexOf('/');
    
                    moduleName = moduleName.substring(lastSlash + 1);
    
                    if ((moduleName.equals(childName) || (moduleName.equals(childDirectory))) && lastSlash >= 0) {
                        adjustment = module.substring(0, lastSlash);
                        break;
                    }
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      }
    
      public void testToImmutableMultiset() {
        BiPredicate<ImmutableMultiset<String>, ImmutableMultiset<String>> equivalence =
            (ms1, ms2) -> ms1.equals(ms2) && ms1.entrySet().asList().equals(ms2.entrySet().asList());
        CollectorTester.of(ImmutableMultiset.<String>toImmutableMultiset(), equivalence)
            .expectCollects(ImmutableMultiset.of())
            .expectCollects(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    	for k, v := range j.MetaUser {
    		// https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w
    		if equals(k, xhttp.AmzMetaUnencryptedContentLength, xhttp.AmzMetaUnencryptedContentMD5) {
    			continue
    		}
    		if equals(k, "x-amz-storage-class") && v == storageclass.STANDARD {
    			continue
    		}
    
    		fi.Metadata[k] = v
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java

                    .map(BuildModelSourceTransformer::toRelativeProject);
    
            if (mappedProject.isPresent()) {
                RelativeProject project = mappedProject.get();
    
                if (Objects.equals(groupId, project.getGroupId()) && Objects.equals(artifactId, project.getArtifactId())) {
                    return mappedProject;
                }
            }
            return Optional.empty();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. istioctl/pkg/precheck/precheck_test.go

    	assert.NoError(t, err)
    	assert.Equal(t, 1, len(messages))
    
    	expectedOutput := msg.NewUpdateIncompatibility(ObjectToInstance(zipkinSvc),
    		"meshConfig.defaultConfig.tracer", "1.21",
    		"tracing is no longer by default enabled to send to 'zipkin.istio-system.svc'; "+
    			"follow https://istio.io/latest/docs/tasks/observability/distributed-tracing/telemetry-api/",
    		"1.21")
    
    	assert.Equal(t, expectedOutput, messages[0])
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 09 12:01:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashing.java

        int lastEntryIndex = -1;
        do {
          int entryIndex = next - 1;
          int entry = entries[entryIndex];
          if (getHashPrefix(entry, mask) == hashPrefix
              && Objects.equal(key, keys[entryIndex])
              && (values == null || Objects.equal(value, values[entryIndex]))) {
            int newNext = getNext(entry, mask);
            if (lastEntryIndex == -1) {
              // we need to update the root link from table[]
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top