Revision 9
Added by Willibald K. over 8 years ago
ListType.java | ||
---|---|---|
34 | 34 |
/////////////////////////////////////////////// |
35 | 35 |
/// Complex Type: List |
36 | 36 |
/// |
37 |
public final class ListType extends UlyssesType
|
|
37 |
public final class ListType extends Type |
|
38 | 38 |
{ |
39 |
private UlyssesType m_innerType;
|
|
39 |
private Type m_innerType; |
|
40 | 40 |
private final int m_maxNumberOfElements; |
41 | 41 |
|
42 |
public UlyssesType innerType() { return m_innerType; }
|
|
42 |
public Type innerType() { return m_innerType; } |
|
43 | 43 |
public int maxNumberOfElements() { return m_maxNumberOfElements; } |
44 | 44 |
|
45 |
public ListType(UlyssesType elemType, int max, TypeIdentifier anIdentifier)
|
|
45 |
public ListType(Type elemType, int max, TypeIdentifier anIdentifier) |
|
46 | 46 |
{ |
47 | 47 |
super(TypeKind.ListType, anIdentifier); |
48 | 48 |
m_innerType = elemType; |
... | ... | |
55 | 55 |
visitor.visit(this); |
56 | 56 |
} |
57 | 57 |
|
58 |
public void SetInnerType(UlyssesType newType)
|
|
58 |
public void SetInnerType(Type newType) |
|
59 | 59 |
{ |
60 | 60 |
if (newType == null) |
61 | 61 |
throw new ArgumentException(); |
Also available in: Unified diff
remove support for Qualitative Action Systems, rename UlyssesType to Type