Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
按照标题。如果两条消息被赋予相同的优先级,那么在使用 UnboundedPriorityMailbox 时,它们各自的顺序是否能保证被保留?
它由 Java 的PriorityQueue支持,所以它有它的语义,如果你想要其他语义,很容易实现你自己的邮箱类型。