Win a copy of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP this week in the Cloud/Virtualization forum!

jin tony

Greenhorn
+ Follow
since Feb 17, 2021
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by jin tony

def indexOf[T](seq: Seq[T],value: T, from: Int):Int={
   for(i<-from until seq.length){
     if(seq(i)== value) return i
   }
   -1
 }


anyone explain me indexOf[T] meaning? and what is(seq: Seq[T],value: T) do?
thank you
2 months ago