Writing high-quality code: 151 suggestions for improving Java programs (Chapter 1: generics and reflection ___ suggestion 93 ~ 97), java151
Generics can reduce the forced type conversion, regulate the element types of the Set, and improve the Code
Determined that the process engine contains the following features:
Verify the required fields.
Modify the permissions of the process document, including the relevant reader domain, author domain, access control section.
Add an
Bo main QQ:819594300Blog address:http://zpf666.blog.51cto.com/Have any questions friends can contact Bo master, bo Master will help you answer, thank you for your support!Read the catalogue in this blog post:1 ) Len Function//view list number2 )
In the C language we started with, the main function in the int main () function of the last always add a return 0; As the returned value, we did not know what the meaning of this return value, we often use the normal function of the return value,
OS error code 1:operation not permittedos error code 2:no such file or Directoryos error code 3:no such proces SOS error code 4:interrupted system callos error code 5:input/output erroros error code 6:no such device or ad Dressos error code
You can use the perror command in shell to display the perror function in the corresponding program API.
I = 1; while [$ I-Le 152]; DO perror $ I; let I = I + 1; done;
My kernel is defined as 152 only, as shown in the following table:
OS error
In order to conveniently view the error code and its meaning in Linux, a program is written to print the information.
Listerrno. c
# Include # include # include # define MAX_ERRNO 256 int main (int argc, char * argv []) { int n = 0;
Today I compiled oal again, but I found that there are still many errors, which are too depressing. It was successful some time ago. This is so uncomfortable. Isn't my previous method wrong, as a result, I started from the beginning again. The
1 An application-defined error or an object-defined error.
2 an application-defined error or an object-defined error.
3 This error number is obsolete and is no longer in use.
5 procedure Call or parameter is invalid.
6 overflow.
7 Not enough memory.
[Reference the help document of smart appliance control technology. Here we have a very html version, which is very useful for querying, but it cannot be downloaded to CHM version. It cannot be used locally .]
1. # operator not followed by macro
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.