Liking cljdoc? Tell your friends :D

hara.object.element.class


-class-convertcljmultimethod

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
raw docstring

class-convertclj

(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 docstring

raw->stringclj

(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 docstring

raw-array->stringclj

(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[]"
raw docstring

string->rawclj

(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"
raw docstring

string-array->rawclj

(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;"
raw docstring

type->rawclj

(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"
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close