Java Doc for PatchingChain.java in  » Code-Analyzer » soot » soot » 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 » Code Analyzer » soot » soot 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


soot.PatchingChain

PatchingChain
public class PatchingChain extends AbstractCollection implements Chain<E>(Code)
An implementation of a Chain which can contain only Units, and handles patching to deal with element insertions and removals. This is done by calling Unit.redirectJumpsToThisTo at strategic times.

Inner Class :protected class PatchingIterator implements Iterator<E>

Field Summary
protected  Chain<E>innerChain
    

Constructor Summary
public  PatchingChain(Chain<E> aChain)
     Constructs a PatchingChain from the given Chain.

Method Summary
public  booleanadd(E o)
     Adds the given object to this Chain.
public  voidaddFirst(E u)
     Adds the given object at the beginning of the Chain.
public  voidaddLast(E u)
     Adds the given object at the end of the Chain.
public  booleancontains(Object u)
     Returns true if this patching chain contains the specified element.
public  booleanfollows(E a, E b)
     Returns true if object a follows object b in the Chain.
public  EgetFirst()
     Returns the first object in this Chain.
public  EgetLast()
     Returns the last object in this Chain.
public  Chain<E>getNonPatchingChain()
     Returns the inner chain used by the PatchingChain.
public  EgetPredOf(E point)
     Returns the object immediately preceding point.
public  EgetSuccOf(E point)
     Returns the object immediately following point.
public  voidinsertAfter(E toInsert, E point)
     Inserts toInsert in the Chain after point.
public  voidinsertAfter(List<E> toInsert, E point)
     Inserts toInsert in the Chain after point.
public  voidinsertAfter(Chain<E> toInsert, E point)
    
public  voidinsertBefore(List<E> toInsert, E point)
     Inserts toInsert in the Chain before point.
public  voidinsertBefore(Chain<E> toInsert, E point)
     Inserts toInsert in the Chain before point.
public  voidinsertBefore(E toInsert, E point)
     Inserts toInsert in the Chain before point.
public  voidinsertBeforeNoRedirect(E toInsert, E point)
     Inserts toInsert in the Chain before point WITHOUT redirecting jumps.
public  Iterator<E>iterator()
     Returns an iterator over this Chain.
public  Iterator<E>iterator(E u)
     Returns an iterator over this Chain, starting at the given object.
public  Iterator<E>iterator(E head, E tail)
     Returns an iterator over this Chain, starting at head and reaching tail (inclusive).
public  booleanremove(Object obj)
     Removes the given object from this Chain.
public  voidremoveFirst()
     Removes the first object from this Chain.
public  voidremoveLast()
     Removes the last object from this Chain.
public  intsize()
     Returns the size of this Chain.
public  Iterator<E>snapshotIterator()
     Returns an iterator over a copy of this chain.
public  voidswapWith(E out, E in)
     Replaces out in the Chain by in.

Field Detail
innerChain
protected Chain<E> innerChain(Code)




Constructor Detail
PatchingChain
public PatchingChain(Chain<E> aChain)(Code)
Constructs a PatchingChain from the given Chain.




Method Detail
add
public boolean add(E o)(Code)
Adds the given object to this Chain.



addFirst
public void addFirst(E u)(Code)
Adds the given object at the beginning of the Chain.



addLast
public void addLast(E u)(Code)
Adds the given object at the end of the Chain.



contains
public boolean contains(Object u)(Code)
Returns true if this patching chain contains the specified element.



follows
public boolean follows(E a, E b)(Code)
Returns true if object a follows object b in the Chain.



getFirst
public E getFirst()(Code)
Returns the first object in this Chain.



getLast
public E getLast()(Code)
Returns the last object in this Chain.



getNonPatchingChain
public Chain<E> getNonPatchingChain()(Code)
Returns the inner chain used by the PatchingChain. In general, this should not be used. However, direct access to the inner chain may be necessary if you wish to perform certain operations (such as control-flow manipulations) without interference from the patching algorithms.



getPredOf
public E getPredOf(E point)(Code)
Returns the object immediately preceding point.



getSuccOf
public E getSuccOf(E point)(Code)
Returns the object immediately following point.



insertAfter
public void insertAfter(E toInsert, E point)(Code)
Inserts toInsert in the Chain after point.



insertAfter
public void insertAfter(List<E> toInsert, E point)(Code)
Inserts toInsert in the Chain after point.



insertAfter
public void insertAfter(Chain<E> toInsert, E point)(Code)



insertBefore
public void insertBefore(List<E> toInsert, E point)(Code)
Inserts toInsert in the Chain before point.



insertBefore
public void insertBefore(Chain<E> toInsert, E point)(Code)
Inserts toInsert in the Chain before point.



insertBefore
public void insertBefore(E toInsert, E point)(Code)
Inserts toInsert in the Chain before point.



insertBeforeNoRedirect
public void insertBeforeNoRedirect(E toInsert, E point)(Code)
Inserts toInsert in the Chain before point WITHOUT redirecting jumps.



iterator
public Iterator<E> iterator()(Code)
Returns an iterator over this Chain.



iterator
public Iterator<E> iterator(E u)(Code)
Returns an iterator over this Chain, starting at the given object.



iterator
public Iterator<E> iterator(E head, E tail)(Code)
Returns an iterator over this Chain, starting at head and reaching tail (inclusive).



remove
public boolean remove(Object obj)(Code)
Removes the given object from this Chain.



removeFirst
public void removeFirst()(Code)
Removes the first object from this Chain.



removeLast
public void removeLast()(Code)
Removes the last object from this Chain.



size
public int size()(Code)
Returns the size of this Chain.



snapshotIterator
public Iterator<E> snapshotIterator()(Code)
Returns an iterator over a copy of this chain. This avoids ConcurrentModificationExceptions from being thrown if the underlying Chain is modified during iteration. Do not use this to remove elements which have not yet been iterated over!



swapWith
public void swapWith(E out, E in)(Code)
Replaces out in the Chain by in.



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