Class RoomRegistry

java.lang.Object
com.stardevllc.starlib.objects.registry.Registry<String,ChatRoom>
com.stardevllc.starchat.registry.RoomRegistry
All Implemented Interfaces:
Iterable<com.stardevllc.starlib.objects.registry.RegistryObject<String,ChatRoom>>, Collection<com.stardevllc.starlib.objects.registry.RegistryObject<String,ChatRoom>>, Set<com.stardevllc.starlib.objects.registry.RegistryObject<String,ChatRoom>>

public class RoomRegistry extends com.stardevllc.starlib.objects.registry.Registry<String,ChatRoom>
  • 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
    com.stardevllc.starlib.objects.registry.RegistryObject<String,ChatRoom>
    register(String key, ChatRoom object)
     
    boolean
     

    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, registerAll, registerAll, registerAll, remove, removeAll, retainAll, size, toArray, toArray, unfreeze, 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

    • RoomRegistry

      public RoomRegistry(StarChat starChat)
  • Method Details

    • register

      public com.stardevllc.starlib.objects.registry.RegistryObject<String,ChatRoom> register(String key, ChatRoom object)
      Overrides:
      register in class com.stardevllc.starlib.objects.registry.Registry<String,ChatRoom>
    • unregister

      public boolean unregister(String key)
      Overrides:
      unregister in class com.stardevllc.starlib.objects.registry.Registry<String,ChatRoom>