Java Doc for Semisequent.java in  » Testing » KeY » de » uka » ilkd » key » logic » 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 » Testing » KeY » de.uka.ilkd.key.logic 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.uka.ilkd.key.logic.Semisequent

Semisequent
public class Semisequent (Code)
This class represents the succedent or antecendent part of a sequent. It is more or less a list without duplicates and subsumed formulas. This is ensured using method removeRedundancy. In future versions it can be enhanced to do other simplifications. A sequent and so a semisequent has to be immutable.


Field Summary
final public static  SemisequentEMPTY_SEMISEQUENT
    


Method Summary
protected  SemisequentChangeInfocomplete(SemisequentChangeInfo semiCI)
    
public  booleancontains(ConstrainedFormula conForm)
     checks if a ConstrainedFormula is in this Semisequent (identity check)
Parameters:
  conForm - the ConstraintForumla to look for true iff.
public  booleancontainsEqual(ConstrainedFormula conForm)
     checks if a ConstrainedFormula is in this Semisequent (equality check)
Parameters:
  conForm - the ConstraintForumla to look for true iff.
public  booleanequals(Object o)
    
public  ConstrainedFormulaget(int idx)
    
public  ConstrainedFormulagetFirst()
    
public  inthashCode()
    
public  intindexOf(ConstrainedFormula conForm)
     returns index of a ConstrainedFormula.
public  SemisequentChangeInfoinsert(int idx, ConstrainedFormula conForm)
    
public  SemisequentChangeInfoinsert(int idx, ListOfConstrainedFormula insertionList)
    
public  SemisequentChangeInfoinsertFirst(ConstrainedFormula conForm)
    
public  SemisequentChangeInfoinsertFirst(ListOfConstrainedFormula insertions)
    
public  SemisequentChangeInfoinsertLast(ConstrainedFormula conForm)
    
public  SemisequentChangeInfoinsertLast(ListOfConstrainedFormula insertions)
    
public  booleanisEmpty()
    
public  IteratorOfConstrainedFormulaiterator()
    
public  SemisequentChangeInforemove(int idx)
    
public  SemisequentChangeInforeplace(PosInOccurrence pos, ConstrainedFormula conForm)
    
public  SemisequentChangeInforeplace(int idx, ConstrainedFormula conForm)
    
public  SemisequentChangeInforeplace(PosInOccurrence pos, ListOfConstrainedFormula replacements)
    
public  SemisequentChangeInforeplace(int idx, ListOfConstrainedFormula replacements)
    
public  intsize()
    
public  ListOfConstrainedFormulatoList()
    
public  StringtoString()
    

Field Detail
EMPTY_SEMISEQUENT
final public static Semisequent EMPTY_SEMISEQUENT(Code)
the empty semisequent (using singleton pattern)





Method Detail
complete
protected SemisequentChangeInfo complete(SemisequentChangeInfo semiCI)(Code)
creates a semisequent out of the semisequent change info (semiCI) object and hands it over to semiCI



contains
public boolean contains(ConstrainedFormula conForm)(Code)
checks if a ConstrainedFormula is in this Semisequent (identity check)
Parameters:
  conForm - the ConstraintForumla to look for true iff. conForm has been found in thisSemisequent



containsEqual
public boolean containsEqual(ConstrainedFormula conForm)(Code)
checks if a ConstrainedFormula is in this Semisequent (equality check)
Parameters:
  conForm - the ConstraintForumla to look for true iff. conForm has been found in thisSemisequent



equals
public boolean equals(Object o)(Code)



get
public ConstrainedFormula get(int idx)(Code)
gets the element at a specific index
Parameters:
  idx - int representing the index of the element wewant to have ConstrainedFormula found at index idx
throws:
  IndexOutOfBoundsException - if idx is negative or greater or equal to Sequent.size



getFirst
public ConstrainedFormula getFirst()(Code)
the first ConstrainedFormula of this Semisequent



hashCode
public int hashCode()(Code)



indexOf
public int indexOf(ConstrainedFormula conForm)(Code)
returns index of a ConstrainedFormula. An identity check ('==') is used when searching for the ConstrainedFormula, NOT equals on ConstrainedFormula, because a ConstrainedFormulae identifies the origin of a formula.
Parameters:
  conForm - the ConstrainedFormula the index want to bedetermined index of conForm (-1 if not found)



insert
public SemisequentChangeInfo insert(int idx, ConstrainedFormula conForm)(Code)
inserts an element at a specified index performing redundancy checks, this may result in returning same semisequent if inserting would create redundancies
Parameters:
  idx - int encoding the place the element has to be put
Parameters:
  conForm - ConstrainedFormula to be inserted a semi sequent change information object with the new semisequentand information which formulas have been added or removed



insert
public SemisequentChangeInfo insert(int idx, ListOfConstrainedFormula insertionList)(Code)
inserts the elements of the list at the specified index performing redundancy checks
Parameters:
  idx - int encoding the place where the insertion starts
Parameters:
  insertionList - ListOfConstrainedFormula to be insertedstarting at idx a semi sequent change information object with the new semisequentand information which formulas have been added or removed



insertFirst
public SemisequentChangeInfo insertFirst(ConstrainedFormula conForm)(Code)
inserts element at index 0 performing redundancy checks, this may result in returning same semisequent if inserting would create redundancies
Parameters:
  conForm - ConstrainedFormula to be inserted a semi sequent change information object with the new semisequentand information which formulas have been added or removed



insertFirst
public SemisequentChangeInfo insertFirst(ListOfConstrainedFormula insertions)(Code)
inserts element at index 0 performing redundancy checks, this may result in returning same semisequent if inserting would create redundancies
Parameters:
  insertions - ListOfConstrainedFormula to be inserted a semi sequent change information object with the new semisequentand information which formulas have been added or removed



insertLast
public SemisequentChangeInfo insertLast(ConstrainedFormula conForm)(Code)
inserts element at the end of the semisequent performing redundancy checks, this may result in returning same semisequent if inserting would create redundancies
Parameters:
  conForm - ConstrainedFormula to be inserted a semi sequent change information object with the new semisequentand information which formulas have been added or removed



insertLast
public SemisequentChangeInfo insertLast(ListOfConstrainedFormula insertions)(Code)
inserts the formulas of the list at the end of the semisequent performing redundancy checks, this may result in returning same semisequent if inserting would create redundancies
Parameters:
  insertions - the ListOfConstrainedFormula to be inserted a semi sequent change information object with the new semisequentand information which formulas have been added or removed



isEmpty
public boolean isEmpty()(Code)
is this a semisequent that contains no formulas true if the semisequent contains no formulas



iterator
public IteratorOfConstrainedFormula iterator()(Code)
returns iterator about the elements of the sequent IteratorOfConstrainedFormula



remove
public SemisequentChangeInfo remove(int idx)(Code)
removes an element
Parameters:
  idx - int being the index of the element that has tobe removed a semi sequent change information object with the new semisequentand information which formulas have been added or removed



replace
public SemisequentChangeInfo replace(PosInOccurrence pos, ConstrainedFormula conForm)(Code)
replaces the element at place idx with conForm
Parameters:
  pos - the PosInOccurrence describing the position of and within theformula below which the formula differs from the new formulaconForm
Parameters:
  conForm - the ConstrainedFormula replacing the old element at index idx a semi sequent change information object with the new semisequentand information which formulas have been added or removed



replace
public SemisequentChangeInfo replace(int idx, ConstrainedFormula conForm)(Code)
replaces the idx-th formula by conForm
Parameters:
  idx - the int with the position of the formula to be replaced
Parameters:
  conForm - the ConstrainedFormula replacing the formula at the given position a SemisequentChangeInfo containing the new sequent and a diff to the oldone



replace
public SemisequentChangeInfo replace(PosInOccurrence pos, ListOfConstrainedFormula replacements)(Code)
replaces the element at place idx with the first element of the given list and adds the rest of the list to the semisequent behind the replaced formula
Parameters:
  pos - the formula to be replaced
Parameters:
  replacements - the ListOfConstrainedFormula whose headreplaces the element at index idx and the tail is added to thesemisequent a semi sequent change information object with the new semisequentand information which formulas have been added or removed



replace
public SemisequentChangeInfo replace(int idx, ListOfConstrainedFormula replacements)(Code)



size
public int size()(Code)
int counting the elements of this semisequent



toList
public ListOfConstrainedFormula toList()(Code)



toString
public String toString()(Code)
String representation of this Semisequent



Methods inherited from java.lang.Object
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public void notify() throws IllegalMonitorStateException(Code)(Java Doc)
final public void notifyAll() throws IllegalMonitorStateException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void wait() throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)
final public void wait(long ms) throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)
final public void wait(long ms, int ns) throws IllegalMonitorStateException, 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.