|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorc.type.Constraint
public class Constraint
Upper and lower bound constraints on a type variable.
| Field Summary | |
|---|---|
Type |
lower
|
Type |
upper
|
| Constructor Summary | |
|---|---|
Constraint()
|
|
| Method Summary | |
|---|---|
void |
atLeast(Type T)
|
void |
atMost(Type T)
|
Type |
minimal(Variance v)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Type lower
public Type upper
| Constructor Detail |
|---|
public Constraint()
| Method Detail |
|---|
public void atLeast(Type T)
throws TypeException
TypeException
public void atMost(Type T)
throws TypeException
TypeException
public Type minimal(Variance v)
throws TypeException
TypeExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||