PlayerBuffer

  • PlayerBuffer is a data structure that provides access to a list of players.

  • It extends AbstractDataBuffer, inheriting methods for data handling like closing, getting data by index, counting, checking if closed, iterating, and releasing resources.

  • PlayerBuffer also implements interfaces such as DataBuffer, Iterable, Releasable, Closeable, and AutoCloseable, providing additional functionalities related to data iteration, resource management, and automatic closing.

  • The key public method is get(int position), which allows retrieval of a Player object at a specific index within the buffer.

public class PlayerBuffer extends AbstractDataBuffer<Player>

Data structure providing access to a list of players.

Public Method Summary

Player
get(int position)

Inherited Method Summary

Public Methods

public Player get (int position)