public class MessageId extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
MessageId(Map<Long,Long> anchorsToIds) |
| Modifier and Type | Method and Description |
|---|---|
static MessageId |
deserialize(com.esotericsoftware.kryo.io.Input in) |
boolean |
equals(Object other) |
static long |
generateId(Random rand) |
Set<Long> |
getAnchors() |
Map<Long,Long> |
getAnchorsToIds() |
int |
hashCode() |
static MessageId |
makeId(Map<Long,Long> anchorsToIds) |
static MessageId |
makeRootId(long id,
long val) |
static MessageId |
makeUnanchored() |
void |
serialize(com.esotericsoftware.kryo.io.Output out) |
String |
toString() |
public static long generateId(Random rand)
public static MessageId makeUnanchored()
public static MessageId makeRootId(long id, long val)
public static MessageId deserialize(com.esotericsoftware.kryo.io.Input in) throws IOException
IOExceptionpublic void serialize(com.esotericsoftware.kryo.io.Output out)
throws IOException
IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.