public class TestUnboxing { public static void main(String[] args){ Integer i=10; int ig=i.intValue(); switch (i.compareTo(ig)){ case 1: System.out.println(“i>ig”); break; case 0: System.out.println(“i=ig”); break; case (-1): System.out.println(“i break; } }
setlocal ENABLEDELAYEDEXPANSION fbinst (ud) filesize "PETOOLS/*" set /a size=%errorlevel%*105/100 for %%i in (Z W V U T R Q P) do if not exist %%i:\nul ( set udtooldrv=%%i: ) mdisk -a -s %size%K -m
tooldrv% -p "/FS:FAT /Y /Q" fbinst (ud) output "PETOOLS/*"
tooldrv%/
program ansi2utf8;
{$R *.res}
var fi,fo:textfile; // s:string; begin if ParamCount<>2 then begin {$APPTYPE CONSOLE} writeln('用法:参数(绝对路径)'); writeln('<输入ansi格式文件> <输出utf8格式文件>'); readln; {$APPTYPE CONSOLE} exit; end;