-
-
Creates and returns a copy of this object.
Creating a QHash with QVariant type (QHash<QString,QVariant>
).
static <Key,
T> QHash<Key,T>
Returns a QHash containing a single mapping.
static <Key,
T> QHash<Key,T>
QHash.of(Key k1,
T t1,
Key k2,
T t2)
Returns a QHash containing two mappings.
static <Key,
T> QHash<Key,T>
QHash.of(Key k1,
T t1,
Key k2,
T t2,
Key k3,
T t3)
Returns a QHash containing three mappings.
static <Key,
T> QHash<Key,T>
QHash.of(Key k1,
T t1,
Key k2,
T t2,
Key k3,
T t3,
Key k4,
T t4)
Returns a QHash containing four mappings.
static <Key,
T> QHash<Key,T>
QHash.of(Key k1,
T t1,
Key k2,
T t2,
Key k3,
T t3,
Key k4,
T t4,
Key k5,
T t5)
Returns a QHash containing five mappings.
static <Key,
T> QHash<Key,T>
QHash.of(Key k1,
T t1,
Key k2,
T t2,
Key k3,
T t3,
Key k4,
T t4,
Key k5,
T t5,
Key k6,
T t6)
Returns a QHash containing six mappings.
static <Key,
T> QHash<Key,T>
QHash.of(Key k1,
T t1,
Key k2,
T t2,
Key k3,
T t3,
Key k4,
T t4,
Key k5,
T t5,
Key k6,
T t6,
Key k7,
T t7)
Returns a QHash containing seven mappings.
static <Key,
T> QHash<Key,T>
QHash.of(Key k1,
T t1,
Key k2,
T t2,
Key k3,
T t3,
Key k4,
T t4,
Key k5,
T t5,
Key k6,
T t6,
Key k7,
T t7,
Key k8,
T t8)
Returns a QHash containing eight mappings.
static <Key,
T> QHash<Key,T>
QHash.of(Key k1,
T t1,
Key k2,
T t2,
Key k3,
T t3,
Key k4,
T t4,
Key k5,
T t5,
Key k6,
T t6,
Key k7,
T t7,
Key k8,
T t8,
Key k9,
T t9)
Returns a QHash containing nine mappings.
static <Key,
T> QHash<Key,T>
QHash.of(Key k1,
T t1,
Key k2,
T t2,
Key k3,
T t3,
Key k4,
T t4,
Key k5,
T t5,
Key k6,
T t6,
Key k7,
T t7,
Key k8,
T t8,
Key k9,
T t9,
Key k10,
T t10)
Returns a QHash containing ten mappings.
static <Key,
T> QHash<Key,T>
Returns a QHash containing keys and values extracted from the given entries.
static <Key,
T> QHash<Key,T>
QHash.ofPairs(QPair<? extends Key,? extends T> pair0,
QPair<? extends Key,? extends T>... pairs)
Returns a QHash containing keys and values extracted from the given pairs.
Convenient static function for type conversion.
-
-
-