public class ThreadsTest_PrimitiveType
extends java.lang.Object
ThreadsTest_ObjectiveType.TestType.f(int intBlank)
and
ThreadsTest_ObjectiveType.TestType.g(int intBlank)
, they did good.ThreadsTest_ObjectiveType.TestType.h(int intBlank)
.Modifier and Type | Class and Description |
---|---|
(package private) class |
ThreadsTest_PrimitiveType.R1
Runnable 1.
|
(package private) class |
ThreadsTest_PrimitiveType.R2
Runnable 2.
|
(package private) class |
ThreadsTest_PrimitiveType.R3
Runnable 3.
|
(package private) class |
ThreadsTest_PrimitiveType.TestType
Class type to test, with the variable to be protected.
|
Constructor and Description |
---|
ThreadsTest_PrimitiveType() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] str1dArgs)
Main method, the start entrance.
|
private int |
randomMillis()
Generate a random time period.
|
private void |
threadPrintln(int intBlank,
java.lang.String strContent)
Prints thread information.
|
public static void main(java.lang.String[] str1dArgs)
str1dArgs
- - Command line arguments.private void threadPrintln(int intBlank, java.lang.String strContent)
intBlank
- - Blank count for this thread.strContent
- - Thread information.private int randomMillis()