Interface MessageIterable<MSG_T extends org.apache.hadoop.io.Writable>
-
- Type Parameters:
MSG_T
- msg type.
- All Superinterfaces:
Iterable<MSG_T>
- All Known Implementing Classes:
ListMessageIterable
,MessageIterable.EmptyMessageIterable
public interface MessageIterable<MSG_T extends org.apache.hadoop.io.Writable> extends Iterable<MSG_T>
An iterable instances holding msgs for a vertex.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
MessageIterable.EmptyMessageIterable<MSG_T_ extends org.apache.hadoop.io.Writable>
-
Field Summary
Fields Modifier and Type Field Description static MessageIterable
emptyMessageIterable
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
append(MSG_T msg)
void
clear()
int
size()
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Field Detail
-
emptyMessageIterable
static final MessageIterable emptyMessageIterable
-
-
Method Detail
-
append
void append(MSG_T msg)
-
clear
void clear()
-
size
int size()
-
-