Home >  Term: generic method
generic method

A method whose definition has placeholders, called generic type parameters, for one or more types used in the body of the method or as the types of the method's parameters. A user specifies real types (generic type arguments) for the type parameters when calling the generic method. Note that a method is not generic just because it is declared in a generic type. A method is generic only if it has type parameters of its own.

0 0

ผู้สร้าง

  • Romain
  •  (V.I.P) 17515 points
  • 44.44% positive feedback
© 2024 CSOFT International, Ltd.