Package com.biglybt.core.util
package com.biglybt.core.util
-
ClassDescriptionGeneric interface so that we can callbackA Runnable that calls the AECallback function when it's done running the code the implementer suppliedDeprecated.- use AEThread2This class is used to compute average (mostly for speed transfer).A set of utility methods to decode a bencoded array of byte into a Map.Classes that implement this interface can be sent to a bencodeA set of utility methods to encode a Map into a bencoded array of byte.Use this class for getting a MD5 message digest.CopyOnWriteMap<K,
V> Debug-assisting class.Virtual direct byte buffer given out and tracker by the buffer pool.File utility class.This class DOES NOT COPY THE UNDERLYING BYTES AND ONLY SUPPORTS Short.MAX_VALUE bytesLightHashMap<S,T> A lighter (on memory) hash map
Advantages over HashMap: Lower memory footprint Everything is stored in a single array, this might improve cache performance (not verified) Read-only operations on Key and Value iterators should be concurrency-safe (Entry iterators are not) but they might return null values unexpectedly under concurrent modification (not verified) Disadvantages: removal is implemented with thombstone-keys, this can significantly increase the lookup time if many values are removed.LightHashMapEx<S,T> A lighter (on memory) hash set
Advantages over HashSet: Lower memory footprint Everything is stored in a single array, this might improve cache performance (not verified) Read-only operations on iterators should be concurrency-safe but they might return null values unexpectedly under concurrent modification (not verified) Disadvantages: removal is implemented with thombstone-keys, this can significantly increase the lookup time if many values are removed.SHA-1 message digest class.SHA-1 hasher utility frontend.SHA-1 message digest class.Utility class to manage system-dependant information.Utility class to retrieve current system time, and catch clock backward time changes.ThreadPool<T extends AERunnable>Holds and provides the urls all wiki pages.