converts a string to its representation. Implementation function
(-class-convert Class :string) => "java.lang.Class"
(-class-convert "byte" :class) => Byte/TYPE
(-class-convert "byte" :container) => Byte
converts a string to its representation. Implementation function (-class-convert Class :string) => "java.lang.Class" (-class-convert "byte" :class) => Byte/TYPE (-class-convert "byte" :container) => Byte
(class-convert v)
(class-convert v to)
Converts a class to its representation.
(class-convert "byte") => Byte/TYPE
(class-convert 'byte :string) => "byte"
(class-convert (Class/forName "[[B") :string) => "byte[][]"
Converts a class to its representation. (class-convert "byte") => Byte/TYPE (class-convert 'byte :string) => "byte" (class-convert (Class/forName "[[B") :string) => "byte[][]"
(raw->string v)
converts the raw array representation to a human readable form
(raw->string "[[V") => "void[][]" (raw->string "[Ljava.lang.String;") => "java.lang.String[]"
converts the raw array representation to a human readable form (raw->string "[[V") => "void[][]" (raw->string "[Ljava.lang.String;") => "java.lang.String[]"
(raw-array->string v)
converts the raw representation to a more readable form
(raw-array->string "[[B") => "byte[][]" (raw-array->string "[Ljava.lang.Class;") => "java.lang.Class[]"
converts the raw representation to a more readable form (raw-array->string "[[B") => "byte[][]" (raw-array->string "[Ljava.lang.Class;") => "java.lang.Class[]"
(string->raw v)
converts any string to it's raw representation
(string->raw "java.lang.String[]") => "[Ljava.lang.String;"
(string->raw "int[][][]") => "[[[I"
converts any string to it's raw representation (string->raw "java.lang.String[]") => "[Ljava.lang.String;" (string->raw "int[][][]") => "[[[I"
(string-array->raw s)
(string-array->raw s arr)
converts the human readable form to a raw string
(string-array->raw "java.lang.String[]") "[Ljava.lang.String;"
converts the human readable form to a raw string (string-array->raw "java.lang.String[]") "[Ljava.lang.String;"
(type->raw v)
converts to the raw representation
(type->raw Class) => "java.lang.Class" (type->raw 'byte) => "B"
converts to the raw representation (type->raw Class) => "java.lang.Class" (type->raw 'byte) => "B"
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close