char[]

CharArray란? CharArray는 원시 타입 Char으로 이루어진 배열을 나타낸다. /** * ... * On the JVM, non-nullable values of this type are represented as values of the primitive type `char`. */ public class Char private constructor() : Comparable Char 클래스의 주석에 따르면 Kotlin은 non-nullable한 Char을 JVM상에서 Java의 원시 타입인 char과 똑같이 저장한다. 이러한 non-nullable한 Char 값들의 집합을 원시 타입을 유지하면서 배열로 만든 것이 바로 CharArray이다. CharArray는 언뜻 보면 Array과 비..
Dev.Cho
'char[]' 태그의 글 목록