String is one of the core classes in java programming language. It is widely used and widely used.But do you know what is the direct string volume? Do you know there is a string resident pool? The string resident pool can be used to cache the direct string volume.
What is a direct volume?Direct Volume refers to the value directly specified through source code in a program.Eg:Int personId = 8080;String name = "fancy ";
For the direct amount of strings
to the C: \ java directory
C: \ java>; java HelloJava // run HelloJava
Hello, Java. // running result
C: \ java>; _ ***** set in Linux
In Linux, use "variable name = variable value" to set the variable and use the export command to export it as an environment variable. To enable automatic setting of these variables for every login, you need ~ /. Bash_pro file or ~. /Bashrc, such as
Note that the CLASSPATH contains a "Current Directory (.)". After the directory is included, you can go to any di
In CSS, the class selector is displayed with a point number:. Center {Text-align:center}In the above example, all HTML elements that have the center class are centered.In the following HTML code, the H1 and P elements all have the center class. This means that both will comply with the rules in the. Center selector.This heading would be center-alignedThis paragraph would also be center-aligned.Note: The first character of the class name cannot use a number! It doesn't work in Mozilla or Firefox.
The cornerstone of reflection is the Class. The Class represents the bytecode obtained after the java source file is compiled,
Several methods to obtain the Class type:
1. class Name. class
2. Object Name. getClass ()
3. Class. forName ("Class path ")
Constructor reflection:
Package test;
Import java. lang. reflect. Constructor;/**** @ Describe reflection Basics* @ Author fancy* @ Mailbox fancydeepin@yeah.net* @ 2012-8-24 **/Public class ReflectApp {
First, blasting, including including MD5, blasting random number, verification code identification, etc.Second, around the WAF, including the fancy around MySQL, around the file read keyword detection and other interceptionThree, fancy playing a few PHP features, including the weak type, strpos and = = =, deserialization +destruct,/-truncation, iconv truncation,Four, password problems, including hash length
the path here refers to the value of the previously set PATH variable, rather than the value of this set PATH variable.
Note that the classpath contains a "Current Directory (.)". After the directory is included, you can go to any directory and execute Java programs that need to use a class in the directory, even if the path is not included in the classpath. The reason is simple: although the path is not explicitly included in classpath, "." In classpath represents the path, for example
Suppose
LinuxUnder Linux, use the variable name = variable value to set the variable and export it as an environment variable using the Export command. In order for each login to automatically set these variables, you need to set them in ~/.bash_pro file or ~./BASHRC, such as Notice that a "current directory (.)" is included in the CLASSPATH. Once the directory is included, you can go to any directory to execute a Java program that needs to use a class in that directory, even if the path is not include
login to set these variables on its own initiative, you need to set them in ~/.bash_profile or ~./BASHRC, asExport JAVA_HOME=/USR/LOCAL/JDKExport path= $JAVA _home/bin: $PATHExport classpath= $JAVA _home/jre/lib/rt.jar:.The $JAVA _home used to set the PATH is the value of the replacement variable Java_home to the location where the $JAVA _home. As the above sentence is actually export path=/usr/local/jdk/bin: $PATH. The $PATH in this sentence is the same, except that the path here refers to the
about the three classes, and it is not possible to establish a link. The following explanation of the Javadoc compile command will be explained in detail.4.2 @author, @version description classThese two tags are used to indicate the author and version of the class. By default Javadoc ignores it, but command-line switches-author and-version can modify this feature so that the information it contains is output. The syntax for these two tokens is as follows:@author Author name@version version numb
First, the index
The order in which the values are taken is from the perimeter to the innermost element position, which is written sequentially.
1.1. Single Value IndexImport NumPy as NPA = Np.arange (+). Reshape (2,2,4) print ("original array: \ n", a) print ("single value index: \ n", a[1][1][2]) >>> original array: [[[0] 1 2 3] [4 5 6 7] [[8 9] [12 13 14 15]]] Single value index value: 141.2. Fancy Index
You can index m
for the first use of the @version. The following example
public class Testjavadoc {}
The relevant parts of the generated document are as shown:
As you can see from the diagram of the generated document, two @author statements are compiled and a list of authors is generated in the document. And in two @version statements only the first sentence is compiled and only one version number is generated.
From the diagram, the list of authors is separated by commas, if I want
name@version version number
Where @author can be used multiple times to indicate multiple authors, separated by commas (,) between each author in the resulting document. @version can also be used more than once, and only for the first time, the resulting document displays only the version number that is specified for the first use of the @version. The following example
public class Testjavadoc {}
The relevant parts of the generated document are as shown:
As you can s
installation is successfulSvnserve -- version
Step 2:
Create SVN version library directory
Mkdir-p/var/svn/xxxxx
Create a version LibrarySvnadmin create/var/svn/xxxxx -- xxxx is your project version
Step 3:
Go to the version directoryFiles under cd var/svn/project/xxxxx
The authz file is a permission control file.Passwd is the account password fileSvnserve. confSVN service configuration file
Step 4:
Modify the svnserve. conf fileVi svnserve. conf open the following comments:Anon-access = none
:. The $JAVA _home used to set the PATH is the value of the replacement variable Java_home to the location where the $JAVA _home. As the above sentence is actually export path=/usr/local/jdk/bin: $PATH. This is the same $PATH, but the path here refers to the value of the path variable that was previously set, not the value of the path variable this time. Notice that a "current directory (.)" is included in the CLASSPATH. Once the directory is included, you can go to any directory to execute a
login to set these variables on its own initiative, you need to set them in ~/.bash_profile or ~./BASHRC, asExport JAVA_HOME=/USR/LOCAL/JDKExport path= $JAVA _home/bin: $PATHExport classpath= $JAVA _home/jre/lib/rt.jar:.The $JAVA _home used to set the PATH is the value of the replacement variable Java_home to the location where the $JAVA _home. As the above sentence is actually export path=/usr/local/jdk/bin: $PATH. The $PATH in this sentence is the same, except that the path here refers to the
login to set these variables on its own initiative, you need to set them in ~/.bash_profile or ~./BASHRC, asExport JAVA_HOME=/USR/LOCAL/JDKExport path= $JAVA _home/bin: $PATHExport classpath= $JAVA _home/jre/lib/rt.jar:.The $JAVA _home used to set the PATH is the value of the replacement variable Java_home to the location where the $JAVA _home. As the above sentence is actually export path=/usr/local/jdk/bin: $PATH. The $PATH in this sentence is the same, except that the path here refers to the
set them up in ~/.bash_profile or ~./BASHRC. Such asExport JAVA_HOME=/USR/LOCAL/JDKExport path= $JAVA _home/bin: $PATHExport classpath= $JAVA _home/jre/lib/rt.jar:.The $JAVA _home used to set the PATH is the value of the replacement variable Java_home to the location where the $JAVA _home. As the above sentence is actually export path=/usr/local/jdk/bin: $PATH. The $PATH in this sentence is the same, except that the path here refers to the value of the path variable that was set, not the value
login to set these variables on its own initiative, you need to set them in ~/.bash_profile or ~./BASHRC, asExport JAVA_HOME=/USR/LOCAL/JDKExport path= $JAVA _home/bin: $PATHExport classpath= $JAVA _home/jre/lib/rt.jar:.The $JAVA _home used to set the PATH is the value of the replacement variable Java_home to the location where the $JAVA _home. As the above sentence is actually export path=/usr/local/jdk/bin: $PATH. The $PATH in this sentence is the same, except that the path here refers to the
of the class name cannot contain numbers! It does not work in Mozilla or Firefox.
Like ID, class can also be used as a derivative selector:
. Fancy TD{Color: # f60; Background: #666 ;}
In the above example, the table cells inside the larger element of the class named fancy will display orange text with a gray background. (A bigger element named fancy may be
";
var think = function() {
Alert ("actually I am" + age + "years old. ");
};
function fancy(){
Alert ("fantasy becomes 20 years old. ");
};
this.Introduce = function() {
Alert ("My name is" + name + ", 20 years old. ");
};
};
var younglady = new Lady();
Alert (younglady. age); // The result is undefined.
Younglady. think (); // not supported
Younglady. fan
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.