package de.dhbwstuttgart.strucTypes4.algo;


import de.dhbwstuttgart.strucTypes4.typeVars.TypeVarAbstract;

import java.util.List;

/**
 * Created by sebastian on 11.04.17.
 */
public class ConstraintSubTypeInterface extends ConstraintAbstract{

    TypeVarAbstract kleiner;
    TypeVarAbstract strucType;
    List<TypeVarAbstract> generics;

    public ConstraintSubTypeInterface(TypeVarAbstract kleiner, TypeVarAbstract strucType, List<TypeVarAbstract> generics) {
        this.kleiner = kleiner;
        this.strucType = strucType;
        this.generics = generics;
    }

    @Override
    public String toString() {
        return "ConstraintSubTypeInterface{" + kleiner + "<* " + strucType + "<" + generics  +">";
    }




}

