All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.redhat.ceylon.compiler.java.metadata.Variance Maven / Gradle / Ivy

There is a newer version: 1.3.3
Show newest version
package com.redhat.ceylon.compiler.java.metadata;

/**
 * Enumerates possible values for {@link TypeParameter#variance @TypeParameter.variance}
 */
public enum Variance {
    /** Contravariant ({@code in}) type parameter */
    IN("in"), 
    /** Conavariant ({@code out}) type parameter */
    OUT("out"),
    /** Invariant type parameter */
    NONE("");
    
    private final String pretty;
    Variance(String pretty) {
        this.pretty = pretty;
    }
    public String getPretty() {
        return pretty;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy