Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 337 for valueOf (0.07 sec)

  1. android/guava/src/com/google/common/collect/Multisets.java

         * followed by the characters " x " (space, x and space) followed by the count. Elements and
         * counts are converted to strings as by {@code String.valueOf}.
         */
        @Override
        public String toString() {
          String text = String.valueOf(getElement());
          int n = getCount();
          return (n == 1) ? text : (text + " x " + n);
        }
      }
    
      /** An implementation of {@link Multiset#equals}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Multisets.java

         * followed by the characters " x " (space, x and space) followed by the count. Elements and
         * counts are converted to strings as by {@code String.valueOf}.
         */
        @Override
        public String toString() {
          String text = String.valueOf(getElement());
          int n = getCount();
          return (n == 1) ? text : (text + " x " + n);
        }
      }
    
      /** An implementation of {@link Multiset#equals}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                }
            }
    
            return true;
        }
    
        private boolean hasExpression(String value) {
            return value != null && value.contains("${");
        }
    
        private boolean hasProjectExpression(String value) {
            return value != null && value.contains("${project.");
        }
    
        private boolean validateStringNotEmpty(
                String fieldName,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                    texts[i] = fragments[i].string();
                }
                final String value = StringUtils.join(texts, ELLIPSIS);
                if (StringUtil.isNotBlank(value) && !ComponentUtil.getFessConfig().endsWithFullstop(value)) {
                    return value + ELLIPSIS;
                }
                return value;
            }
            return null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

              listOf(
                AttributeTypeAndValue(
                  type = ORGANIZATIONAL_UNIT_NAME,
                  value = organizationalUnit,
                ),
              )
          }
    
          result +=
            listOf(
              AttributeTypeAndValue(
                type = ObjectIdentifiers.COMMON_NAME,
                value = commonName ?: UUID.randomUUID().toString(),
              ),
            )
    
          return result
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

                propertyName to propertyValue
            }
        }.toMap()
    
    
    /**
     * Creates a [Provider] that returns `true` when this [Provider] has a value
     * and `false` otherwise. The returned [Provider] always has a value.
     * @see Provider.isPresent
     */
    private
    fun <T> Provider<T>.presence(): Provider<Boolean> =
        map { true }.orElse(false)
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      private static class IntHolder implements Serializable {
        public int value;
    
        public IntHolder(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return (o instanceof IntHolder) && ((IntHolder) o).value == value;
        }
    
        @Override
        public int hashCode() {
          return value;
        }
    
        private static final long serialVersionUID = 5;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      private static final int[] VALUES = {LEAST, (int) -1, (int) 0, (int) 1, GREATEST};
    
      public void testHashCode() {
        for (int value : VALUES) {
          assertThat(Ints.hashCode(value)).isEqualTo(((Integer) value).hashCode());
        }
      }
    
      public void testCheckedCast() {
        for (int value : VALUES) {
          assertThat(Ints.checkedCast((long) value)).isEqualTo(value);
        }
        assertCastFails(GREATEST + 1L);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

        public void addFeature(final String key, final String value) {
            if (StringUtil.isBlank(key) || StringUtil.isBlank(value)) {
                throw new CrawlerSystemException("key or value is null.");
            }
    
            featureMap.put(key, value);
        }
    
        public void addProperty(final String key, final String value) {
            if (StringUtil.isBlank(key) || StringUtil.isBlank(value)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. gorm.go

    	return tx.Session(&Session{
    		Logger: db.Logger.LogMode(logger.Info),
    	})
    }
    
    // Set store value with key into current db instance's context
    func (db *DB) Set(key string, value interface{}) *DB {
    	tx := db.getInstance()
    	tx.Statement.Settings.Store(key, value)
    	return tx
    }
    
    // Get get value with key from current db instance's context
    func (db *DB) Get(key string) (interface{}, bool) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top