Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for ValueOf (0.14 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

    					case "Birthday":
    						if _, ok := first[dbName].(*time.Time); !ok {
    							t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName])
    						}
    					}
    
    					reflectValue := reflect.Indirect(reflect.ValueOf(users[0]))
    					AssertEqual(t, first[dbName], reflectValue.FieldByName(name).Interface())
    				})
    			}
    		}
    	})
    
    	t.Run("FirstMapWithTable", func(t *testing.T) {
    		first := map[string]interface{}{}
    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

            List<Option> setPropertyOptions = new ArrayList<>();
            for (Option opt : mavenCli.getOptions()) {
                if (String.valueOf(CLIManager.SET_USER_PROPERTY).equals(opt.getOpt())) {
                    setPropertyOptions.add(opt);
                } else {
                    commandLineBuilder.addOption(opt);
                }
            }
    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

            String[] secondSegments = second.split("\\.");
            for (int i = 0; i < Math.max(firstSegments.length, secondSegments.length); i++) {
                int result = Long.valueOf(i < firstSegments.length ? firstSegments[i] : "0")
                        .compareTo(Long.valueOf(i < secondSegments.length ? secondSegments[i] : "0"));
                if (result != 0) {
                    return result;
                }
            }
            return 0;
    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

            }
        }
    
        String getSchedulerConcurrentExecMode();
    
        default JobConcurrentExec getSchedulerConcurrentExecModeAsEnum() {
            return JobConcurrentExec.valueOf(getSchedulerConcurrentExecMode());
        }
    
        String getCrawlerMetadataContentExcludes();
    
        default boolean isCrawlerMetadataContentIncluded(final String name) {
    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 IPV4 Lokhttp3/AsyncDns$DnsClass;
    	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 {
    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

          }
          return result.toString();
        }
    
        @Override
        public String collapseFrom(CharSequence sequence, char replacement) {
          return (sequence.length() == 0) ? "" : String.valueOf(replacement);
        }
    
        @Override
        public String trimFrom(CharSequence sequence) {
          checkNotNull(sequence);
          return "";
        }
    
        @Override
    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

            if ("adaptive".equalsIgnoreCase(value)) {
                if (fessConfig.availableProcessors() >= 4) {
                    return null;
                }
                final String requestsPerSecond = String.valueOf(fessConfig.getIndexReindexSizeAsInteger() * fessConfig.availableProcessors());
                logger.info("Set requests_per_second to {}", requestsPerSecond);
                return requestsPerSecond;
            }
            return value;
    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

    	columnTypes, err := DB.Table("user_migrate_columns").Migrator().ColumnTypes(&UserMigrateColumn2{})
    	if err != nil {
    		t.Fatalf("failed to get column types, got error: %v", err)
    	}
    	typ := reflect.Indirect(reflect.ValueOf(&UserMigrateColumn2{})).Type()
    	numField := typ.NumField()
    	if numField != len(columnTypes) {
    		t.Fatalf("column's number not match struct and ddl, %d != %d", numField, len(columnTypes))
    	}
    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