字符类型检查:如果不允许特殊字符,那么就用一些特殊字符、负数并确保系统提示正确的出错信息。
Character type checking: If special character is not allowed then give some special character, negative values and make sure proper error message has been thrown by the system.
要将电话类型从整数扩展为字符串是一件很容易的事,虽然这样做将会为服务检查输入的数据带来一些工作量。
It's an easy matter to expand the phone types from ints to strings, although it will be a bit more work for your service to validate the incoming strings.
很不幸的是,JDBC 的访问SQL的方法丢失了类型安全,因为这是一个调用级别的接口,因此它限制只有在运行时才能检查字符串。
Type safety is sadly missing from JDBC's approach to accessing SQL, by the way, because it is a call-level interface and is thus restricted to strings that can only be checked at runtime.
在我们的例子中,validatepattern标签会检查year字段是一个数字类型,有4个字符长。
In our example, the validatepattern tag checks that the year field is numeric and is four characters long.
实现or g . relaxng .datatype . datatype接口的类表示素数数据类型:该类负责检查一个给定的字符串是否为素数。
A class that implements the org.relaxng.datatype.Datatype interface to represent the prime datatype: This class is responsible for verifying that a given string is, in fact, a prime number.
总结了英文光学字符识别(OCR)系统中的常见错误类型,论证了使用拼写检查技术发现错误的可能性。 以最相似单词替换OCR的错误输出,从而达到改正错误的目的。
Putting up the type of the common errors from the system English OCR, it has proved it feasible to use a spelling check technology to find its errors.
总结了英文光学字符识别(OCR)系统中的常见错误类型,论证了使用拼写检查技术发现错误的可能性。 以最相似单词替换OCR的错误输出,从而达到改正错误的目的。
Putting up the type of the common errors from the system English OCR, it has proved it feasible to use a spelling check technology to find its errors.
应用推荐