public final class

ZNRecordUtil

extends Object
java.lang.Object
   ↳ org.apache.helix.util.ZNRecordUtil

Summary

Public Methods
static Map<StringZNRecord> convertListToMap(List<ZNRecord> recordList)
static <T> List<T> convertListToTypedList(List<ZNRecord> recordList, Class<T> clazz)
static <T> Map<String, T> convertListToTypedMap(List<ZNRecord> recordList, Class<T> clazz)
static <T> List<T> convertMapToList(Map<String, T> map)
static ZNRecord find(String id, List<ZNRecord> list)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static Map<StringZNRecord> convertListToMap (List<ZNRecord> recordList)

public static List<T> convertListToTypedList (List<ZNRecord> recordList, Class<T> clazz)

public static Map<String, T> convertListToTypedMap (List<ZNRecord> recordList, Class<T> clazz)

public static List<T> convertMapToList (Map<String, T> map)

public static ZNRecord find (String id, List<ZNRecord> list)