GameBuffer

  • GameBuffer is a data structure that provides access to a list of games.

  • It includes a public get(int position) method to retrieve a specific Game object by its index.

  • GameBuffer inherits methods for data management, iteration, closing, and releasing resources from various interfaces and classes.

public final class GameBuffer extends AbstractDataBuffer<Game>

Data structure providing access to a list of games.

Public Method Summary

Game
get (int position)

Inherited Method Summary

From class com.google.android.gms.common.data.AbstractDataBuffer
final void
close()
abstract Game
get(int arg0)
int
getCount()
boolean
isClosed()
Iterator<Game>
iterator()
void
release()
Iterator<Game>
singleRefIterator()
From class java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()
From interface com.google.android.gms.common.data.DataBuffer
abstract void
close()
abstract Game
get(int arg0)
abstract int
getCount()
abstract boolean
isClosed()
abstract Iterator<Game>
iterator()
void
release()
abstract Iterator<Game>
singleRefIterator()
From interface java.lang.Iterable
void
forEach(Consumer<? super T> arg0)
abstract Iterator<Game>
iterator()
Spliterator<Game>
spliterator()
From interface com.google.android.gms.common.api.Releasable
abstract void
release()
From interface java.io.Closeable
abstract void
close()
From interface java.lang.AutoCloseable
abstract void
close()

Public Methods

public Game get (int position)

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024年10月31日 UTC.