The method of finding the intersection in oracle and java
And ((# {protocolStartTime} > = t.protocol_start_time AND # {protocolStartTime} = t.protocol_start_time AND # {protocolEndTime})
This determines that the start time and end time you pass in are compared with the start time and end time in the library to find out the time overlap, of course, this check contains your sentence this article, you can find more than one.
In java, you can use retainAll to find the intersection
Public static void main (String [] args) {
List list1 = new ArrayList ()
List list2 = new ArrayList ()
List1.add ("2")
List1.add ("s")
List1.add ("2")
List1.add ("f")
List2.add ("g")
List2.add ("c")
List2.add ("2")
List2.add ("a")
List1.retainAll (list2)
System.out.println (list1.size ())
System.out.println (list1.retainAll (list2))
}