Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for valueOf (0.11 sec)

  1. guava-tests/test/com/google/common/collect/IteratorsTest.java

                new Function<String, Integer>() {
                  @Override
                  public Integer apply(String from) {
                    return Integer.valueOf(from);
                  }
                });
    
        assertEquals(Integer.valueOf(1), iterator.next());
        assertEquals(Integer.valueOf(2), iterator.next());
        iterator.remove();
        assertEquals(asList("1", "3"), list);
      }
    
      public void testPoorlyBehavedTransform() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

                new Function<String, Integer>() {
                  @Override
                  public Integer apply(String from) {
                    return Integer.valueOf(from);
                  }
                });
    
        assertEquals(Integer.valueOf(1), iterator.next());
        assertEquals(Integer.valueOf(2), iterator.next());
        iterator.remove();
        assertEquals(asList("1", "3"), list);
      }
    
      public void testPoorlyBehavedTransform() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  3. tests/query_test.go

    		t.Fatalf("Build OR condition, but got %v", result.Statement.SQL.String())
    	}
    }
    
    type Int64 int64
    
    func (v Int64) Value() (driver.Value, error) {
    	return v - 1, nil
    }
    
    func (f *Int64) Scan(v interface{}) error {
    	y := v.(int64)
    	*f = Int64(y + 1)
    	return nil
    }
    
    func TestPluck(t *testing.T) {
    	users := []*User{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

             * an array and when a value is potentionally overriden it is added to the array. The single
             * arg option value is retrieved and instead of returning values[values.length-1] it returns
             * values[0] which means that the original value instead of the overridden one is returned
             * (first wins). With properties values are truely overriden since at the end a map is used
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                final String key = e.getKey();
                Object value = e.getValue();
                if (value == null) {
                    value = StringUtil.EMPTY;
                }
                if (value instanceof String || value == null) {
                    return new Pair<>(key, value);
                }
                if (arrayFieldSet.contains(key)) {
                    if (value instanceof String[]) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  7. okhttp/api/okhttp.api

    	public static final field IPV6 Lokhttp3/AsyncDns$DnsClass;
    	public static fun getEntries ()Lkotlin/enums/EnumEntries;
    	public final fun getType ()I
    	public static fun valueOf (Ljava/lang/String;)Lokhttp3/AsyncDns$DnsClass;
    	public static fun values ()[Lokhttp3/AsyncDns$DnsClass;
    }
    
    public abstract interface class okhttp3/Authenticator {
    	public static final field Companion Lokhttp3/Authenticator$Companion;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/CharMatcher.java

    /**
     * Determines a true or false value for any Java {@code char} value, just as {@link Predicate} does
     * for any {@link Object}. Also offers basic text processing methods based on this function.
     * Implementations are strongly encouraged to be side-effect-free and immutable.
     *
     * <p>Throughout the documentation of this class, the phrase "matching character" is used to mean
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

            }
    
            waitForYellowStatus(fessConfig);
    
            indexConfigList.forEach(configName -> {
                final String[] values = configName.split("/");
                if (values.length == 2) {
                    final String configIndex = values[0];
                    final String configType = values[1];
    
                    final boolean isFessIndex = DOC_INDEX.equals(configIndex);
                    final String indexName;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  10. tests/migrate_test.go

    						columnType)
    				}
    				if v, ok := columnType.DefaultValue(); !ok || v != "hello" {
    					t.Fatalf("column code default value should be correct, name: %v, column: %#v, default value: %v",
    						columnType.Name(), columnType, v)
    				}
    				if v, ok := columnType.Comment(); !ok || v != "my code2" {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
Back to top