How to delete both equal items in list

I have a bean kotlin class, and I have two lists, and I need to delete both equal items by fullTime

class Time(
    var fullTime: String,
    var date: Calendar,
    var hour: Int,
    var minute: Int,
    var inMillis: Long,
    var day: Int

Example: List one ["16:30", "15:30"], List two ["16:30","12:30"], And I need delete 16:30 item in both lists, and get ["15:30"].

Read more here:

Content Attribution

This content was originally published by Abilaikhan Zhetes at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: