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


soot.util.Chain

Chain
public interface Chain extends Collection<E>,Serializable(Code)
Augmented data type guaranteeing O(1) insertion and removal from a set of ordered, unique elements. <
Parameters:
  E - > element type




Method Summary
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  booleanfollows(E someObject, E someReferenceObject)
     Returns true if object someObject follows object someReferenceObject in the Chain.
public  EgetFirst()
     Returns the first object in this Chain.
public  EgetLast()
     Returns the last object in this Chain.
public  EgetPredOf(E point)
     Returns the object immediately preceding point.
public  EgetSuccOf(E point)
     Returns the object immediately following point.
public  voidinsertAfter(List<E> toInsert, E point)
     Inserts toInsert in the Chain after point.
public  voidinsertAfter(E toInsert, E point)
     Inserts toInsert in the Chain after point.
public  voidinsertAfter(Chain<E> toInsert, E point)
     Inserts toInsert in the Chain after point.
public  voidinsertBefore(List<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  voidinsertBefore(Chain<E> toInsert, E point)
     Inserts toInsert in the Chain before point.
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(E u)
     Removes the given object from this Chain.
public  voidremoveFirst()
     Removes the first object contained in this Chain.
public  voidremoveLast()
     Removes the last object contained in 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.



Method Detail
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.



follows
public boolean follows(E someObject, E someReferenceObject)(Code)
Returns true if object someObject follows object someReferenceObject 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.



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(List<E> toInsert, E point)(Code)
Inserts toInsert in the Chain after point.



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



insertAfter
public void insertAfter(Chain<E> toInsert, E point)(Code)
Inserts toInsert in the Chain after point. (It would probably be better to make Chain implement List)



insertBefore
public void insertBefore(List<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.



insertBefore
public void insertBefore(Chain<E> toInsert, E point)(Code)
Inserts toInsert in the Chain before point. (It would probably be better to make Chain implement List)



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(E u)(Code)
Removes the given object from this Chain.



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



removeLast
public void removeLast()(Code)
Removes the last object contained in 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.