We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa56c51 commit 5244107Copy full SHA for 5244107
api/src/main/java/com/github/siroshun09/configapi/api/MappedConfiguration.java
@@ -68,6 +68,14 @@ public class MappedConfiguration extends AbstractConfiguration {
68
return new MappedConfiguration(new LinkedHashMap<>(map));
69
}
70
71
+ /**
72
+ * Converts the {@link Configuration} to the {@link Map}.
73
+ * <p>
74
+ * <b>This method is intended for internal use.</b>
75
+ *
76
+ * @param config the {@link Configuration} to convert
77
+ * @return the result {@link Map} of converting
78
+ */
79
@ApiStatus.Internal
80
public static @NotNull Map<Object, Object> convertToMap(@NotNull Configuration config) {
81
if (config instanceof MappedConfiguration) {
0 commit comments