java代碼大全英文翻譯 java編程英文

Java文檔英文翻譯

1。leverage的意思為:杠桿作用!2。翻譯為,除了具有(長(zhǎng)期威脅的)缺陷的程序。

站在用戶的角度思考問(wèn)題,與客戶深入溝通,找到海陵網(wǎng)站設(shè)計(jì)與海陵網(wǎng)站推廣的解決方案,憑借多年的經(jīng)驗(yàn),讓設(shè)計(jì)與互聯(lián)網(wǎng)技術(shù)結(jié)合,創(chuàng)造個(gè)性化、用戶體驗(yàn)好的作品,建站類型包括:成都做網(wǎng)站、成都網(wǎng)站制作、企業(yè)官網(wǎng)、英文網(wǎng)站、手機(jī)端網(wǎng)站、網(wǎng)站推廣、國(guó)際域名空間、雅安服務(wù)器托管、企業(yè)郵箱。業(yè)務(wù)覆蓋海陵地區(qū)。

Java 代碼翻譯

package?com.lp.test;

public?class?StringTest?{

public?static?void?main(String[]?args)?{

//?TODO?code?application?logic?here

//打印main方法參數(shù)

if?(args.length??0)?{

for?(int?i?=?0;?i??args.length;?i++)?{

System.out.println(args[i]);

}

}?else?{

System.out.println("No?args.");

}

String?str?=?"12345";

//將str拆分為單個(gè)char輸出

for?(int?i?=?0;?i??str.length();?i++)?{

System.out.print(str.charAt(i)?+?"?");

}

System.out.println("");

//截取str前四位

str?=?str.substring(0,?4);

System.out.println(str);

//將截取后的str與"77777"進(jìn)行拼接

str?=?str.concat("77777");

System.out.println(str);

//輸出7在str中第一次出現(xiàn)的位置

int?index?=?str.indexOf('7');

System.out.println(index);

//獲取7在str中最后一次出現(xiàn)的位置

int?lastIndex?=?str.lastIndexOf('7');

System.out.println(lastIndex);

//將str中的7全部換為6

str?=?str.replace('7',?'6');

System.out.println(str);

//將str中第一次出現(xiàn)的"6666"置換為"5"

str?=?str.replaceAll("6666",?"5");

System.out.println(str);

//初始化一個(gè)包含"12345"的字符串緩沖對(duì)象

StringBuilder?strb?=?new?StringBuilder("12345");

//循環(huán)輸出字符串緩沖對(duì)象的內(nèi)容

for?(int?i?=?0;?i??strb.length();?i++)?{

System.out.print(strb.charAt(i)?+?"?");

}

System.out.println("");

//刪除strb中索引為4的字符

strb.deleteCharAt(4);

System.out.println(strb);

//在刪除字符后的strb中拼接"77777"

strb.append("77777");

System.out.println(strb);

//在索引為4芳容位置上插入"56";

strb.insert(4,?"56");

System.out.println(strb);

//顛倒strb中的字符順序

strb.reverse();

System.out.println(strb);

String?hello?=?"HelloWord";

//將hello字符串轉(zhuǎn)換為全小寫

System.out.println(hello.toLowerCase());

//將hello字符串轉(zhuǎn)換為全大寫

System.out.println(hello.toUpperCase());

}

}

java 英文翻譯

Important: This is not a supported means of building Tomcat; this information is provided without warranty :-).重要:這不是一個(gè)建立Tomcat的支持手段,這方面的資料提供不附帶:-)。 The only supported means of building Tomcat is with the "ant build" described above. Tomcat的建設(shè)支持的唯一途徑是與“蟻建立上述”。 However, some developers like to work on Java code with a Java IDE, and the following steps have been used by some developers.但是,一些開(kāi)發(fā)人員喜歡在Java代碼與一個(gè)Java IDE,和下面的步驟是由一些開(kāi)發(fā)人員使用。

Note that you must complete all the above steps to fetch the repositories and build some JAR files the first time.請(qǐng)注意,您必須完成所有上述步驟獲取的資料庫(kù)和興建一些JAR文件的第一次。 After you have completed the above steps, you can set up a series of Eclipse 4 projects.在完成上述步驟后,您可以設(shè)置一個(gè)Eclipse的一系列4個(gè)項(xiàng)目。 Note that this will not let you build everything under Eclipse; the build process requires use of Ant for the many stages that aren't simple Java compilations.請(qǐng)注意,這不會(huì)讓你在Eclipse中建立的一切,在生成過(guò)程需要使用螞蟻的許多階段,這不是簡(jiǎn)單的Java匯編。 However, it will allow you to view and edit the Java code, get warnings, reformat code, perform refactorings, run Tomcat under the IDE, and so on.但是,它可以讓你查看和編輯Java代碼,得到警告,重新格式化代碼,執(zhí)行重構(gòu),在IDE下運(yùn)行Tomcat的,等等。

You will want to set up your Eclipse project for building Tomcat such that ${tomcatSource} is the Workspace folder.您將要建立的Eclipse項(xiàng)目的建設(shè),這樣Tomcat的$(tomcatSource)是工作區(qū)文件夾。

Use Windows-Preferences and then Java-Build Path-Classpath Variables to add two new Classpath variables:使用Windows -“首選項(xiàng),然后Java的”構(gòu)建路徑“類路徑變量增加兩個(gè)新的類路徑變量:

TOMCAT_LIBS_BASE the base path where the binary dependencies have been downloaded TOMCAT_LIBS_BASE基二元路徑依賴已下載

ANT_HOME the base path of Ant 1.6.2 or later ANT_HOME的螞蟻1.6.2或更高基路徑

Use File-New Project to create a new Java project for each of the binaries repository (eg, /usr/share/java), container, connectors, jasper, servletapi.使用文件“新建項(xiàng)目,以創(chuàng)造一個(gè)二進(jìn)制庫(kù)的每一個(gè)新的Java項(xiàng)目(例如/ usr /共享/爪哇),容器,連接器,碧玉,servletapi。 If you didn't already set up the Eclipse project such that ${tomcat.source} is the Workspace folder, do so now: tell Eclipse the external location using "Import/Export...", General-Existing Project into Workspace.如果您沒(méi)有已成立Eclipse項(xiàng)目,這樣$(tomcat.source)是工作區(qū)文件夾,現(xiàn)在這樣做:告訴Eclipse的外部位置使用“導(dǎo)入/導(dǎo)出...",普通”到工作區(qū)現(xiàn)有項(xiàng)目。

Eclipse .project and .classpath files are provided in each of these directories so Eclipse should find all source trees and jars, and hopefully compile without problems.月食。項(xiàng)目。路徑文件提供了這些目錄之內(nèi),以便Eclipse應(yīng)該找到所有源代碼樹(shù)及瓶子,并希望編譯沒(méi)有問(wèn)題。 Note that these files assume you are using Eclipse with a 5.0 or later JDK; also, the connectors module must be built with a compiler compliance level of 5.0.請(qǐng)注意,這些文件假設(shè)您使用的5.0或更高版本的JDK Eclipse的;此外,連接器模塊必須用5.0編譯器的遵守程度上。

To run Tomcat without a special IDE plug-in, you can simply use Run-Run...若要運(yùn)行沒(méi)有特殊的IDE插件Tomcat的,您可以簡(jiǎn)單地使用運(yùn)行“運(yùn)行... enter "org.apache.catalina.startup.Catalina" as the main class, "start" as program arguments, and "-Dcatalina.home=..."進(jìn)入“為主要類org.apache.catalina.startup.Catalina”,“啟動(dòng)”的程序參數(shù),和“- Dcatalina.home =..." (with the name of your build directory) as VM arguments. (與您的構(gòu)建目錄名稱)VM參數(shù)。

Note also that due to the way the Tomcat source is assembled from several SVN projects, you may not be able to use the Eclipse SVN client to update (nor to commit, if you are a committer).另請(qǐng)注意,由于Tomcat的來(lái)源是從幾個(gè)SVN項(xiàng)目的組裝方式,您可能無(wú)法使用Eclipse SVN客戶端更新(或承諾,如果您是提交者)。 Use the external SVN client of your choice, then use the Eclipse PackageExplorer or Navigator "Refresh" context menu item to tell Eclipse that you've updated the files.使用您所選擇的外部SVN客戶端,然后使用Eclipse PackageExplorer或?qū)Ш狡鳌八⑿隆鄙舷挛牟藛雾?xiàng)來(lái)告訴Eclipse您已更新的文件。

網(wǎng)頁(yè)題目:java代碼大全英文翻譯 java編程英文
URL地址:http://muchs.cn/article12/dohcddc.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供全網(wǎng)營(yíng)銷推廣、營(yíng)銷型網(wǎng)站建設(shè)品牌網(wǎng)站建設(shè)、網(wǎng)站設(shè)計(jì)公司、商城網(wǎng)站品牌網(wǎng)站設(shè)計(jì)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

成都app開(kāi)發(fā)公司