Enum Class NoStrImpl
- All Implemented Interfaces:
Serializable, Comparable<NoStrImpl>, Constable, NoStrImplPossibility, NoStrImplQFlag
Nostr impl ideas.
- Version:
- ©Δ∞ 仙上主天
- Author:
- للَّٰهِilLצسُو
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated. -
Field Summary
Fields inherited from interface NoStrImplQFlag
CUSTOM_INDICATOR -
Method Summary
Modifier and TypeMethodDescriptionintgetQFlag()static NoStrImplReturns the enum constant of this class with the specified name.static NoStrImplvalueOfNIP(int nip) static booleanvalueOfNIPValid(int nip) static NoStrImpl[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NIP_0_UNKNOWN
-
NIP_1_BASE_PROTOCOL
-
NIP_2_CONTACTS
-
NIP_3_OPEN_TIMESTAMPS
-
NIP_4_CRYTE_DIRECT_MSG
-
NIP_5_NOSTR_TO_DNS
-
NIP_6_KEY_FROM_MNEMONIC_SEED
-
NIP_7_BROWSER_WINDOW_NOSTR
-
NIP_9_EVENT_DELETION
-
NIP_10_CORRECT_BASE_TAGS
-
NIP_11_RELAY_INFO_DOC
-
NIP_12_GENERIC_TAG_QUERY
-
NIP_13_PROOF_OF_WORK
-
NIP_14_TEXT_SUBJECT
-
NIP_15_MARKETPLACE
-
NIP_16_EVENT_TREATMENT
-
NIP_18_REPOSTS
-
NIP_19_BECH32_ENCODED
-
NIP_20_COMMAND_RESULT
-
NIP_21_NOSTR_URL_SCHEMA
-
NIP_22_EVENT_AT_LIMITS
-
NIP_23_LONG_FORM_CONTENT
-
NIP_25_REACTIONS
-
NIP_26_DELEGATED_EVENT_SIGN
-
NIP_27_TEXT_NOTE_REFERENCE
-
NIP_28_PUBLIC_CHAT
-
NIP_30_CUSTOM_EMOJI
-
NIP_31_ALT_FOR_UNKNOWN
-
NIP_33_PARA_REPLACEABLE_EVENTS
-
NIP_36_SENSITIVE_CONTENT
-
NIP_39_EXT_INDENTITIES_IN_PROFILE
-
NIP_40_EXPIRATION_TIMESTAMP
-
NIP_42_AUTH_RELAY
-
NIP_45_COUNTING_RESULTS
-
NIP_46_NOSTR_CONNECT
-
NIP_47_WALLET_CONNECT
-
NIP_50_KEYWORD_FILTER
-
NIP_51_LISTS
-
NIP_56_REPORTING
-
NIP_57_LIGHTING_ZAPS
-
NIP_58_BADGES
-
NIP_65_RELAY_LIST_METADATA
-
NIP_78_APP_CUSTOM_DATA
-
NIP_89_RECOMMENDED_APP_HANDLERS
Deprecated. -
NIP_94_FILE_METADATA
-
-
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
-
getNumber
public int getNumber()- Specified by:
getNumberin interfaceNoStrImplPossibility
-
getQFlag
- Specified by:
getQFlagin interfaceNoStrImplQFlag
-
valueOfNIPValid
public static boolean valueOfNIPValid(int nip) -
valueOfNIP
-