public class MessageBuffer<T> extends Object implements MessageReader<T>
Constructor and Description |
---|
MessageBuffer() |
Modifier and Type | Method and Description |
---|---|
void |
add(T r) |
void |
clear() |
T |
get(int index) |
boolean |
isEmpty() |
int |
size() |
public int size()
size
in interface MessageReader<T>
public T get(int index)
get
in interface MessageReader<T>
public void add(T r)
public boolean isEmpty()
public void clear()
Copyright © 2017. All Rights Reserved.