Enum Class Helpers
- All Implemented Interfaces:
Serializable,Comparable<Helpers>,Constable
Created 9/10/20 3:44 PM
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull StringgetHash(byte[] aBytes) getHashForFilename(@NotNull String aFilename) static @Nullable StringgetHashForFilenameJava(@NotNull String aFilename, @NotNull ErrSink aErrSink) static <E> @NotNull List<E>List_of(@NotNull E... e1) static @NotNull antlr.TokenmapCollectionElementsToString(List<T> instructionArguments) static voidprintXML(Object obj, @NotNull TabbedOutputStream tos) static @Nullable IExpressionqualidentToDotExpression2(@NotNull List<IdentExpression> ts) static @Nullable IExpressionqualidentToDotExpression2(@NotNull List<IdentExpression> ts, int i) static @Nullable IExpressionqualidentToDotExpression2(@NotNull Qualident q) static @NotNull Stringremove_single_quotes_from_string(@NotNull String s) static @NotNull StringString_join(@NotNull String separator, @NotNull Iterable<String> stringIterable) static @NotNull IdentExpressionstring_to_ident(String txt) static @NotNull Qualidentstring_to_qualident(@NotNull String x) static HelpersReturns the enum constant of this class with the specified name.static Helpers[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
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
-
getHash
- Throws:
NoSuchAlgorithmException
-
getHashForFilename
-
getHashForFilenameJava
@Nullable public static @Nullable String getHashForFilenameJava(@NotNull @NotNull String aFilename, @NotNull @NotNull ErrSink aErrSink) throws IOException - Throws:
IOException
-
List_of
-
makeToken
-
printXML
-
qualidentToDotExpression2
@Nullable public static @Nullable IExpression qualidentToDotExpression2(@NotNull @NotNull List<IdentExpression> ts) -
qualidentToDotExpression2
@Nullable public static @Nullable IExpression qualidentToDotExpression2(@NotNull @NotNull List<IdentExpression> ts, int i) -
qualidentToDotExpression2
@Nullable public static @Nullable IExpression qualidentToDotExpression2(@NotNull @NotNull Qualident q) -
remove_single_quotes_from_string
-
String_join
-
string_to_qualident
-
string_to_ident
-
mapCollectionElementsToString
-