@Override
  public Set<PlayerLastLocation> findByPlayerName(String playerName) {
    Set<PlayerLastLocation> set = new HashSet<PlayerLastLocation>();

    Set<PlayerLastLocation> playerLastLocations = findAll();
    if (playerLastLocations != null && playerLastLocations.size() > 0) {
      for (PlayerLastLocation pll : playerLastLocations) {
        if (playerName.equals(pll.getPlayerName())) {
          set.add(pll);
        }
      }
    }

    return set;
  }
  @Override
  public PlayerLastLocation findByWorldAndPlayerName(String world, String playerName) {
    PlayerLastLocation playerLastLocation = null;

    Set<PlayerLastLocation> playerLastLocations = findAll();
    if (playerLastLocations != null && playerLastLocations.size() > 0) {
      for (PlayerLastLocation pll : playerLastLocations) {
        if (world.equals(pll.getWorld()) && playerName.equals(pll.getPlayerName())) {
          playerLastLocation = pll;
          break;
        }
      }
    }

    return playerLastLocation;
  }
  @Override
  public PlayerLastLocation findById(int id) {
    PlayerLastLocation playerLastLocation = null;

    Set<PlayerLastLocation> playerLastLocations = findAll();
    if (playerLastLocations != null && playerLastLocations.size() > 0) {
      for (PlayerLastLocation pll : playerLastLocations) {
        if (id == pll.getId()) {
          playerLastLocation = pll;
          break;
        }
      }
    }

    return playerLastLocation;
  }