This file contains hidden or 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
public class Guiter implements BaseColumns { | |
public static final String GUITER_TABLE_NAME = "book"; | |
public static final String COLUMN_NAME_GUITER_NAME = "guiter_name"; | |
public static final String COLUMN_NAME_GUITER_MADE = "guiter_made"; | |
public static final String COLUMN_NAME_GUITER_PRICE = "guiter_price"; | |
private String mGuiterName; | |
private String mGuiterMade; | |
private int mGuiterPrice; |
This file contains hidden or 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
public class GuiterOpenHelper extends SQLiteOpenHelper { | |
// データーベースのバージョン | |
// データベーススキーマを変える場合は、バージョンを上げること | |
private static final int DATABASE_VERSION = 1; | |
public static final String DATABASE_NAME = "Sample.db"; | |
private static final String BOOK_TABLE_CREATE = | |
"CREATE TABLE " + Book.BOOK_TABLE_NAME + " (" + |
This file contains hidden or 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
<?php | |
/** | |
* テキストマッチングのクラス | |
* | |
* @author kiban | |
* | |
* | |
*/ | |
class pjTextmatching |
This file contains hidden or 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
<?php | |
/** | |
* 幾何学計算の汎用クラス | |
* | |
* @author kiban | |
*/ | |
class pjGeometry | |
{ | |
/** | |
* 質問のユーザ選択領域を訓練画像上の点へのアフィン変換を実施する |
This file contains hidden or 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
<?php | |
/** | |
* pjFeature.class.php | |
* | |
* 分類に使用する特徴を作成するクラス | |
* | |
* @package goalstart | |
* @subpackage pjFeature | |
* |
This file contains hidden or 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
<?php | |
/** | |
* pjAdaBoost.class.php | |
* | |
* AdaBoost分類をするクラス | |
* | |
* @package goalstart | |
* @subpackage pjAdaBoost | |
* |
This file contains hidden or 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
@Path("/communication") | |
public class HelloSCRYServer { | |
@GET | |
@Produces(MediaType.TEXT_PLAIN) | |
public String sayHello() { | |
String result = null; | |
LocalTransaction tx = AppConfig.getLocalTransaction(); | |
try { |
This file contains hidden or 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
<web-app xmlns="http://java.sun.com/xml/ns/javaee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | |
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" | |
version="3.0" | |
metadata-complete="true"> | |
<servlet> | |
<servlet-name>SC Recognize Your Issue Service</servlet-name> | |
<servlet-class> |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="doma-gen-example" default="gen" basedir="."> | |
<property name="javaDestDir" value="WEB-INF/src"/> POJO出力ディレクトリトップ。 | |
<property name="sqlDestDir" value="WEB-INF/src"/> SQL出力ディレクトリトップ。 | |
<property name="dialectName" value="mysql"/> 方言名。ここではMySQL用です。 | |
<property name="driverClassName" value="com.mysql.jdbc.Driver"/> MySQL用ドライバークラス名。 | |
<property name="url" value="jdbc:mysql://localhost:3306/sc_ryi"/> DB接続URL | |
<property name="user" value="****"/> DB接続用アカウント。 | |
<property name="password" value="******"/> DB接続用パスワード。 |
This file contains hidden or 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
<project name="doma-tutorial" default="jar" basedir="."> | |
<property name="dest" value="src/target/build"/> | |
<property name="apt_generated" value="src/target/apt_generated"/> | |
<property name="src" value="src"/> | |
<property name="resources" value="src"/> | |
<path id="classpath"> | |
<fileset dir="libs" includes="*.jar"/> | |
</path> |
NewerOlder