Translate

New Live Courses

UpComing SoftWare Training Demos

🚀 *Playwright With AI Testing Demo In Telugu*
🗓️ *Date:* 28 Oct2026, 08:00 PM IST
📝 *Register Now!:*
https://www.vlrt.in/3r
👥 *Join WA Community:*
https://www.vlrt.in/3w
💡 *Course Content:*
https://www.vlrt.in/3c
▶️ *Demo Videos:*
https://www.vlrt.in/3v

🚀 *Gen AI Engineer (Production Focused)*
🗓️ *Date:* 29th Oct 2026, 06:00PM IST
📝 *Register Now!:*
https://www.vlrt.in/gr
👥 *Join WA Community:*
https://www.vlrt.in/gw
💡*Course Content:*
https://www.vlrt.in/ai
▶️ *Demo Videos:*
https://www.vlrt.in/gv

🚀 *Vulnerability Management Training Demo*
🗓️ *Date:* 28th Oct 2026, 10:00 AM IST
📝*Register Now!:*
https://www.vlrt.in/vr
👥 *Join Community:*
https://www.vlrt.in/cw
💡 *Course Content:*
https://www.vlrt.in/vc
▶️ *Demo Videos:*
https://www.vlrt.in/Vm

Tuesday, 5 October 2021

Curry Methods in Groovy Scripting groovy training telugu 27

 Watch This Video

https://youtu.be/f23J76-sXGo

----------------------------------------------------------------------------------------------------------------------

def log={String type,Date createdOn,String  msg ->

println"$createdOn [$type]-$mgs"

}

log("DEBUG", new Date(),"This is my first debug statement......")

def debuglog =log.curry("DEBUG")

debuglog(new Date(),"This is my first debug statement.........")
debuglog(new Date(),"This is onOther")


def todayDebugLog= log.curry("DEBUG",new Date())
todayDebugLog("This is today Bug")

//right curry


def crazyPersonLog =log.rcurry("Why i am logging this way")
crazyPersonLog("ERROR",new Date())

//index based Curring

def typeMsgLog=log.ncurry(1,new Date())
typeMsgLog("ERROR","This is using ncurry")

No comments:

Post a Comment

Note: only a member of this blog may post a comment.