public class UserList<K,V extends UserListEntry<K>>
extends java.lang.Object
| 修飾子とタイプ | フィールドと説明 | 
|---|---|
| protected com.google.gson.Gson | gson | 
| protected static org.apache.logging.log4j.Logger | LOGGER | 
| コンストラクタと説明 | 
|---|
| UserList(java.io.File saveFile) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | addEntry(V entry)Adds an entry to the list | 
| protected UserListEntry<K> | createEntry(com.google.gson.JsonObject entryData) | 
| java.util.Collection<V> | getEntries() | 
| V | getEntry(K obj) | 
| java.lang.String[] | getKeys() | 
| protected java.lang.String | getObjectKey(K obj)Gets the key value for the given object | 
| java.io.File | getSaveFile() | 
| protected boolean | hasEntry(K entry) | 
| boolean | isEmpty() | 
| boolean | isLanServer() | 
| void | readSavedFile() | 
| void | removeEntry(K entry) | 
| void | removeEntry(UserListEntry<K> p_199042_1_) | 
| void | setLanServer(boolean state) | 
| void | writeChanges() | 
protected static final org.apache.logging.log4j.Logger LOGGER
protected final com.google.gson.Gson gson
public boolean isLanServer()
public void setLanServer(boolean state)
public java.io.File getSaveFile()
public void addEntry(V entry)
public void removeEntry(K entry)
public void removeEntry(UserListEntry<K> p_199042_1_)
public java.lang.String[] getKeys()
public boolean isEmpty()
protected java.lang.String getObjectKey(K obj)
protected boolean hasEntry(K entry)
protected UserListEntry<K> createEntry(com.google.gson.JsonObject entryData)
public java.util.Collection<V> getEntries()
public void writeChanges()
                  throws java.io.IOException
java.io.IOExceptionpublic void readSavedFile()
                   throws java.io.FileNotFoundException
java.io.FileNotFoundException