public class MultiOperationRecord extends Object implements Record, Iterable<Op>
Constructor and Description |
---|
MultiOperationRecord() |
MultiOperationRecord(Iterable<Op> ops) |
Modifier and Type | Method and Description |
---|---|
void |
add(Op op) |
void |
deserialize(InputArchive archive,
String tag) |
boolean |
equals(Object o) |
Op.OpKind |
getOpKind()
Returns the kind of the operations contained by the record.
|
int |
hashCode() |
Iterator<Op> |
iterator() |
void |
serialize(OutputArchive archive,
String tag) |
int |
size() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public MultiOperationRecord()
public MultiOperationRecord(Iterable<Op> ops) throws IllegalArgumentException
IllegalArgumentException
public void add(Op op) throws IllegalArgumentException
IllegalArgumentException
public int size()
public Op.OpKind getOpKind()
public void serialize(OutputArchive archive, String tag) throws IOException
serialize
in interface Record
IOException
public void deserialize(InputArchive archive, String tag) throws IOException
deserialize
in interface Record
IOException
Copyright © 2008–2023 The Apache Software Foundation. All rights reserved.