type parameter
[/taɪp ˈpærəmɪtər/]
nounpl: type parameters
parâmetro de tipo
1. A placeholder for a data type in generic programming, allowing functions, classes, or methods to work with multiple data types while maintaining type safety.
In Java, List<T> uses T as a type parameter that can be instantiated with any reference type.
Em Java, List<T> usa T como um parâmetro de tipo que pode ser instanciado com qualquer tipo de referência.
2. A variable that represents an unknown or abstract type in the declaration of a generic class, interface, or method.
The generic method <T> void process(T item) has T as a type parameter.
O método genérico <T> void process(T item) tem T como parâmetro de tipo.
This is a technical term predominantly used in software development and computer science education. It's language-agnostic in its core concept but the terminology is consistent across English and Portuguese-speaking programming communities. Understanding type parameters is fundamental to modern object-oriented and functional programming paradigms.
Related Idioms & Phrases
bounded type parameter - parâmetro de tipo limitado
unbounded type parameter - parâmetro de tipo não limitado
wildcard type parameter - parâmetro de tipo coringa
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →