- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for isNumber (0.48 sec)
-
android/guava-tests/test/com/google/common/base/PredicatesTest.java
} @GwtIncompatible // Predicates.instanceOf public void testIsInstanceOf_subclass() { Predicate<@Nullable Object> isNumber = Predicates.instanceOf(Number.class); assertTrue(isNumber.apply(1)); assertTrue(isNumber.apply(2.0f)); assertFalse(isNumber.apply("")); assertFalse(isNumber.apply(null)); } @GwtIncompatible // Predicates.instanceOf public void testIsInstanceOf_interface() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 32.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertFalse(StringUtil.isNumber(null)); assertTrue(StringUtil.isNumber("0123456789")); assertFalse(StringUtil.isNumber("aaaBBBccc")); assertFalse(StringUtil.isNumber("0123456789")); assertFalse(StringUtil.isNumber("")); assertFalse(StringUtil.isNumber("01234abcdef")); assertFalse(StringUtil.isNumber("abcdef01234")); } /** * */
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 12K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
} @GwtIncompatible // Predicates.instanceOf public void testIsInstanceOf_subclass() { Predicate<@Nullable Object> isNumber = Predicates.instanceOf(Number.class); assertTrue(isNumber.apply(1)); assertTrue(isNumber.apply(2.0f)); assertFalse(isNumber.apply("")); assertFalse(isNumber.apply(null)); } @GwtIncompatible // Predicates.instanceOf public void testIsInstanceOf_interface() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 32.4K bytes - Viewed (0) -
src/bytes/example_test.go
fmt.Printf("Fields are: %q", bytes.Fields([]byte(" foo bar baz "))) // Output: Fields are: ["foo" "bar" "baz"] } func ExampleFieldsFunc() { f := func(c rune) bool { return !unicode.IsLetter(c) && !unicode.IsNumber(c) } fmt.Printf("Fields are: %q", bytes.FieldsFunc([]byte(" foo1;bar2,baz3..."), f)) // Output: Fields are: ["foo1" "bar2" "baz3"] } func ExampleHasPrefix() {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
utils/utils.go
return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10)) } } return "" } func IsValidDBNameChar(c rune) bool { return !unicode.IsLetter(c) && !unicode.IsNumber(c) && c != '.' && c != '*' && c != '_' && c != '$' && c != '@' } // CheckTruth check string true or not func CheckTruth(vals ...string) bool { for _, val := range vals {
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Mon Apr 22 06:43:02 GMT 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 21.7K bytes - Viewed (0) -
cmd/object-handlers.go
} if opts.PartNumber > 0 && strings.Contains(ci.ETag, "-") { w.Header()[xhttp.AmzMpPartsCount] = []string{ strings.TrimLeftFunc(ci.ETag, func(r rune) bool { return !unicode.IsNumber(r) }), } } // For providing ranged content start, rangeLen, err := rs.GetOffsetLength(ci.Size) if err != nil { start, rangeLen = 0, ci.Size }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Apr 22 17:49:30 GMT 2024 - 125K bytes - Viewed (0) -
api/go1.txt
pkg unicode, func IsDigit(int32) bool pkg unicode, func IsGraphic(int32) bool pkg unicode, func IsLetter(int32) bool pkg unicode, func IsLower(int32) bool pkg unicode, func IsMark(int32) bool pkg unicode, func IsNumber(int32) bool pkg unicode, func IsOneOf([]*RangeTable, int32) bool pkg unicode, func IsPrint(int32) bool pkg unicode, func IsPunct(int32) bool pkg unicode, func IsSpace(int32) bool
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1)