Exemplo n.º 1
0
 /**
  * Returns a ProducedType corresponding to {@code Range<T>}
  *
  * @param rt The ProducedType corresponding to {@code T}
  * @return The ProducedType corresponding to {@code Range<T>}
  */
 public ProducedType getRangeType(ProducedType rt) {
   return Util.producedType(getRangeDeclaration(), rt);
 }
Exemplo n.º 2
0
 /**
  * Returns a ProducedType corresponding to {@code Iterator<T>}
  *
  * @param et The ProducedType corresponding to {@code T}
  * @return The ProducedType corresponding to {@code Iterator<T>}
  */
 public ProducedType getIteratorType(ProducedType et) {
   return Util.producedType(getIteratorDeclaration(), et);
 }