Java™ Platform
Standard Ed. 8 
   
 
    
   
   
   
   
   
    
    
    
     
     -  
       
       
       -  
           Field Summary 
          
          Fields 
            
          
          
           
           | Modifier and Type | Field and Description |   
           | T | value
              包含在持有人的价值。 
             |  
 
  
       -  
           构造方法摘要 
          
          构造方法 
            
          
          
           
           | Constructor and Description |   
           | Holder()
              创建一个具有 
             null价值的新持有人。 |   
           | Holder(T value)
              创建一个具有指定值的新持有者。 
             |  
 
  
       -  
           方法摘要 
         -  
             Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
 
  
    
     
     -  
       
       
       -  
           字段详细信息 
         -  valuepublic T value 
            包含在持有人的价值。 
           
 
  
       -  
           构造方法详细信息 
         -  Holderpublic Holder() 
            创建一个新的持有人,价值 
           null。
 
  
         -  Holderpublic Holder(T value) 
            创建一个具有指定值的新持有者。 
            
           -  
            参数 
           
-  
            value- 存储在持有value的值。
 
 
 
  
    
   
   
   
    
      
    
    
      
    
    
    Java™ Platform
Standard Ed. 8 
   
 
    
   
   
   Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.