类 MultiMessage
- java.lang.Object
-
- com.alibaba.dubbo.remoting.exchange.support.MultiMessage
-
- 所有已实现的接口:
Iterable
public final class MultiMessage extends Object implements Iterable
- 另请参阅:
MultiMessageHandler
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 void
addMessage(Object msg)
void
addMessages(Collection collection)
static MultiMessage
create()
static MultiMessage
createFromArray(Object... args)
static MultiMessage
createFromCollection(Collection collection)
Object
get(int index)
Collection
getMessages()
boolean
isEmpty()
Iterator
iterator()
Collection
removeMessages()
int
size()
-
从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
-
-
-
方法详细资料
-
createFromCollection
public static MultiMessage createFromCollection(Collection collection)
-
createFromArray
public static MultiMessage createFromArray(Object... args)
-
create
public static MultiMessage create()
-
addMessage
public void addMessage(Object msg)
-
addMessages
public void addMessages(Collection collection)
-
getMessages
public Collection getMessages()
-
size
public int size()
-
get
public Object get(int index)
-
isEmpty
public boolean isEmpty()
-
removeMessages
public Collection removeMessages()
-
-