Download static/j2s/java/text/Annotation.js from patonlab/cascade: direct link, hf CLI and curl.
- Browser
- Download file 428 Bytes
-
https://huggingface.co/spaces/patonlab/cascade/resolve/main/static/j2s/java/text/Annotation.js
- Command line
-
hf download hf://spaces/patonlab/cascade/static/j2s/java/text/Annotation.js
-
curl -L -o Annotation.js https://huggingface.co/spaces/patonlab/cascade/resolve/main/static/j2s/java/text/Annotation.js
428 Bytes
| Clazz.declarePackage("java.text"); | |
| c$=Clazz.decorateAsClass(function(){ | |
| this.value=null; | |
| Clazz.instantialize(this,arguments); | |
| },java.text,"Annotation"); | |
| Clazz.makeConstructor(c$, | |
| function(attribute){ | |
| this.value=attribute; | |
| },"~O"); | |
| Clazz.defineMethod(c$,"getValue", | |
| function(){ | |
| return this.value; | |
| }); | |
| Clazz.overrideMethod(c$,"toString", | |
| function(){ | |
| return this.getClass().getName()+"[value="+this.value+']'; | |
| }); | |