4520 shaares
2 résultats
taggé
queue
@Animal, comme vous devrez implémenter des queues priorisées avec @Sigmund et @Kysofer notamment dans la section "charger le détecteur de format SWIFT le plus probable en premier" cette API devrait faire votre affaire sans efforts :)
Je cite :
Tape is a collection of queue-related classes for Android and Java.
QueueFile is a lightning-fast, transactional, file-based FIFO. Addition and removal from an instance is an O(1) operation and is atomic. Writes are synchronous; data will be written to disk before an operation returns. The underlying file is structured to survive process and even system crashes and if an I/O exception is thrown during a mutating change, the change is aborted.