-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathBoundType.java
More file actions
29 lines (24 loc) · 944 Bytes
/
BoundType.java
File metadata and controls
29 lines (24 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package edu.rice.cs.drjava.model.repl.types;
import edu.rice.cs.drjava.model.repl.newjvm.*;
/**
* Class BoundType, a component of the ASTGen-generated composite hierarchy.
* Note: null is not allowed as a value for any field.
* @version Generated automatically by ASTGen at Thu Oct 16 08:57:12 CDT 2014
*/
//@SuppressWarnings("unused")
public abstract class BoundType extends ValidType {
private final Iterable<? extends Type> _ofTypes;
/**
* Constructs a BoundType.
* @throws java.lang.IllegalArgumentException If any parameter to the constructor is null.
*/
public BoundType(Iterable<? extends Type> in_ofTypes) {
super();
if (in_ofTypes == null) {
throw new java.lang.IllegalArgumentException("Parameter 'ofTypes' to the BoundType constructor was null");
}
_ofTypes = in_ofTypes;
}
public Iterable<? extends Type> ofTypes() { return _ofTypes; }
public abstract int generateHashCode();
}