javaÖкº×ÖתƴÒô
´úÂëÈçÏ£º
¡¡¡¡ÒÔÏÂΪÒýÓõÄÄÚÈÝ£º
¡¡¡¡package com.example.pinyin.demo2;
¡¡¡¡import net.sourceforge.pinyin4j.PinyinHelper;
¡¡¡¡import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType;
¡¡¡¡import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat;
¡¡¡¡import net.sourceforge.pinyin4j.format.HanyuPinyinToneType;
¡¡¡¡import net.sourceforge.pinyin4j.format.HanyuPinyinVCharType;
¡¡¡¡import net.sourceforge.pinyin4j.format.exception.BadHanyuPinyinOutputFormatCombination;
¡¡¡¡public class Pinyin {
¡¡¡¡/**
¡¡¡¡* ½«ºº×Öת»»ÎªÈ«Æ´
¡¡¡¡* @param src
¡¡¡¡* @return String
¡¡¡¡*/
¡¡¡¡public static String getPinYin(String src) {
¡¡¡¡ char[] t1 = null;
¡¡¡¡ t1 = src.toCharArray();
¡¡¡¡ // System.out.println(t1.length);
¡¡¡¡ String[] t2 = new String[t1.length];
¡¡¡¡ // System.out.println(t2.length);
¡¡¡¡ // ÉèÖúº×ÖÆ´ÒôÊä³öµÄ¸ñʽ
¡¡¡¡ HanyuPinyinOutputFormat t3 = new HanyuPinyinOutputFormat();
¡¡¡¡ t3.setCaseType(HanyuPinyinCaseType.LOWERCASE);
¡¡¡¡ t3.setToneType(HanyuPinyinToneType.WITHOUT_TONE);
¡¡¡¡ t3.setVCharType(HanyuPinyinVCharType.WITH_V);
¡¡¡¡ String t4 = "";
¡¡¡¡ int t0 = t1.length;
¡¡¡¡ try {
¡¡¡¡ for (int i = 0; i < t0; i++) {
¡¡¡¡ &n
Ïà¹ØÎĵµ£º
Ù¡Ç¿ http://blog.csdn.net/microtong
OakCMSÄÚÈݹÜÀíϵͳ http://www.oakcms.cn http://www.oakcms.net
Ò»Ôª¶þ´Î·½³Ìax2+bx+c=0£¬ÊäÈëa,b,cÈý¸öϵÊý£¬Çó½â·½³Ì£¬½á¹ûÓÐÈýÖÖÇé¿ö£ºÁ½¸öʵÊý¸ù¡¢Ò»¸öʵÊý¸ù¡¢Á½¸ö¸´Êý¸ù¡£
/**
* Equation.java
*/
package cn.edu.uibe.oop;
/**
* ¼ÆËã ......
ΪÁËʵÏÖÁ½¸öÊý×Ö½øÐн»»»£¬ÎÒÃÇͨ³£¿ÉÒÔÀûÓÃλÔËËãÀ´ÊµÏÖ
C++³ÌÐò swap(int a ,int b){a^=b^=a^=b;}
JAVA³ÌÐò swap(int a, int b){ a^=b;b^=a;a^=b; }»òÕß{ b^=(a^=b) ; a^=b;}
Èç¹ûJAVAÓÃC++µÄʵÏÖ·½Ê½Ôò»áµÃµ½ bµÃµ½ÁËaµÄÖµ£¬µ«ÊÇaÏÖÔÚµÄֵȴ² ......
´ó¼ÒºÃ£¬Çë°´ÕÕÏÂͼ¸ñʽÌîдÄãµÄ¼òÀú£¬·¢Ë͵½Óʼþ loveyingjiaping@126.com
¹«Ë¾×ܲ¿ÔÚº¼ÖÝÎ÷ºþ¿Æ¼¼Ô°¸½½ü£¬¸£Àû´ýÓöºÃ£¬ÎåÏÕÒ»½ð£¬
²¹Ìù£º·¹Ìù¡¢½»Í¨·Ñ¡¢Í¨Ñ¶·Ñ¡¢ÄêÖÕ½±¡¢¹ý½Ú·Ñ……
±±¾©·Ö¹«Ë¾¼¼Êõ²¿¾Àí£¨¸±¾Àí£©¸ÚλְÔðºÍÈÎÖ°Ìõ¼þÈçÏ£º
n ¸ÚλְÔð£º
1. & ......
ÏÈ¿´Ò»¶Î´úÂë
public class Hello{
public static void main(String[] args){
int i = 5 , j = 2;
System.out.println(i+j);
......
ÉùÃ÷£º
ÒÔϵÄÀý×Ó²»Ò»¶¨ÕýÈ·£¬Ö»ÊÇΪÁËÑÝʾ´ó¸ÅµÄÁ÷³Ì¡£
Ò»£ºÎÞ·µ»ØÖµµÄ´æ´¢¹ý³Ì
´æ´¢¹ý³ÌΪ£º
CREATE OR REPLACE PROCEDURE TESTA(PARA1 IN VARCHAR2,PARA2 IN VARCHAR2) AS
BEGIN
INSERT INTO HYQ.B_ID (I_ID,I_NAME) VALUES (PARA1, PARA2);
END TESTA;
È»ºóÄØ£¬ÔÚjavaÀïµ÷ÓÃʱ¾ÍÓÃÏÂÃæµÄ´ ......