Package deltix.qsrv.hf.tickdb
Class TimebaseTestUtils.IterableMessageSource<T>
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.TimebaseTestUtils.IterableMessageSource<T>
-
- All Implemented Interfaces:
deltix.data.stream.MessageSource<T>
,deltix.util.concurrent.AbstractCursor
,deltix.util.lang.Disposable
,java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- TimebaseTestUtils
public static class TimebaseTestUtils.IterableMessageSource<T> extends java.lang.Object implements deltix.data.stream.MessageSource<T>
-
-
Constructor Summary
Constructors Constructor Description IterableMessageSource(java.lang.Iterable<? extends T> source)
IterableMessageSource(T... messages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
T
getMessage()
boolean
isAtEnd()
boolean
next()
void
reset()
-
-
-
Method Detail
-
reset
public void reset()
-
getMessage
public T getMessage()
- Specified by:
getMessage
in interfacedeltix.data.stream.MessageSource<T>
-
next
public boolean next()
- Specified by:
next
in interfacedeltix.util.concurrent.AbstractCursor
-
isAtEnd
public boolean isAtEnd()
- Specified by:
isAtEnd
in interfacedeltix.util.concurrent.AbstractCursor
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in interfacedeltix.util.lang.Disposable
-
-