Sha256: 349c203d44cd5914ef78f60ec7398f312656912f3fb98f29a9379873c58923d5
Contents?: true
Size: 817 Bytes
Versions: 12
Compression:
Stored size: 817 Bytes
Contents
package org.cx4a.rsense.typing.annotation; import java.util.List; public class TypeTuple implements TypeExpression { private List<TypeExpression> elements; public TypeTuple(List<TypeExpression> elements) { this.elements = elements; } public List<TypeExpression> getList() { return elements; } public Type getType() { return Type.TUPLE; } @Override public String toString() { StringBuilder sb = new StringBuilder(); String delim = ""; sb.append("("); if (elements != null) { for (TypeExpression expr : elements) { sb.append(delim); delim = ", "; sb.append(expr.toString()); } } sb.append(")"); return sb.toString(); } }
Version data entries
12 entries across 12 versions & 1 rubygems