public class UserChannelMapSnapshot extends UserChannelMap<UserSnapshot,ChannelSnapshot>
Constructor and Description |
---|
UserChannelMapSnapshot(com.google.common.collect.Multimap<UserSnapshot,ChannelSnapshot> userToChannelSnapshot,
com.google.common.collect.Multimap<ChannelSnapshot,UserSnapshot> channelToUserSnapshot) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
removeChannel(ChannelSnapshot channel) |
void |
removeUser(UserSnapshot user) |
void |
removeUserFromChannel(UserSnapshot user,
ChannelSnapshot channel) |
addUserToChannel, containsEntry, containsUser, createSnapshot, getChannels, getUsers
public UserChannelMapSnapshot(com.google.common.collect.Multimap<UserSnapshot,ChannelSnapshot> userToChannelSnapshot, com.google.common.collect.Multimap<ChannelSnapshot,UserSnapshot> channelToUserSnapshot)
public void removeUserFromChannel(UserSnapshot user, ChannelSnapshot channel)
removeUserFromChannel
in class UserChannelMap<UserSnapshot,ChannelSnapshot>
public void removeUser(UserSnapshot user)
removeUser
in class UserChannelMap<UserSnapshot,ChannelSnapshot>
public void removeChannel(ChannelSnapshot channel)
removeChannel
in class UserChannelMap<UserSnapshot,ChannelSnapshot>
public void clear()
clear
in class UserChannelMap<UserSnapshot,ChannelSnapshot>
Copyright © 2010–2020 Leon Blakey. All rights reserved.