This post originated from an RSS feed registered with Java Buzz
by Ram N.
Original Post: Java : Collection Framework : Collections (LastIndexOfSubList)
Feed Title: JAVA EE
Feed URL: http://ramj2ee.blogspot.com/feeds/posts/default?alt=rss
Feed Description: This blog has viedo tutorials and Sample codes related to below Technologies.
1.J2EE
2.Java
3.Spring
4.Hibernate
5.Database
6.Oracle
7.Mysql
8.Design Patterns
/* * Returns the starting position of the last occurrence of the specified * target list within the specified source list, or -1 if there is no * such occurrence. */ int indexPostion = Collections.lastIndexOfSubList(sourceList, targetList);