Class FocusRegistry

java.lang.Object
com.stardevllc.starlib.objects.registry.Registry<UUID,ChatSpace>
com.stardevllc.starchat.registry.FocusRegistry
All Implemented Interfaces:
Iterable<com.stardevllc.starlib.objects.registry.RegistryObject<UUID,ChatSpace>>, Collection<com.stardevllc.starlib.objects.registry.RegistryObject<UUID,ChatSpace>>, Set<com.stardevllc.starlib.objects.registry.RegistryObject<UUID,ChatSpace>>

public class FocusRegistry extends com.stardevllc.starlib.objects.registry.Registry<UUID,ChatSpace>
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.stardevllc.starlib.objects.registry.Registry

    com.stardevllc.starlib.objects.registry.Registry.CopyOption
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getPlayerFocus(org.bukkit.entity.Player player)
     
    getPlayerFocus(org.bukkit.entity.Player player, ChatSpace defaultSpace)
     
    void
    setPlayerFocus(UUID uuid, ChatSpace chatSpace)
     

    Methods inherited from class com.stardevllc.starlib.objects.registry.Registry

    add, addAll, addListener, asMap, clear, computeIfAbsent, computeIfAbsent, computeObjectIfAbsent, contains, containsAll, containsKey, containsValue, fireChangeListeners, freeze, get, getKeyGenerator, getKeyNormalizer, getKeyRetriever, getKeySetter, getObject, getObjectOrDefault, getOrDefault, isEmpty, isFrozen, iterator, keySet, register, register, register, registerAll, registerAll, registerAll, remove, removeAll, retainAll, size, toArray, toArray, unfreeze, unregister, unregister, values

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Collection

    parallelStream, removeIf, stream, toArray

    Methods inherited from interface java.lang.Iterable

    forEach

    Methods inherited from interface java.util.Set

    equals, hashCode, spliterator
  • Constructor Details

    • FocusRegistry

      public FocusRegistry()
  • Method Details

    • setPlayerFocus

      public void setPlayerFocus(UUID uuid, ChatSpace chatSpace)
    • getPlayerFocus

      public ChatSpace getPlayerFocus(org.bukkit.entity.Player player)
    • getPlayerFocus

      public ChatSpace getPlayerFocus(org.bukkit.entity.Player player, ChatSpace defaultSpace)