Package org.patternfly.core
Class Tuples<K,V>
- java.lang.Object
-
- org.patternfly.core.Tuples<K,V>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasKey(K key)booleanhasValue(V value)booleanisEmpty()Iterator<Tuple<K,V>>iterator()Kkey(V value)intsize()Stream<Tuple<K,V>>stream()StringtoString()static <K,V>
Tuples<K,V>tuples(List<Tuple<K,V>> tuples)static <K,V>
Tuples<K,V>tuples(K key, V value)static <K,V>
Tuples<K,V>tuples(K key1, V value1, K key2, V value2)static <K,V>
Tuples<K,V>tuples(K key1, V value1, K key2, V value2, K key3, V value3)static <K,V>
Tuples<K,V>tuples(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)static <K,V>
Tuples<K,V>tuples(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4, K key5, V value5)static <K,V>
Tuples<K,V>tuples(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4, K key5, V value5, K key6, V value6)static <K,V>
Tuples<K,V>tuples(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4, K key5, V value5, K key6, V value6, K key7, V value7)static <K,V>
Tuples<K,V>tuples(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4, K key5, V value5, K key6, V value6, K key7, V value7, K key8, V value8)static <K,V>
Tuples<K,V>tuples(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4, K key5, V value5, K key6, V value6, K key7, V value7, K key8, V value8, K key9, V value9)static <K,V>
Tuples<K,V>tuples(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4, K key5, V value5, K key6, V value6, K key7, V value7, K key8, V value8, K key9, V value9, K key10, V value10)Vvalue(K key)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
tuples
public static <K,V> Tuples<K,V> tuples(K key, V value)
-
tuples
public static <K,V> Tuples<K,V> tuples(K key1, V value1, K key2, V value2)
-
tuples
public static <K,V> Tuples<K,V> tuples(K key1, V value1, K key2, V value2, K key3, V value3)
-
tuples
public static <K,V> Tuples<K,V> tuples(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
-
tuples
public static <K,V> Tuples<K,V> tuples(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4, K key5, V value5)
-
tuples
public static <K,V> Tuples<K,V> tuples(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4, K key5, V value5, K key6, V value6)
-
tuples
public static <K,V> Tuples<K,V> tuples(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4, K key5, V value5, K key6, V value6, K key7, V value7)
-
tuples
public static <K,V> Tuples<K,V> tuples(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4, K key5, V value5, K key6, V value6, K key7, V value7, K key8, V value8)
-
tuples
public static <K,V> Tuples<K,V> tuples(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4, K key5, V value5, K key6, V value6, K key7, V value7, K key8, V value8, K key9, V value9)
-
tuples
public static <K,V> Tuples<K,V> tuples(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4, K key5, V value5, K key6, V value6, K key7, V value7, K key8, V value8, K key9, V value9, K key10, V value10)
-
hasKey
public boolean hasKey(K key)
-
hasValue
public boolean hasValue(V value)
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
-