static class GossipManager.Gossips
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private it.unimi.dsi.fastutil.objects.Object2IntMap<GossipType> |
gossipTypeMap |
Modifier | Constructor and Description |
---|---|
private |
Gossips() |
Modifier and Type | Method and Description |
---|---|
void |
decay() |
boolean |
isGossipTypeMapEmpty() |
void |
putGossipType(GossipType p_223531_1_) |
void |
removeGossipType(GossipType p_223528_1_) |
java.util.stream.Stream<GossipManager.GossipEntry> |
unpack(java.util.UUID p_220895_1_) |
int |
weightedValue(java.util.function.Predicate<GossipType> p_220896_1_) |
private final it.unimi.dsi.fastutil.objects.Object2IntMap<GossipType> gossipTypeMap
public int weightedValue(java.util.function.Predicate<GossipType> p_220896_1_)
public java.util.stream.Stream<GossipManager.GossipEntry> unpack(java.util.UUID p_220895_1_)
public void decay()
public boolean isGossipTypeMapEmpty()
public void putGossipType(GossipType p_223531_1_)
public void removeGossipType(GossipType p_223528_1_)