Class ChannelRegistry

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

public class ChannelRegistry extends com.stardevllc.starlib.objects.registry.Registry<String,ChatChannel>
  • 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,ChatChannel>
    register(String key, ChatChannel 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

    • ChannelRegistry

      public ChannelRegistry(StarChat starChat)
  • Method Details

    • register

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

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