package org.stianloader.mrjmania; import org.jetbrains.annotations.NotNull; /** * Polyfills around the {@link Character} and related classes. */ public class MRJCharacter { private MRJCharacter() { throw new UnsupportedOperationException(); } /** * Convert a unicode codepoint to a {@link String}. * * @param codepoint The unicode codepoint to convert * @return The codepoint represented as a {@link String}. */ @NotNull public static String toString(int codepoint) { return new String(new int[] {codepoint}, 0, 1); } }