Enum Class NoStrImplEventKindRange
java.lang.Object
java.lang.Enum<NoStrImplEventKindRange>
love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventKindRange
- All Implemented Interfaces:
Serializable, Comparable<NoStrImplEventKindRange>, Constable, NoStrEventKindRange, NoStrImplQFlag
public enum NoStrImplEventKindRange
extends Enum<NoStrImplEventKindRange>
implements NoStrEventKindRange
Nostr impl event kind range.
- Version:
- ©Δ∞ 仙上主天
- Author:
- للَّٰهِilLצسُو
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface NoStrImplQFlag
CUSTOM_INDICATOR -
Method Summary
Modifier and TypeMethodDescriptionintintgetQFlag()booleanisReplaceable(int number) static NoStrImplEventKindRangeReturns the enum constant of this class with the specified name.static NoStrImplEventKindRangevalueOfKind(int number) static NoStrImplEventKindRange[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
CHAT
-
REGULAR
-
REGULAR_REPL
-
EPHEMERAL
-
PARAM_REPL
-
NOSTROCKET
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getQFlag
- Specified by:
getQFlagin interfaceNoStrImplQFlag
-
getNumberStart
public int getNumberStart()- Specified by:
getNumberStartin interfaceNoStrEventKindRange
-
getNumberstop
public int getNumberstop()- Specified by:
getNumberstopin interfaceNoStrEventKindRange
-
isReplaceable
public boolean isReplaceable(int number) - Specified by:
isReplaceablein interfaceNoStrEventKindRange
-
valueOfKind
-