This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% categoria(nombre, numero). | |
categoria(tecnologia, 2). | |
categoria(historia, 3). | |
categoria(geografia, 4). | |
categoria(matematicas, 5). | |
categoria(ctesis, 6). | |
categoria(otros, 7). | |
categoria(novelas, 8). | |
categoria(musica, 9). | |
categoria(cuentos, 1). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dew.demo.ko4j; | |
import net.java.html.json.*; | |
import java.util.regex.*; | |
import java.util.*; | |
@Model(targetId="", className="ExtractorDeNumeros", properties={ | |
@Property(name="cadena", type=String.class) | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dew.demo.string; | |
import net.java.html.json.Model; | |
import net.java.html.json.ComputedProperty; | |
import net.java.html.json.Property; | |
@Model(className="StringStatistics", properties={ | |
@Property(name="myText", type=String.class) | |
}) | |
class StringDemo { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dew.demo.string; | |
import net.java.html.json.Model; | |
import net.java.html.json.ComputedProperty; | |
import net.java.html.json.Property; | |
@Model (targetId="",className = "StringStatistics", properties = { | |
@Property (name = "miTexto", type=String.class) | |
}) | |
class PrimeDemo { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dew.demo.clickcaptcha; | |
import net.java.html.json.Model; | |
import net.java.html.json.Property; | |
import net.java.html.json.Function; | |
import net.java.html.json.ComputedProperty; | |
@Model(targetId="", className="Captcha", properties={ | |
@Property(name = "clicks", type=int.class), | |
@Property(name = "clicksEfectuados", type=int.class), |