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


java.lang.Object
   de.uka.ilkd.key.rule.inst.SVInstantiations

SVInstantiations
public class SVInstantiations (Code)
This class wraps a MapFromSchemaVariableToInstantiationEntry and is used to store instantiations of schemavariables. The class is immutable, this means changing its content will result in creating a new object.


Field Summary
final public static  SVInstantiationsEMPTY_SVINSTANTIATIONS
    


Method Summary
public  SVInstantiationsadd(SchemaVariable sv, Term subst)
     adds the given pair to the instantiations.
public  SVInstantiationsadd(OperatorSV sv, de.uka.ilkd.key.logic.op.Operator op)
    
public  SVInstantiationsadd(SchemaVariable sv, ProgramElement pe, int instantiationType)
    
public  SVInstantiationsadd(SchemaVariable sv, ProgramList pes)
    
public  SVInstantiationsadd(SchemaVariable sv, ProgramElement pe)
     adds the given pair to the instantiations.
public  SVInstantiationsadd(PosInProgram prefix, PosInProgram postfix, ExecutionContext activeStatementContext, ProgramElement pe)
     adds the given pair to the instantiations for the context.If the context has been instantiated already, the new pair is taken without a warning.
public  SVInstantiationsadd(SchemaVariable sv, InstantiationEntry entry)
     adds the given pair to the instantiations.
public  SVInstantiationsadd(GenericSortCondition p_c)
    
public  SVInstantiationsaddInteresting(SchemaVariable sv, Term subst)
    
public  SVInstantiationsaddInteresting(SchemaVariable sv, Name name)
    
public  SVInstantiationsaddInteresting(SchemaVariable sv, ProgramElement pe)
    
public  SVInstantiationsaddInteresting(SchemaVariable sv, InstantiationEntry entry)
    
public  SVInstantiationsaddInterestingList(SchemaVariable sv, Object[] list)
    
public  SVInstantiationsaddList(SchemaVariable sv, Object[] list)
    
public  SVInstantiationsaddUpdate(Term update)
    
public  SVInstantiationsaddUpdateList(ListOfUpdatePair updates)
    
public  SVInstantiationsclearUpdateContext()
    
public  booleanequals(Object obj)
    
public  ContextInstantiationEntrygetContextInstantiation()
    
public  ExecutionContextgetExecutionContext()
    
public  ListOfGenericSortConditiongetGenericSortConditions()
    
public  GenericSortInstantiationsgetGenericSortInstantiations()
    
public  ObjectgetInstantiation(SchemaVariable sv)
    
public  InstantiationEntrygetInstantiationEntry(SchemaVariable sv)
    
public  TermgetTermInstantiation(SchemaVariable sv, ExecutionContext ec, Services services)
     returns the instantiation of the given SchemaVariable as Term.
public  ListOfUpdatePairgetUpdateContext()
    
public  inthashCode()
    
public  MapFromSchemaVariableToInstantiationEntryinteresting()
    
public  booleanisInstantiated(SchemaVariable sv)
    
public  EntryOfSchemaVariableAndInstantiationEntrylookupEntryForSV(Name name)
    
public  ObjectlookupValue(Name name)
    
public  SchemaVariablelookupVar(Name name)
    
public  SVInstantiationsmakeInteresting(SchemaVariable sv)
    
public  IteratorOfEntryOfSchemaVariableAndInstantiationEntrypairIterator()
    
public  SVInstantiationsreplace(SchemaVariable sv, InstantiationEntry entry)
     replaces the given pair in the instantiations.
public  SVInstantiationsreplace(SchemaVariable sv, Term term)
     replaces the given pair in the instantiations.
public  SVInstantiationsreplace(SchemaVariable sv, ProgramElement pe)
     replaces the given pair in the instantiations.
public  SVInstantiationsreplace(SchemaVariable sv, ArrayOfProgramElement pes)
     replaces the given pair in the instantiations.
public  SVInstantiationsreplace(PosInProgram prefix, PosInProgram postfix, ExecutionContext activeStatementContext, ProgramElement pe)
     replaces the given pair in the instantiations.
public  intsize()
    
public  IteratorOfSchemaVariablesvIterator()
    
public  StringtoString()
    
public  SVInstantiationsunion(SVInstantiations other)
    

Field Detail
EMPTY_SVINSTANTIATIONS
final public static SVInstantiations EMPTY_SVINSTANTIATIONS(Code)
the empty instantiation





Method Detail
add
public SVInstantiations add(SchemaVariable sv, Term subst)(Code)
adds the given pair to the instantiations. If the given SchemaVariable has been instantiated already, the new pair is taken without a warning.
Parameters:
  sv - the SchemaVariable to be instantiated
Parameters:
  subst - the Term the SchemaVariable is instantiated with SVInstantiations the new SVInstantiations containing the givenpair



add
public SVInstantiations add(OperatorSV sv, de.uka.ilkd.key.logic.op.Operator op)(Code)



add
public SVInstantiations add(SchemaVariable sv, ProgramElement pe, int instantiationType)(Code)



add
public SVInstantiations add(SchemaVariable sv, ProgramList pes)(Code)



add
public SVInstantiations add(SchemaVariable sv, ProgramElement pe)(Code)
adds the given pair to the instantiations. If the given SchemaVariable has been instantiated already, the new pair is taken without a warning.
Parameters:
  sv - the SchemaVariable to be instantiated
Parameters:
  pe - the ProgramElement the SchemaVariable is instantiated with SVInstantiations the new SVInstantiations containingthe given pair



add
public SVInstantiations add(PosInProgram prefix, PosInProgram postfix, ExecutionContext activeStatementContext, ProgramElement pe)(Code)
adds the given pair to the instantiations for the context.If the context has been instantiated already, the new pair is taken without a warning.
Parameters:
  prefix - the PosInProgram describing the prefix
Parameters:
  postfix - the PosInProgram describing the postfix
Parameters:
  activeStatementContext - the ExecutionContext of the first active statement
Parameters:
  pe - the ProgramElement the context positions are related to SVInstantiations the new SVInstantiations containing the givenpair



add
public SVInstantiations add(SchemaVariable sv, InstantiationEntry entry)(Code)
adds the given pair to the instantiations. If the given SchemaVariable has been instantiated already, the new pair is taken without a warning.
Parameters:
  sv - the SchemaVariable to be instantiated
Parameters:
  entry - the InstantiationEntry SVInstantiations the new SVInstantiations containing the givenpair



add
public SVInstantiations add(GenericSortCondition p_c) throws SortException(Code)
Add the given additional condition for the generic sort instantiations



addInteresting
public SVInstantiations addInteresting(SchemaVariable sv, Term subst)(Code)



addInteresting
public SVInstantiations addInteresting(SchemaVariable sv, Name name)(Code)



addInteresting
public SVInstantiations addInteresting(SchemaVariable sv, ProgramElement pe)(Code)



addInteresting
public SVInstantiations addInteresting(SchemaVariable sv, InstantiationEntry entry)(Code)



addInterestingList
public SVInstantiations addInterestingList(SchemaVariable sv, Object[] list)(Code)



addList
public SVInstantiations addList(SchemaVariable sv, Object[] list)(Code)



addUpdate
public SVInstantiations addUpdate(Term update)(Code)
adds an update to the update context



addUpdateList
public SVInstantiations addUpdateList(ListOfUpdatePair updates)(Code)



clearUpdateContext
public SVInstantiations clearUpdateContext()(Code)



equals
public boolean equals(Object obj)(Code)
returns true if the given object and this one have the same mappings true if the given object and this one have the same mappings



getContextInstantiation
public ContextInstantiationEntry getContextInstantiation()(Code)
returns the instantiation entry for the context "schema variable" or null if non such exists



getExecutionContext
public ExecutionContext getExecutionContext()(Code)



getGenericSortConditions
public ListOfGenericSortCondition getGenericSortConditions()(Code)



getGenericSortInstantiations
public GenericSortInstantiations getGenericSortInstantiations()(Code)



getInstantiation
public Object getInstantiation(SchemaVariable sv)(Code)
returns the instantiation of the given SchemaVariable the Object the SchemaVariable will be instantiated with, null ifno instantiation is stored



getInstantiationEntry
public InstantiationEntry getInstantiationEntry(SchemaVariable sv)(Code)
returns the instantiation of the given SchemaVariable the InstantiationEntry the SchemaVariable will be instantiatedwith, null if no instantiation is stored



getTermInstantiation
public Term getTermInstantiation(SchemaVariable sv, ExecutionContext ec, Services services)(Code)
returns the instantiation of the given SchemaVariable as Term. If the instantiation is a program element it is tried to convert it to a term otherwise an exception is thrown the Object the SchemaVariable will be instantiated with, null ifno instantiation is stored



getUpdateContext
public ListOfUpdatePair getUpdateContext()(Code)
returns the update context the update context



hashCode
public int hashCode()(Code)



interesting
public MapFromSchemaVariableToInstantiationEntry interesting()(Code)



isInstantiated
public boolean isInstantiated(SchemaVariable sv)(Code)
returns true iff the sv has been instantiated already true iff the sv has been instantiated already



lookupEntryForSV
public EntryOfSchemaVariableAndInstantiationEntry lookupEntryForSV(Name name)(Code)



lookupValue
public Object lookupValue(Name name)(Code)



lookupVar
public SchemaVariable lookupVar(Name name)(Code)



makeInteresting
public SVInstantiations makeInteresting(SchemaVariable sv)(Code)
adds the schemvariable to the set of interesting ones
throws:
  IllegalInstantiationException - , if sv has not yet been instantiated



pairIterator
public IteratorOfEntryOfSchemaVariableAndInstantiationEntry pairIterator()(Code)
returns iterator of the mapped pair (SchemaVariables, InstantiationEntry) the IteratorOfEntryOfSchemaVariableAndInstantiationEntry



replace
public SVInstantiations replace(SchemaVariable sv, InstantiationEntry entry)(Code)
replaces the given pair in the instantiations. If the given SchemaVariable has been instantiated already, the new pair is taken without a warning.
Parameters:
  sv - the SchemaVariable to be instantiated
Parameters:
  entry - the InstantiationEntry the SchemaVariable is instantiated with



replace
public SVInstantiations replace(SchemaVariable sv, Term term)(Code)
replaces the given pair in the instantiations. If the given SchemaVariable has been instantiated already, the new pair is taken without a warning.
Parameters:
  sv - the SchemaVariable to be instantiated
Parameters:
  term - the Term the SchemaVariable is instantiated with



replace
public SVInstantiations replace(SchemaVariable sv, ProgramElement pe)(Code)
replaces the given pair in the instantiations. If the given SchemaVariable has been instantiated already, the new pair is taken without a warning.
Parameters:
  sv - the SchemaVariable to be instantiated
Parameters:
  pe - the ProgramElement the SchemaVariable is instantiated with



replace
public SVInstantiations replace(SchemaVariable sv, ArrayOfProgramElement pes)(Code)
replaces the given pair in the instantiations. If the given SchemaVariable has been instantiated already, the new pair is taken without a warning.
Parameters:
  sv - the SchemaVariable to be instantiated
Parameters:
  pes - the ArrayOfProgramElement the SchemaVariable is instantiatedwith



replace
public SVInstantiations replace(PosInProgram prefix, PosInProgram postfix, ExecutionContext activeStatementContext, ProgramElement pe)(Code)
replaces the given pair in the instantiations. If the context has been instantiated already, the new pair is taken without a warning.
Parameters:
  prefix - the PosInProgram describing the position of the firststatement after the prefix
Parameters:
  postfix - the PosInProgram describing the position of the statement justbefore the postfix
Parameters:
  activeStatementContext - the ExecutionContext of the first active statement
Parameters:
  pe - the ProgramElement the context positions are related to



size
public int size()(Code)
returns the number of SchemaVariables of which an instantiation is known int that is the number of SchemaVariables of which aninstantiation is known



svIterator
public IteratorOfSchemaVariable svIterator()(Code)
returns iterator of the SchemaVariables that have an instantiation the IteratorOfSchemaVariable



toString
public String toString()(Code)
toString



union
public SVInstantiations union(SVInstantiations other)(Code)



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.