Java.lang Package classes
Java.lang Package extras
Java.lang Package Useful Resources
Selected Reading
- Java.lang - Void
- Java.lang - Throwable
- Java.lang - ThreadLocal
- Java.lang - ThreadGroup
- Java.lang - Thread
- Java.lang - System
- Java.lang - StringBuilder
- Java.lang - StringBuffer
- Java.lang - String
- Java.lang - StrictMath
- Java.lang - StackTraceElement
- Java.lang - Short
- Java.lang - SecurityManager
- Java.lang - RuntimePermission
- Java.lang - Runtime
- Java.lang - ProcessBuilder
- Java.lang - Process
- Java.lang - Package
- Java.lang - Object
- Java.lang - Number
- Java.lang - Math
- Java.lang - Long
- Java.lang - Integer
- Java.lang - InheritableThreadLocal
- Java.lang - Float
- Java.lang - Enum
- Java.lang - Double
- Java.lang - Compiler
- Java.lang - ClassLoader
- Java.lang - Class
- Java.lang - Character.UnicodeBlock
- Java.lang - Character.Subset
- Java.lang - Character
- Java.lang - Byte
- Java.lang - Boolean
- Java.lang - Home
Java.lang Package extras
Java.lang Package Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Java.lang - InheritableThreadLocal
Java.lang.InheritableThreadLocal Class
Introduction
The java.lang.InheritableThreadLocal class extends ThreadLocal to provide inheritance of values from parent thread to child thread: when a child thread is created, the child receives initial values for all inheritable thread-local variables for which the parent has values.
Class Declaration
Following is the declaration for java.lang.InheritableThreadLocal class −
pubpc class InheritableThreadLocal<T> extends ThreadLocal<T>
Class constructors
S.N. | Constructor & Description |
---|---|
1 |
pubpc class InheritableThreadLocal<T>extends ThreadLocal<T> This is the Single Constructor. |
Class methods
S.N. | Method & Description |
---|---|
1 |
protected T childValue(T parentValue) This method computes the child s initial value for this inheritable thread-local variable as a function of the parent s value at the time the child thread is created. |
Methods inherited
This class inherits methods from the following classes −
java.lang.ThreadLocal
java.lang.Object