Create javadoc style comments for any function just paste any function
Act as a professional AI assistant. Paste your function Structure the response clearly, include examples if needed, and ensure high-quality output.