Class MatchingUtils
- java.lang.Object
-
- com.smartfoxserver.v2.entities.match.MatchingUtils
-
public class MatchingUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MatchingUtils
getInstance()
boolean
matchRoom(Room room, MatchExpression conditions)
java.util.List<Room>
matchRooms(java.util.Collection<Room> roomList, MatchExpression conditions)
java.util.List<Room>
matchRooms(java.util.Collection<Room> roomList, MatchExpression conditions, int limit)
boolean
matchUser(User user, MatchExpression conditions)
java.util.List<User>
matchUsers(java.util.Collection<User> userList, MatchExpression conditions)
java.util.List<User>
matchUsers(java.util.Collection<User> userList, MatchExpression conditions, int limit)
-
-
-
Method Detail
-
getInstance
public static MatchingUtils getInstance()
-
matchUser
public boolean matchUser(User user, MatchExpression conditions)
-
matchRoom
public boolean matchRoom(Room room, MatchExpression conditions)
-
matchUsers
public java.util.List<User> matchUsers(java.util.Collection<User> userList, MatchExpression conditions)
-
matchUsers
public java.util.List<User> matchUsers(java.util.Collection<User> userList, MatchExpression conditions, int limit)
-
matchRooms
public java.util.List<Room> matchRooms(java.util.Collection<Room> roomList, MatchExpression conditions)
-
matchRooms
public java.util.List<Room> matchRooms(java.util.Collection<Room> roomList, MatchExpression conditions, int limit)
-
-