Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java lambda expression in priorityqueue

PriorityQueue<Integer> pq = new PriorityQueue<>((v1, v2) -> (v1 - v2));
 
PREVIOUS NEXT
Tagged: #java #lambda #expression #priorityqueue
ADD COMMENT
Topic
Name
7+2 =