/*
- * Copyright (c) 2017. Developed by Hedgecode.
+ * Copyright (c) 2017-2020. Developed by Hedgecode.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
package org.hedgecode.snooker.json;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
*
* @author Dmitry Samoshin aka gotty
*/
-public class JsonPlayers extends JsonCollectionEntity<Player> implements Players {
+public class JsonPlayers extends JsonCollectionEntity<Player> implements Players, Serializable {
+
+ private static final long serialVersionUID = 7472642207778686468L;
private static final JsonPlayers EMPTY = new JsonPlayers(new Player[0]);
- protected JsonPlayers(Player[] entities) {
+ JsonPlayers(Player[] entities) {
super(entities);
}
- protected JsonPlayers(List<Player> entities) {
+ JsonPlayers(List<Player> entities) {
super(entities);
}