Liking cljdoc? Tell your friends :D

hara.object.element.modifier


field-flagsclj


flagsclj


int-to-modifiersclj

(int-to-modifiers int)
(int-to-modifiers int method)

converts the modifier integer into human readable represenation

(int-to-modifiers 2r001100) => #{:protected :static}

(int-to-modifiers 128 :field) => #{:transient}

(int-to-modifiers 128 :method) => #{:varargs}

converts the modifier integer into human readable represenation

(int-to-modifiers 2r001100)
=> #{:protected :static}

(int-to-modifiers 128 :field)
=> #{:transient}

(int-to-modifiers 128 :method)
=> #{:varargs}
raw docstring

method-flagsclj


modifiers-to-intclj

(modifiers-to-int modifiers)

converts the human readable represenation of modifiers into an int

(modifiers-to-int #{:protected :static}) => 12

(modifiers-to-int #{:transient :field}) => 128

converts the human readable represenation of modifiers into an int

(modifiers-to-int #{:protected :static})
=> 12

(modifiers-to-int #{:transient :field})
=> 128
raw docstring

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

× close