Package one.microstream.collections.old
Class JavaUtilMapEntrySetFlattener<T,K extends T,V extends T>
java.lang.Object
one.microstream.collections.old.JavaUtilMapEntrySetFlattener<T,K,V>
- All Implemented Interfaces:
Iterator<T>
public class JavaUtilMapEntrySetFlattener<T,K extends T,V extends T> extends Object implements Iterator<T>
The term "serializer" is already taken (conversion to a byte sequence), as is "sequencer",
so this thing will be a "flattener" (order references in a non-trivial data structure in a trivial, flat, sequence).
-
Constructor Summary
Constructors Constructor Description JavaUtilMapEntrySetFlattener()
-
Method Summary
Modifier and Type Method Description boolean
hasNext()
static <T, K extends T, V extends T>
JavaUtilMapEntrySetFlattener<T,K,V>New(Iterator<Map.Entry<K,V>> iterator)
static <T, K extends T, V extends T>
JavaUtilMapEntrySetFlattener<T,K,V>New(Map<K,V> map)
T
next()
-
Constructor Details
-
JavaUtilMapEntrySetFlattener
public JavaUtilMapEntrySetFlattener()
-
-
Method Details
-
New
public static <T, K extends T, V extends T> JavaUtilMapEntrySetFlattener<T,K,V> New(Iterator<Map.Entry<K,V>> iterator) -
New
public static <T, K extends T, V extends T> JavaUtilMapEntrySetFlattener<T,K,V> New(Map<K,V> map) -
hasNext
public boolean hasNext() -
next
-