Java Doc for GenericSortCondition.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.GenericSortCondition

GenericSortCondition
abstract public class GenericSortCondition (Code)
Abstract superclass for conditions controlling the instantiations of generic sorts

Inner Class :static class GSCSupersort extends GenericSortCondition
Inner Class :static class GSCIdentity extends GenericSortCondition
Inner Class :static class GSCForceInstantiation extends GenericSortCondition


Constructor Summary
protected  GenericSortCondition(GenericSort p_gs)
    

Method Summary
abstract public  booleancheck(Sort s, GenericSortInstantiations insts)
    
public static  GenericSortConditioncreateCondition(InstantiationEntry p_entry)
     Create the condition that needs to be fulfilled for the given instantiation of a metavariable to be correct, i.e.
public static  GenericSortConditioncreateCondition(SortDependingSymbol p0, SortDependingSymbol p1)
    
protected static  GenericSortConditioncreateCondition(Sort s0, Sort s1, boolean p_identity)
     Create the condition to make a generic sort (s0) (or a collection sort of a generic sort) and a concrete sort (s1) equal
Parameters:
  p_identity - true iff an identity condition should begenerated (otherwise: a supersort condition is generated) the resulting condition, if "s0" is of generic sort;null, if the sorts are either always compatible (no genericsorts) or never compatible (e.g.
public static  GenericSortConditioncreateForceInstantiationCondition(GenericSort p_gs, boolean p_maximum)
    
public static  GenericSortConditioncreateIdentityCondition(GenericSort p_gs, Sort p_s)
    
public static  GenericSortConditioncreateSupersortCondition(GenericSort p_gs, Sort p_s)
    
public static  GenericSortConditionforceInstantiation(Sort p_s, boolean p_maximum)
    
public  GenericSortgetGenericSort()
    
static  booleansubSortsAllowed(SortedSchemaVariable p_sv)
     true iff the variable p_sv isallowed to be instantiated with expressions that have a realsubtype of the type of p_sv.


Constructor Detail
GenericSortCondition
protected GenericSortCondition(GenericSort p_gs)(Code)




Method Detail
check
abstract public boolean check(Sort s, GenericSortInstantiations insts)(Code)
returns true if the given sort s satisfies this generic sort condition
Parameters:
  s - the Sort to check
Parameters:
  insts - a map containing already found instantiations true if the given sort s satisfies this generic sortcondition



createCondition
public static GenericSortCondition createCondition(InstantiationEntry p_entry)(Code)
Create the condition that needs to be fulfilled for the given instantiation of a metavariable to be correct, i.e. if the schemavariable is of generic sort, the instantiation of that sort has to match the sort of the schemavariable's instantiation the resulting condition, if the schemavariable is ofgeneric sort; null, if the sorts are either always compatible(no generic sorts) or never compatible (non generic sorts thatdon't match)



createCondition
public static GenericSortCondition createCondition(SortDependingSymbol p0, SortDependingSymbol p1)(Code)
Create a condition ensuring that the two given symbols become identical; "p0" may be of generic sort, "p1" not the resulting condition; null if the symbols are eitherincompatible or equal



createCondition
protected static GenericSortCondition createCondition(Sort s0, Sort s1, boolean p_identity)(Code)
Create the condition to make a generic sort (s0) (or a collection sort of a generic sort) and a concrete sort (s1) equal
Parameters:
  p_identity - true iff an identity condition should begenerated (otherwise: a supersort condition is generated) the resulting condition, if "s0" is of generic sort;null, if the sorts are either always compatible (no genericsorts) or never compatible (e.g. non generic sorts that don'tmatch)



createForceInstantiationCondition
public static GenericSortCondition createForceInstantiationCondition(GenericSort p_gs, boolean p_maximum)(Code)
a condition that specifies the given generic sort to beinstantiated
Parameters:
  p_maximum - hint whether the generic sort should beinstantiated with the maximum or mimimum possible concrete sort(this hint is currently not used by GenericSortInstantiations)



createIdentityCondition
public static GenericSortCondition createIdentityCondition(GenericSort p_gs, Sort p_s)(Code)
a condition that specifies the given generic sort to beinstantiated (exactly) with the given concrete sort



createSupersortCondition
public static GenericSortCondition createSupersortCondition(GenericSort p_gs, Sort p_s)(Code)
a condition that specifies the given generic sort to beinstantiated with a supersort of the given concrete sort



forceInstantiation
public static GenericSortCondition forceInstantiation(Sort p_s, boolean p_maximum)(Code)
Create the condition to force the instantiation of a given (possibly generic) sort
Parameters:
  p_maximum - hint whether the generic sort should beinstantiated with the maximum or mimimum possible concrete sort(this hint is currently not used by GenericSortInstantiations) the resulting condition, or null if "p_s" is notgeneric



getGenericSort
public GenericSort getGenericSort()(Code)



subSortsAllowed
static boolean subSortsAllowed(SortedSchemaVariable p_sv)(Code)
true iff the variable p_sv isallowed to be instantiated with expressions that have a realsubtype of the type of p_sv. Otherwise the sortshave to match exactly



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.