Java Doc for Item.java in  » Net » Terracotta » com » tc » asm » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Net » Terracotta » com.tc.asm 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.tc.asm.Item

Item
final class Item (Code)
A constant pool item. Constant pool items can be created with the 'newXXX' methods in the ClassWriter class.
author:
   Eric Bruneton


Field Summary
 inthashCode
     The hash code value of this constant pool item.
 intindex
     Index of this item in the constant pool.
 intintVal
     Value of this item, for an integer item.
 longlongVal
     Value of this item, for a long item.
 Itemnext
     Link to another constant pool item, used for collision lists in the constant pool's hash table.
 StringstrVal1
     First part of the value of this item, for items that do not hold a primitive value.
 StringstrVal2
     Second part of the value of this item, for items that do not hold a primitive value.
 StringstrVal3
     Third part of the value of this item, for items that do not hold a primitive value.
 inttype
     Type of this constant pool item.

Constructor Summary
 Item()
     Constructs an uninitialized Item .
 Item(int index)
     Constructs an uninitialized Item for constant pool element at given position.
 Item(int index, Item i)
     Constructs a copy of the given item.

Method Summary
 booleanisEqualTo(Item i)
     Indicates if the given item is equal to this one.
Parameters:
  i - the item to be compared to this one.
 voidset(int intVal)
     Sets this item to an integer item.
 voidset(long longVal)
     Sets this item to a long item.
 voidset(float floatVal)
     Sets this item to a float item.
 voidset(double doubleVal)
     Sets this item to a double item.
 voidset(int type, String strVal1, String strVal2, String strVal3)
     Sets this item to an item that do not hold a primitive value.

Field Detail
hashCode
int hashCode(Code)
The hash code value of this constant pool item.



index
int index(Code)
Index of this item in the constant pool.



intVal
int intVal(Code)
Value of this item, for an integer item.



longVal
long longVal(Code)
Value of this item, for a long item.



next
Item next(Code)
Link to another constant pool item, used for collision lists in the constant pool's hash table.



strVal1
String strVal1(Code)
First part of the value of this item, for items that do not hold a primitive value.



strVal2
String strVal2(Code)
Second part of the value of this item, for items that do not hold a primitive value.



strVal3
String strVal3(Code)
Third part of the value of this item, for items that do not hold a primitive value.



type
int type(Code)
Type of this constant pool item. A single class is used to represent all constant pool item types, in order to minimize the bytecode size of this package. The value of this field is one of ClassWriter.INT , ClassWriter.LONG , ClassWriter.FLOAT , ClassWriter.DOUBLE , ClassWriter.UTF8 , ClassWriter.STR , ClassWriter.CLASS , ClassWriter.NAME_TYPE , ClassWriter.FIELD , ClassWriter.METH , ClassWriter.IMETH . Special Item types are used for Items that are stored in the ClassWriter ClassWriter.typeTable , instead of the constant pool, in order to avoid clashes with normal constant pool items in the ClassWriter constant pool's hash table. These special item types are ClassWriter.TYPE_NORMAL , ClassWriter.TYPE_UNINIT and ClassWriter.TYPE_MERGED .




Constructor Detail
Item
Item()(Code)
Constructs an uninitialized Item .



Item
Item(int index)(Code)
Constructs an uninitialized Item for constant pool element at given position.
Parameters:
  index - index of the item to be constructed.



Item
Item(int index, Item i)(Code)
Constructs a copy of the given item.
Parameters:
  index - index of the item to be constructed.
Parameters:
  i - the item that must be copied into the item to be constructed.




Method Detail
isEqualTo
boolean isEqualTo(Item i)(Code)
Indicates if the given item is equal to this one.
Parameters:
  i - the item to be compared to this one. true if the given item if equal to this one,false otherwise.



set
void set(int intVal)(Code)
Sets this item to an integer item.
Parameters:
  intVal - the value of this item.



set
void set(long longVal)(Code)
Sets this item to a long item.
Parameters:
  longVal - the value of this item.



set
void set(float floatVal)(Code)
Sets this item to a float item.
Parameters:
  floatVal - the value of this item.



set
void set(double doubleVal)(Code)
Sets this item to a double item.
Parameters:
  doubleVal - the value of this item.



set
void set(int type, String strVal1, String strVal2, String strVal3)(Code)
Sets this item to an item that do not hold a primitive value.
Parameters:
  type - the type of this item.
Parameters:
  strVal1 - first part of the value of this item.
Parameters:
  strVal2 - second part of the value of this item.
Parameters:
  strVal3 - third part of the value of this item.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.