Java LinkedTransferQueue spliterator() MethodThe spliterator() method of LinkedTransferQueue class returns a weakly uniform Spliterator across the elements of this queue. Syntax:Parameters:NA Specified By:The spliterator() method of LinkedTransferQueue class is specified by:
Return Value:The spliterator() method returns a Spliterator across the elements of this queue. Example 1Test it NowOutput: Alphabets : A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Example 2Test it NowOutput: 1 Lower case = Kristen 1 Upper case = KRISTEN 2 Lower case = Harry 2 Upper case = HARRY 3 Lower case = Jack 3 Upper case = JACK Example 3Test it NowOutput: 1 Roll No = 15cs1029 Name = Johnson Age = 24 2 Roll No = 15cs1012 Name = Harry Potter Age = 22 3 Roll No = 15cs1011 Name = John Age = 21 Next TopicJava LinkedTransferQueue |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India