f00f.net.irc.martyr.modes.channel
Class GenericChannelMask

java.lang.Object
  extended by f00f.net.irc.martyr.modes.GenericMode
      extended by f00f.net.irc.martyr.modes.channel.GenericChannelMode
          extended by f00f.net.irc.martyr.modes.channel.GenericChannelMask
All Implemented Interfaces:
Mode
Direct Known Subclasses:
BanMode, ExceptionMode, InviteMaskMode, KeyMode

public abstract class GenericChannelMask
extends GenericChannelMode

'Masks' and other modes that can have multiple copies in a channel at once should subclass this.


Nested Class Summary
 
Nested classes/interfaces inherited from interface f00f.net.irc.martyr.Mode
Mode.Sign
 
Constructor Summary
GenericChannelMask()
           
 
Method Summary
 boolean onePerChannel()
          Determines if there can be multiple versions of this mode in the channel.
 
Methods inherited from class f00f.net.irc.martyr.modes.channel.GenericChannelMode
recordInChannel
 
Methods inherited from class f00f.net.irc.martyr.modes.GenericMode
equals, getParam, getSign, hashCode, setParam, setSign, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface f00f.net.irc.martyr.Mode
getChar, newInstance, requiresParam
 

Constructor Detail

GenericChannelMask

public GenericChannelMask()
Method Detail

onePerChannel

public boolean onePerChannel()
Description copied from interface: Mode
Determines if there can be multiple versions of this mode in the channel.

Specified by:
onePerChannel in interface Mode
Overrides:
onePerChannel in class GenericChannelMode
Returns:
True or false if only one instance of mode can exist per channel


Copyright © 2000-2007 Ben Damm, Daniel Henninger, et al.