Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Google Map ±àÂëÕÛÏßËã·¨JavaʵÏÖ

ÍøÂçÉÏÁ÷´«×ÅÒ»¸öGoogle Map ±àÂëÕÛÏßËã·¨µÄJavaʵÏÖ£¬µ«ÊǼÆËã½á¹ûÓëGOOGLE  MAP API °ïÖúÀïÃæµÄ½»»¥¹¤¾ßµÄ¼ÆËã½á¹ûÓгöÈ룬ËùÒÔ×Ô¼ºÐ´ÁËÒ»Ò»¸ö£¬¼ÆËã½á¹ûÓëGOOGLE  MAP API °ïÖúÀïÃæµÄ½»»¥¹¤¾ßµÄ¼ÆËã½á¹ûÒ»Ö¡£package unit;
/**
* Google Map ±àÂëÕÛÏßËã·¨JavaʵÏÖ
*
* @author libin
*/
public class GPolyline2 {
/**
* ´¦ÀíÓзûºÅÕûÊý
*
* @param point
* @return
*/
private static String encodeSignedNumber(int point) {
// ¶Ô¶þ½øÖƵÍλ²¹0
int _point_int = point << 1;
// Èç¹ûÔ­À´µÄÊýÊǸºÊýÔòÇó·´£¬È¡Æä²¹Âë
if (point < 0) {
_point_int = ~_point_int;
}
return (encodeNumber(_point_int));
}
/**
* ´¦ÀíÎÞ·ûºÅÕûÊý
*
* @param num
* @return
*/
private static String encodeNumber(int num) {
String resultString = "";
while (num >= 0x20) {
int _block = num & 0x1F;
_block = (_block | 0x20) + 63;
char _result = (char) _block;
resultString += _result;
num >>= 5;
}
resultString += (char) (num + 63);
return resultString;
}
/**
* ¼ÆËã±àÂ뼶±ð
*
* @param line
* @return
*/
public static String encodeLevel(String line) {
int level = 3;// ÉèÖñàÂ뼶±ð
String encodeLel = encodeNumber(level);// ¼ÆËã³ö±àÂ뼶±ð£¬ÒòΪԤÏȹ̶¨£¬¿¼ÂÇЧÂÊÎÊÌ⣬ֻ¼ÆËãÒ»´Î
StringBuffer result = new StringBuffer();
int length = line.split(";").length;// µÃµ½µã¸öÊý
for (int i = 0; i < length; i++) {
result.append(encodeLel);
}
// System.out.println("2level: " + result.toString());
return result.toString();
}
/**
* ¼ÆËã±àÂëÕÛÏß
*
* @param line
* @return
*/
public static String createEncodings(String line) {
String[] _points = null;
String _result = "";
int plat = 0;
int plng = 0;
_points = line.split(";");// ÿ¸ö¾­Î³¶È×ø±êÖµÒÔ";"·Ö¸ô
for (String _point : _points) {
String[] _latlng = _point.split(",");// ¾­Î³¶ÈÖµÖ®¼äÒÔ","·Ö¸ô


Ïà¹ØÎĵµ£º

sql 2005 ´æ´¢¹ý³Ì·ÖÒ³ java ´úÂë

 create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',         
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ ......

JavaÁ¬½ÓSQL Server 2000

Êý¾Ý¿â²Ù×÷ÏÖÔÚÊÇÏîÄ¿¿ª·¢µÄ¸ù±¾£¬Ñ§Ï°JavaÊ×ÏÈÓ¦¸Ãѧ»áÔõôÑùÁ¬½ÓÊý¾Ý¿â£¬ÓÃJavaÁ¬½ÓÊý¾Ý¿â¿É²»ÏñÓÃDelphiÕâÀ๤¾ßÄÇÑùÉ輸¸öÊôÐÔ¾ÍOK£¬Ëµ¼òµ¥Ò²¼òµ¥£¬Ëµ¸´ÔÓ£¬ÆäʵҲͦ¸´Ôӵģ¬¶øÇÒºÜÂé·³£¬Èç¹ûÊdzõѧ£¬¸ù±¾²»Äܱ£Ö¤µÚÒ»´Î¾ÍÁ¬½Ó³É¹¦£¬ÏÂÃæÒÔSQL Server 2000ΪÀý£¬ËµËµJavaÁ¬½ÓÊý¾Ý¿âµÄ»ù±¾·½·¨£¬Ò²¼Ç¼һÏÂÐĵá£
1¡¢Ï ......

javaµ¼Èëµ¼³öexcel²Ù×÷(jxl)


±¾ÎÄת×Ôhttp://kingsui.javaeye.com/blog/154712
javaµ¼Èëµ¼³öexcel²Ù×÷(jxl)
Java½âÊÍExcelÊý¾Ý£¨jxl.jar°üµÄʹÓã©
¹Ø¼ü×Ö: java excel jxl.jar
jxl.jar °ü
ÏÂÔصØÖ·:
http://www.andykhan.com/jexcelapi/
ÕæʵÏÂÔصØÖ·:
http://www.andykhan.com/jexcelapi/download.html
ÍøÕ¾É϶ÔËüµÄÌØÕ÷ÓÐÈçÏÂÃèÊö£ ......

JavaÓë.NETµÄ¿ª·¢³É±¾¶Ô±È¼°Ïà¹ØÎÊÌâ

1¡¢Java SE 7ÔâÓö.NET CLR»á·¢Éúʲô£¿
´ÓJava SE 7µÄ¹¦ÄÜÁбíÖпÉÒÔ¿´³ö£¬ËüÏà±ÈÒÔÇ°°æ±¾ÓÐÁ˳¤×ãÌá¸ß¡£ÄÇô£¬ËüÊÇÒ»¸öÓÎÏ·¸Ä±äÕßÂð£¿ÎÒÈÏΪ²»»áÊÇÕâÑù¡£ÔÚ¹ýÈ¥ÊýÄêÖУ¬JVMºÍ.NET CLR¶¼·¢ÉúÁËÖÚ¶à¸Ä½ø£»¹ýÈ¥ÄÇЩֻÓм¼Êõ·Ç³£¸ß³¬µÄ³ÌÐòÔ±²ÅÄÜÍê³ÉµÄÐí¶àÊÂÇ飬ÏÖÔÚ½èÖúÓÚJVMºÍ.NET CLRµÄÔöÇ¿¹¦ÄÜ£¬ÆÕͨ³ÌÐòÔ±Ò²Äܹ»×öµÃµ½¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ