public class DefaultISupportTargMax extends DefaultISupportParameter implements ISupportParameter.TargMax
ISupportParameter.TargMax
.ISupportParameter.AwayLen, ISupportParameter.CaseMapping, ISupportParameter.ChanLimit, ISupportParameter.ChanModes, ISupportParameter.ChannelLen, ISupportParameter.ChanTypes, ISupportParameter.ClientTagDeny, ISupportParameter.EList, ISupportParameter.Excepts, ISupportParameter.ExtBan, ISupportParameter.HostLen, ISupportParameter.IntegerParameter, ISupportParameter.InvEx, ISupportParameter.KickLen, ISupportParameter.MaxList, ISupportParameter.MaxTargets, ISupportParameter.Modes, ISupportParameter.Network, ISupportParameter.NickLen, ISupportParameter.OptionalIntegerParameter, ISupportParameter.Prefix, ISupportParameter.SafeList, ISupportParameter.Silence, ISupportParameter.StatusMsg, ISupportParameter.TargMax, ISupportParameter.TopicLen, ISupportParameter.UserLen, ISupportParameter.WhoX
NAME
Constructor and Description |
---|
DefaultISupportTargMax(@NonNull Client client,
@NonNull String name,
@Nullable String value)
Constructs the object.
|
Modifier and Type | Method and Description |
---|---|
@NonNull Set<Pair<String,OptionalInt>> |
getEntries()
Gets the set of max target entries.
|
@NonNull OptionalInt |
getMax(@NonNull String command)
Gets the max, if any, for a given command.
|
getClient, getName, getValue, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getValue
getClient
public @NonNull Set<Pair<String,OptionalInt>> getEntries()
ISupportParameter.TargMax
getEntries
in interface ISupportParameter.TargMax
public @NonNull OptionalInt getMax(@NonNull String command)
ISupportParameter.TargMax
getMax
in interface ISupportParameter.TargMax
command
- commandCopyright © 2013–2021 Kitteh. All rights reserved.