Q&A集

Size: px
Start display at page:

Download "Q&A集"

Transcription

1 MapViewer & ver.2 EWEB-3C-N055

2 PreSerV for Web MapViewer & i

3 psvscreen#get_scale() PreSerV psvtree readexternal psvjavascreen#init Exception DM DM Raster 35 ii

4 psvlayerttrib Raster OutOfMemory psvmdmmapex psvlayer ScreenDraw psvbinaryinfo Ver psvvectormap#search_nearest() psvjavascreen#get_wc_width() WC PreSerV for Web GIF...60 iii

5 1 1 & 1.1 psvlayer#set_obj_range() 1 #shape #layer psvlayer // shape.layer(1,layer); // // DC layer.set_obj_range(1,20,20); 1

6 1 1.2 psvshape#attrib() PreSerV PI #shape // // shape.attrib(psvttrib.visible psvttrib.detective (4<<5)); psvlayer#attrib() #layer // // layer.attrib(1,psvttrib.visible (4<<5)); 2

7 1 1.3 (psvtree) psvtree 3

8 1 1.4 psvimagemanager URL String psvimagesymbol // psvimagemanager imgmng = new psvimagemanager(); // // melco.gif imgmng.addimage("melco.gif","melco"); // psvimagesymbol psvimagesymbol.setmanager(imgmng); // // psvshape any = new psvimagesymbol((object)"melco",(short)0,10,40,80,20,dc,null); 4

9 1 1.5 Java1.3 Java jpg,gif png 5

10 1 1.6 psvshape#set_value psvrgs#setserial() true false 6

11 1 1.7 psvshape#clone() value clone /*-----JVDOC (Cloneable) Cloneable ( ) CloneNotSupportedException */ psvmdmmapex MDM MDM MDM # any //MDM mdm_key if(any.get_values("mdm_key")!= null){ // MDM } any.get_context().get_args().del("mdm_key"); 7

12 1 1.8 Ver.4 Ver.5 PreSerV PreSerV psvfontdata psvtextcontext psvtextcontext#tx_vfont2 psvtextcontext#tx_vfont 8

13 1 1.9 Ver.3 Ver.4 Ver.5 => // shapeobj.get_context().get_tx_attrib().tx_code = psvfontdata.convert(namestr); psvtree PreSerV TX_VFONT EUC String # font = psvfontdata String moji = null; if(shapeobj.get_context().get_tx_attrib().tx_type ==psvtextcontext.tx_vfont){ // EUC SJIS moji = new String(psvFontData.reverse( (byte[])font.get_context().get_tx_attrib().tx_code)); }else{ // psvtextcontext.tx_vfont } // moji = (String)font.get_context().get_tx_attrib().tx_code; 9

14 1 => if(shapeobj.get_context().get_tx_attrib().tx_type ==psvtextcontext.tx_vfont){ // // EUC shapeobj.get_context().get_tx_attrib().tx_code = psvfontdata.convert(namestr); }else{ // psvtextcontext.tx_vfont } // shapeobj.get_context().get_tx_attrib().tx_code = namestr; 10

15 jp.co.melco.preserv.j2 psvjavascreen2d // screen = new psvjavascreen2d(canvas, 0, 0, 1000, 1000); // psvpoint[] ps = new psvpoint[3]; ps[0] = new psvpoint(x-100,y-100); ps[1] = new psvpoint(x+100,y-100); ps[2] = new psvpoint(x-100,y+100); // psvdrawcontext context = new psvdrawcontext(); // context.attrib(psvttrib.visible); // context.paint_attrib(100 << 8 1 << 16); context.set_color(new psvcolor(new Color(0,0,255))); psvpolygondata polygon = new psvpolygondata(ps,context,null); 11

16 PreSerV PreSerV Java2 JDK1.1 Java // psvpoint[] ps = new psvpoint[3]; ps[0] = new psvpoint(x-100,y-100); ps[1] = new psvpoint(x+100,y-100); ps[2] = new psvpoint(x-100,y+100); // psvdrawcontext context = new psvdrawcontext(); // context.attrib(psvttrib.visible); // OFF context.paint_attrib(2); // context.set_color(new psvcolor(new Color(0,0,255,255), new Color(0,0,255,100))); psvpolygondata polygon = new psvpolygondata(ps,context,null); 12

17 psvjavascreen#rectangle() psvscreen#set_offscreen_mode() screen = new psvjavascreen2d(canvas, 0, 0, 100, 100); screen.set_color(new psvcolor(color.red,color.blue)); // screen.set_offscreen_mode(false); // screen.rectangle(1,1,10,10); // screen.set_offscreen_mode(true); 13

18 psvjavascreen#set_color() // screen.set_color(new psvcolor(color.red,color.blue)); // screen.rectangle(1,1,10,10); 14

19 psvjavascreen#set_line_width() // screen.set_line_width(2); // screen.rectangle(1,1,10,10); 15

20 PreSerV psvpolygondata PreSerV 16

21 PreSerV psvpolygondata 17

22 psvscreen#get_scale() psvscreen#get_scale() psvjavascreen#get_view() get_view() (set_range) get_scale() get_scale() get_view() get_scale() XXX XXX int get_view() WC WC 18

23 PreSerV PreSerV ( ) Windows PreSerV "serif" "sansserif" lib font.properties.ja Windows serif= sansserif= 19

24 psvjcanvas java.awt.canvas jp.co.melco.preserv.j2 psvjcomponent psvjcanvas psvjcanvas psvjcomponent psvjcanvas psvjcomponent psvjcanvas Graphics Graphics init psvjcomponent (Frame) 20

25 psvtree readexternal prvtree writeexternal() readexternal() prvtree psvlayerselect psvtree psvtree psvtree //psvtree psvtree tree = new psvtree(); tree.readexternal(new ObjectInputStream(new FileInputStream(" "))); psvregionbounds rg = tree.getbounds(); // psvtree psvselect rs = new psvregionselect(null, rg); psvsearchable psch = new psvsearch(rs, false); if(tree.search(psch)){ Enumeration objs = psch.elements(0) ; while(objs.hasmoreelements()){ // psvshape shape = (psvshape)objs.nextelement() ; /* *_ltable psvlayer */ shape.layer(shape.layer(), _ltable); } } 21

26 LN PRESERV JV java.util.gzipoutputstream psvcompresstransfer 22

27 psvjavascreen#init Exception psvjavascreen init Exception new psvjavascreen(canvas, 0, 0, 100, 100) canvas psvjcanvas null java.lang.nullpointerexception at jp.co.melco.preserv.psvjavascreen.dc_resize(psvjavascreen.java) at jp.co.melco.preserv.psvjavascreen.init(psvjavascreen.java) at jp.co.melco.preserv.psvjavascreen.<init>(psvjavascreen.java) Graphics psvjavascreen Frame psvjcanavas Graphics psvjcanvas Graphics 23

28 view 24

29 PreSerV (jpeg ) PreSerV java.awt.image java.awt.image JPEG JV 25

30 PreSerV

31 DC WC DC (1) (8216) ----scale 8216 WC=( , ),DC=(317,367) WC=( , ),DC=(665,367) DC (2) ( ) ----scale 3286 WC=( , ),DC=(19,426) WC=( , ),DC=(887,423) (3) ( ) ----scale 8216 WC=( , ),DC=(311,316) WC=( , ),DC=(659,315) 27

32 1 28

33 PreSerV PreSerV min <= value < max min=100 max=2501 psvnymap psvlayer 29

34 svimagemanager URL URL URL 30

35 Ver.5 Ver5 Ver5 Ver5 PreSerV psvbinaryinfo Ver5 psvimagesymbol Ver5 psvbinaryinfo psvimagesymbol psvbinaryinfo psvbrectangle (null ) psvbinaryinfo psvbinaryinfo psvshape#get_values( BinaryInfo ) null psvbinaryinfo 31

36 1 psvbdisplaylimit 32

37 DM Ver.5 MapViewer PolyLine PSV DMConvert#set_attrib() 15 // public class DMConvert imprements psvconvert{ } 33

38 DM Ver.5 DM There is data which is not convertible. (Error Data = ) This Shape is not supported yet. (code = 21) (21) (pplines.def) psvmdmmapex psvpplines.load_def_file ( " " ); 34

39 Raster Ver.5 Raster PreSerV ver.4 ver.5 java.lang.noclassdeffounderror: jp/co/melco/preserv/def/psvdefaultrastermap psvdefaultrastermap ver.5 preserv50.jar 35

40 MapDataManager&. a) MdmMap UTO_LOD( int attrib = (psvnymap.mp_visible psvnymap.mp_uto_lod); 2. a) addmap screen screen screen addmap 36

41 1 b) Java psvmdmmapex psvmdmmapex#array Vector psvtree psvtree#get_mesh_no() psvmdmmapex Shape psvregionselect select = new psvregionselect ( null, new psvregion ( -1*Float.MX_VLUE, psvsearch search = new psvsearch (select, false); if (mdm_map.search (search)) { } Enumeration e = search.elements(0); while (e.hasmoreelements()) { } -1*Float.MX_VLUE, Float.MX_VLUE, Float.MX_VLUE)); psvshape shape = (psvshape)e.nextelement(); int mdm_key = mdm_map.get_mdm_key(shape); System.out.println("mdm_key["+mdm_key+ "] / psvshape["+shape+"]"); ( ) (attrib) 37

42 psvlayerttrib Layer attrib =0 ( ) Layer psvlayerttrib Shape Shape psvregionselect select = new psvregionselect ( null, new psvregion ( -1*Float.MX_VLUE, psvsearch search = new psvsearch (select, false); if (mdm_map.search (search)) { } Enumeration e = search.elements(0); while (e.hasmoreelements()) { } -1*Float.MX_VLUE, Float.MX_VLUE, Float.MX_VLUE)); (psvshape)e.nextelement().attrib(""); 38

43 Raster OutOfMemory Ver.5 Raster attrib attrib( psvnymap.mp_visible psvnymap.mp_uto_lod meshnum << 8); attrib "meshnum" 0 39

44 psvmdmmapex psvlayer Ver.4 Ver.5 psvmdmmapex null mdm_map = new psvmdmmapex ( null, (psvnymap.mp_visible -1, , psvnymap.mp_uto_lod), new psvdefaulttransfer(), (psvmapif)op_map.elementt(0), layer, prop, psvmdmmapex.big_scle, keinum) ; System.out.println( layer[ + mdm_map.layer() + ] ]; layer[null] psvmdmmapex mdm_map.layer(layer); 40

45 ScreenDraw jp.co.melco.preserv.j2.psvprinterdraw#screendraw() Java 2DTM PI ScreenDraw() Printable#print() Printable#print() Java Printable#print() Java 2D TM PI Printable Pageable Printable 1 Printable print () 0 print () NO_SUCH_PGE Java 2D TM PI 41

46 psvlayer ON/OFF 42

47 Java java JSDK 1.4.1_03 jp.co.melco.preserv.j2.psvjavascreen2d JDK psvjavascreen screen; screen = new psvjavascreen(canvas, xx, xx, xx, xx); java2 psvjavascreen2d screen; screen = new psvjavascreen2d(canvas, xx, xx, xx, xx); 43

48 screen#set_raster() screen#set_raster(psvscreen.gxcopy, true); screen#set_raster(psvscreen.gxxor, true); screen#set_raster(psvscreen.gxxor, false); Tutorial 6 screen.set_paint_type (0); screen.set_offscreen_mode(false); // screen.set_raster (screen.gxxor,true); //XOR screen.set_color(new psvcolor(color.green)); // if(p2!= null) screen.rectangle(p.x, p.y, p2.x, p2.y); // p2 = screen.dc_to_wc (e.getx(),e.gety()); screen.rectangle(p.x, p.y, p2.x, p2.y); // screen.set_raster (screen.gxcopy,false); //XOR screen.set_offscreen_mode(true); // 44

49 psvjavascreen#rotate() 45

50 psvbinaryinfo Ver5 Ver.5 PreSerV for Web Version5.0 X Y PreSerV for Web Version5.0 PreSerV G-XML X Y psvbinaryinfo Ver5 psvrgs "BinaryInfo" psvbinaryinfo psvbtextstyle,psvbdisplaylimit psvbinaryinfo bi = psvshape#get_values("binaryinfo"); // psvbtextstyle bt = bi.gettextstyle(); // psvbdisplaylimit bd = bi.getdisplaylimit(); psvbinaryinfo Ver5 46

51 1 47

52 psvjavascreen#dc_polygon() psvjavascreen2d screen.set_color(new psvcolor(color.white)) screen.set_paint_type(1 (128 << 8) (1 << 16)) screen.dc_polygon(xs, ys) set_paint_type() context psvshape screen.set_color(new psvcolor(new Color(255,255,255,128))) screen.set_paint_type(1) screen.dc_polygon(xs, ys) 48

53 / / / 3 1/500 1/ /100 1/5000 1/1 1/100 psvlayer#set_range() ===psvlayer#set_range() (JavaDoc )========== public void set_range(int no, int amin, int amax) : no - amin - amax - ========================================================== [ = ] 49

54 1 1/500 1/10000 =1 1/100 1/5000 =2 1/1 1/100 =3 psvlayer layer = new psvlayer(); // layer.set_range(1, 500, 10001) // layer.set_range(2, 100, 5001) // layer.set_range(3, 1, 101) psvlayer JavaDoc 50

55 Javadoc ( psvfontdata ) ( psvfontdata ) psvlayer#set_obj_range()

56

57 psvtree psvtree#set() /** * * <p> *@param x,y *@param visibleflg * <p> *@return */ public synchronized psvshape flexible_search_nearest(psvnymap map, float x, float y, boolean visibleflg) { psvshape lastdata = null ; float lastdist = f ; } Enumeration vtree = map.array.elements() ; while(vtree.hasmoreelements()){ psvtree tree = (psvtree)vtree.nextelement() ; psvregionbounds org_rb = tree.getbounds(); // tree.set((float)integer.min_vlue, (float)integer.min_vlue, (float)integer.mx_vlue, (float)integer.mx_vlue); psvshape tmpdata = tree.search_nearest(x, y, visibleflg) ; // tree.set(org_rb.sx, org_rb.sy, org_rb.ex, org_rb.ey); if(tmpdata.distance(x,y)< lastdist && tmpdata!= null){ lastdata = tmpdata ; lastdist = tmpdata.distance(x,y); } } return lastdata ; 53

58 psvvectormap#search_nearest() psvlayer int[] psvlayer int[] null null psvlayer null null (0,0)-(100,100) (100,0)-(200,100) (80,30)-(150,40) (155,50) (155,50) search_nearest (X,Y)=(90,30) (100,100) (200, 100) (0,0) (10, 0) 54

59 1 distance() PreSerV 55

60 jp.co.melco.preserv.psvlayer java.util.hashtable java.util.hashtable PreSerV java.util.hashtable 89 56

61 jp.co.melco.preserv.psvjavascreen java.util.vector java.util.vector 57

62 psvjavascreen#get_wc_width() WC /* */ psvregionbounds ww = _screen.get_view(); float delta = _screen.get_wc_width(10) ; _screen.view( new psvregionbounds(ww.sx + delta, ww.sy + delta, ww.ex - delta, ww.ey - delta)); /* */ psvregionbounds ww = _screen.get_view(); float delta = _screen.get_wc_width(10) ; _screen.view( new psvregionbounds(ww.sx - delta, ww.sy - delta, ww.ex + delta, ww.ey + delta)); psvjavascreen#get_wc_width() WC psvjavascreen#get_wc_width() DC ( ) WC DC ( ) WC DC WC psvjavascreen#set_scale() /* */ // int scale = _screen.get_scale(); // _screen.set_scale(scale - 20); /* */ // int scale = _screen.get_scale(); // _screen.set_scale(scale + 20); 58

63 2 2 & 2.1 PreSerV for Web PreSerV for Web PreSerV for Web 59

64 2 2.2 GIF PreSerV for Web GIF PreSerV for Web UNISYS GIF Unisys GIF

65 CHNGE REV. ITEM CONTENTS DTE ver ver

Q&A集

Q&A集 & ver.2 EWEB-3C-N080 PreSerV for Web MapDataManager & i 1... 1 1.1... 1 1.2... 2 1.3... 6 1.4 MDM. 7 1.5 ( )... 9 1.6 ( )...12 1.7...14 1.8...15 1.9...16 1.10...17 1.11...18 1.12 19 1.13...20 1.14...21

More information

概要

概要 EWEB-3K-N072 PreSerV for Web i 1... 1 1.1... 1 1.1.1... 1 1.1.2... 1 1.2... 4 1.2.1 PreSerV for Web... 4 2... 5 2.1... 6 2.2... 8 2.3... 9 2.3.1... 9 2.3.2... 9 2.4 Web...11 2.4.1 MapDataManger...11 2.4.2...12

More information

新・明解Java入門

新・明解Java入門 537,... 224,... 224,... 32, 35,... 188, 216, 312 -... 38 -... 38 --... 102 --... 103 -=... 111 -classpath... 379 '... 106, 474!... 57, 97!=... 56 "... 14, 476 %... 38 %=... 111 &... 240, 247 &&... 66,

More information

K227 Java 2

K227 Java 2 1 K227 Java 2 3 4 5 6 Java 7 class Sample1 { public static void main (String args[]) { System.out.println( Java! ); } } 8 > javac Sample1.java 9 10 > java Sample1 Java 11 12 13 http://java.sun.com/j2se/1.5.0/ja/download.html

More information

Java演習(4) -- 変数と型 --

Java演習(4)   -- 変数と型 -- 50 20 20 5 (20, 20) O 50 100 150 200 250 300 350 x (reserved 50 100 y 50 20 20 5 (20, 20) (1)(Blocks1.java) import javax.swing.japplet; import java.awt.graphics; (reserved public class Blocks1 extends

More information

19 3!! (+) (>) (++) (+=) for while 3.1!! (20, 20) (1)(Blocks1.java) import javax.swing.japplet; import java.awt.graphics;

19 3!! (+) (>) (++) (+=) for while 3.1!! (20, 20) (1)(Blocks1.java) import javax.swing.japplet; import java.awt.graphics; 19 3!!...... (+) (>) (++) (+=) for while 3.1!! 3.1.1 50 20 20 5 (20, 20) 3.1.1 (1)(Blocks1.java) public class Blocks1 extends JApplet { public void paint(graphics g){ 5 g.drawrect( 20, 20, 50, 20); g.drawrect(

More information

Java学習教材

Java学習教材 Java 2016/4/17 Java 1 Java1 : 280 : (2010/1/29) ISBN-10: 4798120987 ISBN-13: 978-4798120980 2010/1/29 1 Java 1 Java Java Java class FirstExample { public static void main(string[] args) { System.out.println("

More information

class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value =

class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value = Part2-1-3 Java (*) (*).class Java public static final 1 class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value

More information

class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value =

class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value = Part2-1-3 Java (*) (*).class Java public static final 1 class IntCell { private int value ; int getvalue() {return value; private IntCell next; IntCell next() {return next; IntCell(int value) {this.value

More information

3 Java 3.1 Hello World! Hello World public class HelloWorld { public static void main(string[] args) { System.out.println("Hello World");

3 Java 3.1 Hello World! Hello World public class HelloWorld { public static void main(string[] args) { System.out.println(Hello World); (Basic Theory of Information Processing) Java (eclipse ) Hello World! eclipse Java 1 3 Java 3.1 Hello World! Hello World public class HelloWorld { public static void main(string[] args) { System.out.println("Hello

More information

アルゴリズムとデータ構造1

アルゴリズムとデータ構造1 1 200972 (sakai.keiichi@kochi sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi ://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2009/index.html 29 20 32 14 24 30 48 7 19 21 31 Object public class

More information

Java updated

Java updated Java 2003.07.14 updated 3 1 Java 5 1.1 Java................................. 5 1.2 Java..................................... 5 1.3 Java................................ 6 1.3.1 Java.......................

More information

概要

概要 EWEB-3K-N069 PreSerV For Web Ver5.0 i 1... 1 1.1... 1 1.2... 2 1.2.1 PreSerV For Web Ver.5.0... 2 1.2.2... 2 2... 3 3... 4 3.1... 4 3.2... 4 3.2.1 Java... 4 3.2.2 JAXP... 5 3.2.3 Regexp... 6 3.2.4... 6

More information

G-XML

G-XML G-XML PreSerV for WebG-XML G-XML i 1... 3 1.1 G-XML... 3 1.2... 3 1.3... 4 1.4... 5 2 G-XML... 6 2.1... 6 2.2... 8 2.2.1... 9 2.2.2...13 2.2.3...14 2.2.4...16 2.2.5...16 2.3...17 2.3.2...17 2.3.3...17

More information

: : : TSTank 2

: : : TSTank 2 Java (8) 2008-05-20 Lesson6 Lesson5 Java 1 Lesson 6: TSTank1, TSTank2, TSTank3 java 2 car1 car2 Car car1 = new Car(); Car car2 = new Car(); car1.setcolor(red); car2.setcolor(blue); car2.changeengine(jet);

More information

Java (9) 1 Lesson Java System.out.println() 1 Java API 1 Java Java 1

Java (9) 1 Lesson Java System.out.println() 1 Java API 1 Java Java 1 Java (9) 1 Lesson 7 2008-05-20 Java System.out.println() 1 Java API 1 Java Java 1 GUI 2 Java 3 1.1 5 3 1.0 10.0, 1.0, 0.5 5.0, 3.0, 0.3 4.0, 1.0, 0.6 1 2 4 3, ( 2 3 2 1.2 Java (stream) 4 1 a 5 (End of

More information

Applet java.lang.object java.awt.component java.awt.container java.awt.panel java.applet.applet

Applet java.lang.object java.awt.component java.awt.container java.awt.panel java.applet.applet 13 Java 13.9 Applet 13.10 AppletContext 13.11 Applet java.lang.object java.awt.component java.awt.container java.awt.panel java.applet.applet Applet (1/2) Component GUI etc Container Applet (2/2) Panel

More information

Java Java Java Java Java 4 p * *** ***** *** * Unix p a,b,c,d 100,200,250,500 a*b = a*b+c = a*b+c*d = (a+b)*(c+d) = 225

Java Java Java Java Java 4 p * *** ***** *** * Unix p a,b,c,d 100,200,250,500 a*b = a*b+c = a*b+c*d = (a+b)*(c+d) = 225 Java Java Java Java Java 4 p35 4-2 * *** ***** *** * Unix p36 4-3 a,b,c,d 100,200,250,500 a*b = 20000 a*b+c = 20250 a*b+c*d = 145000 (a+b)*(c+d) = 225000 a+b*c+d = 50600 b/a+d/c = 4 p38 4-4 (1) mul = 1

More information

r6.dvi

r6.dvi I 2005 6 2005.11.18 1 1.1 2 Hello, World public class r5ex2 extends JApplet { Font fn = new Font("Helvetica", Font.BOLD, 24); g2.setfont(fn); for(int i = 0; i < 10; ++i) { g2.setpaint(new Color(100+i*5,

More information

G-XML EWEB-3K-N064

G-XML EWEB-3K-N064 G-XML EWEB-3K-N064 PreSerV for Web G-XML i 1... 1 1.1 G-XML... 1 1.2... 2 1.2.1 PreSerV for Web... 2 1.2.2 G-XML... 2 1.2.3 SVG... 2 2 G-XML... 3 2.1 G-XML... 3 2.2... 4 2.3... 4 3... 6 3.1... 6 3.2...

More information

untitled

untitled Java 1 1 Java 1.1 Java 1.2 Java JavaScript 2 2.1 2.2 2.3 Java VM 3 3.1 3.2 3.3 3.4 4 Java 4.1 Java 4.2 if else 4.3 switch case 4.4 for 4.5 while 4.6 do-while 4.7 break, continue, return 4.8 try-catch-finally

More information

r1.dvi

r1.dvi 2006 1 2006.10.6 ( 2 ( ) 1 2 1.5 3 ( ) Ruby Java Java Java ( Web Web http://lecture.ecc.u-tokyo.ac.jp/~kuno/is06/ / ( / @@@ ( 3 ) @@@ : ( ) @@@ (Q&A) ( ) 1 http://www.sodan.ecc.u-tokyo.ac.jp/cgi-bin/qbbs/view.cgi

More information

ALG ppt

ALG ppt 2012614 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2012/index.html 1 2 2 3 29 20 32 14 24 30 48 7 19 21 31 4 N O(log N) 29 O(N) 20 32 14 24 30 48 7 19 21 31 5

More information

tkk0408nari

tkk0408nari SQLStatement Class Sql Database SQL Structured Query Language( ) ISO JIS http://www.techscore.com/tech/sql/02_02.html Database sql Perl Java SQL ( ) create table tu_data ( id integer not null, -- id aid

More information

Exam : 1z1-809-JPN Title : Java SE 8 Programmer II Vendor : Oracle Version : DEMO Get Latest & Valid 1z1-809-JPN Exam's Question and Answers 1 from Ac

Exam : 1z1-809-JPN Title : Java SE 8 Programmer II Vendor : Oracle Version : DEMO Get Latest & Valid 1z1-809-JPN Exam's Question and Answers 1 from Ac Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : 1z1-809-JPN Title : Java SE 8 Programmer II Vendor : Oracle Version : DEMO Get Latest & Valid 1z1-809-JPN

More information

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV tutimura@mist.i.u-tokyo.ac.jp kaneko@ipl.t.u-tokyo.ac.jp http://www.misojiro.t.u-tokyo.ac.jp/ tutimura/sem3/ 2002 12 11 p.1/33 10/16 1. 10/23 2. 10/30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20

More information

intra-mart Accel Platform — イベントナビゲータ 開発ガイド   初版  

intra-mart Accel Platform — イベントナビゲータ 開発ガイド   初版   Copyright 2013 NTT DATA INTRAMART CORPORATION 1 Top 目次 intra-mart Accel Platform イベントナビゲータ開発ガイド初版 2013-07-01 改訂情報概要イベントフローの作成 更新 削除をハンドリングするイベントフローを非表示にする回答を非表示にするリンクを非表示にするタイトル コメントを動的に変更するリンク情報を動的に変更するナビゲート結果のリンクにステータスを表示する

More information

「Android Studioではじめる 簡単Androidアプリ開発」正誤表

「Android Studioではじめる 簡単Androidアプリ開発」正誤表 Android Studio Android 2016/04/19 Android Studio Android *1 Android Studio Android Studio Android Studio Android Studio Android PDF : Android Studio Android Android Studio Android *2 c R TM *1 Android

More information

Java (5) 1 Lesson 3: x 2 +4x +5 f(x) =x 2 +4x +5 x f(10) x Java , 3.0,..., 10.0, 1.0, 2.0,... flow rate (m**3/s) "flow

Java (5) 1 Lesson 3: x 2 +4x +5 f(x) =x 2 +4x +5 x f(10) x Java , 3.0,..., 10.0, 1.0, 2.0,... flow rate (m**3/s) flow Java (5) 1 Lesson 3: 2008-05-20 2 x 2 +4x +5 f(x) =x 2 +4x +5 x f(10) x Java 1.1 10 10 0 1.0 2.0, 3.0,..., 10.0, 1.0, 2.0,... flow rate (m**3/s) "flowrate.dat" 10 8 6 4 2 0 0 5 10 15 20 25 time (s) 1 1

More information

やさしいJavaプログラミング -Great Ideas for Java Programming サンプルPDF

やさしいJavaプログラミング -Great Ideas for Java Programming サンプルPDF pref : 2004/6/5 (11:8) pref : 2004/6/5 (11:8) pref : 2004/6/5 (11:8) 3 5 14 18 21 23 23 24 28 29 29 31 32 34 35 35 36 38 40 44 44 45 46 49 49 50 pref : 2004/6/5 (11:8) 50 51 52 54 55 56 57 58 59 60 61

More information

画像研修

画像研修 20 7 ... 2 1.1... 2 1.1.1... 2 1.1.2... 2 1.1.3... 3 1.1.4... 3 1.1.5... 3 1.1.6... 3 1.1.7... 3 1.2... 4 1.3... 4 1.3.1... 4... 5 2.1... 5 2.2... 6 2.3Word... 7 2.3.1Word... 7 2.3.2... 8 2.3.3... 8 2.3.4...

More information

try catch Exception Java try catch try { } catch ( Exception e ) { } e 16-1 try catch 0 try { int x = 0; int y = 10 / x; } catch ( Exception e ) { Sys

try catch Exception Java try catch try { } catch ( Exception e ) { } e 16-1 try catch 0 try { int x = 0; int y = 10 / x; } catch ( Exception e ) { Sys try catch Exception Java try catch catch ( Exception e ) { e 16-1 try catch 0 int x = 0; int y = 10 / x; catch ( Exception e ) { System.err.println( " " ); Copyright by Tatsuo Minohara 2004 Rev. C on Dec.

More information

アプレットの作成

アプレットの作成 - 1 - import java.applet.applet; import java.awt.graphics; public class HelloWorld extends Applet { public void init() { resize(150,60) ; public void paint ( Graphics g ) { g.drawstring("hello, world!",

More information

記号と準備

記号と準備 tbasic.org * 1 [2017 6 ] 1 2 1.1................................................ 2 1.2................................................ 2 1.3.............................................. 3 2 5 2.1............................................

More information

2 1 Web Java Android Java 1.2 6) Java Java 7) 6) Java Java (Swing, JavaFX) (JDBC) 7) OS 1.3 Java Java

2 1 Web Java Android Java 1.2 6) Java Java 7) 6) Java Java (Swing, JavaFX) (JDBC) 7) OS 1.3 Java Java 1 Java Java 1.1 Java 1) 2) 3) Java OS Java 1.3 4) Java Web Start Web / 5) Java C C++ Java JSP(Java Server Pages) 1) OS 2) 3) 4) Java Write Once, Run Anywhere 5) Java Web Java 2 1 Web Java Android Java

More information

I. (i) Foo public (A). javac Foo.java java Foo.class (C). javac Foo java Foo (ii)? (B). javac Foo.java java Foo (D). javac Foo java Foo.class (A). Jav

I. (i) Foo public (A). javac Foo.java java Foo.class (C). javac Foo java Foo (ii)? (B). javac Foo.java java Foo (D). javac Foo java Foo.class (A). Jav 2018 06 08 11:00 12:00 I. I III II. III. IV. ( a d) V. VI. 80 40 40 100 60 : A ActionListener aa addactionlistener AE ActionEvent K KeyListener ak addkeylistener KE KeyEvent M MouseListener am addmouselistener

More information

任意の加算プログラム

任意の加算プログラム HP Java CG Java Graphics CG CG CG paint CG CG paint CG paint Windows paint paint 17 // public Frame1() { enableevents(awtevent.window_event_mask); try { jbinit(); catch(exception e) { e.printstacktrace();

More information

intra-mart Accel Platform — イベントナビゲータ 開発ガイド   初版   None

intra-mart Accel Platform — イベントナビゲータ 開発ガイド   初版   None クイック検索検索 目次 Copyright 2013 NTT DATA INTRAMART CORPORATION 1 Top 目次 intra-mart Accel Platform イベントナビゲータ開発ガイド初版 2013-07-01 None 改訂情報概要イベントフローの作成 更新 削除をハンドリングするイベントフローを非表示にする回答を非表示にするリンクを非表示にするタイトル コメントを動的に変更するリンク情報を動的に変更するナビゲート結果のリンクにステータスを表示する

More information

(Java/FX ) Java CD Java version Java VC++ Python Ruby Java Java Eclipse Java Java 3 Java for Everyone 2 10 Java Midi Java JavaFX Shape Canvas C

(Java/FX ) Java CD Java version Java VC++ Python Ruby Java Java Eclipse Java Java 3 Java for Everyone 2 10 Java Midi Java JavaFX Shape Canvas C (Java/FX ) Java CD Java version 10.0.1 Java VC++ Python Ruby Java Java Eclipse Java Java 3 Java for Everyone 2 10 Java Midi Java JavaFX Shape Canvas Canvas Eclipse Eclipse M... 1 javafx e(fx)clipse 3.0.0

More information

Local variable x y i paint public class Sample extends Applet { public void paint( Graphics gc ) { int x, y;... int i=10 ; while ( i < 100 ) {... i +=

Local variable x y i paint public class Sample extends Applet { public void paint( Graphics gc ) { int x, y;... int i=10 ; while ( i < 100 ) {... i += Safari AppletViewer Web HTML Netscape Web Web 13-1 Applet Web Applet init Web paint Web start Web HTML stop destroy update init Web paint start Web update Event Driven paint Signature Overwriting Overriding

More information

< F2D82518E9F8AD CC834F CC8CFC82AB82C68D4C>

< F2D82518E9F8AD CC834F CC8CFC82AB82C68D4C> 2 次関数のグラフの向きと広がり [Java アプレット ] [Java アプリケーション ] 1. はじめに 2 2 y=ax のグラフについて x の係数 aが正のときと負のときでは グラフにどのような違いがあるでしょうか 2 2 y=ax のグラフについて x の係数 aが正のとき 係数 aの値が大きくなるにつれて グラフの広がりはどうなるでしょうか 2 2 y=ax のグラフについて x の係数

More information

ALG ppt

ALG ppt 2012 6 21 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2012/index.html 1 l l O(1) l l l 2 (123 ) l l l l () l H(k) = k mod n (k:, n: ) l l 3 4 public class MyHashtable

More information

KeyListener init addkeylistener addactionlistener addkeylistener addkeylistener( this ); this.addkeylistener( this ); KeyListener public void keytyped

KeyListener init addkeylistener addactionlistener addkeylistener addkeylistener( this ); this.addkeylistener( this ); KeyListener public void keytyped KeyListener keypressed(keyevent e) keyreleased(keyevent e) keytyped(keyevent e) MouseListener mouseclicked(mouseevent e) mousepressed(mouseevent e) mousereleased(mouseevent e) mouseentered(mouseevent e)

More information

2

2 問題 1 次の設問 1~5 に答えよ 設問 1. Java のソースプログラムをコンパイルするコマンドはどれか a) java b) javac c) javadoc d) jdb 設問 2. Java のバイトコード ( コンパイル結果 ) を実行するコマンドはどれか a) java b) javac c) javadoc d) jdb 設問 3. Java のソースプログラムの拡張子はどれか a).c

More information

HTML Java Tips dp8t-asm/java/tips/ Apache Tomcat Java if else f

HTML Java Tips   dp8t-asm/java/tips/ Apache Tomcat Java if else f 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway InterfaceWeb HTML Web Web CGI CGI CGI Perl C Java Applet JavaScript Web CGI HTML 1.2 Servlet Java Servlet Servlet CGI Web CGI 1 Java / Java Java CGI Servlet

More information

Taro-twokansu3.jtd

Taro-twokansu3.jtd //------------------------------------------------ // // 2 次関数のグラフの広がり // y=ax^2 のグラフ // Ver3 // Copyright(C) K.Niwa 2014.08.09 // //------------------------------------------------ NO.33 エミュレータ画面例 [ アプリの概要

More information

解きながら学ぶJava入門編

解きながら学ぶJava入門編 44 // class Negative { System.out.print(""); int n = stdin.nextint(); if (n < 0) System.out.println(""); -10 Ÿ 35 Ÿ 0 n if statement if ( ) if i f ( ) if n < 0 < true false true false boolean literalboolean

More information

明解Javaによるアルゴリズムとデータ構造

明解Javaによるアルゴリズムとデータ構造 21 algorithm List 1-1 a, b, c max Scanner Column 1-1 List 1-1 // import java.util.scanner; class Max3 { public static void main(string[] args) { Scanner stdin = new Scanner(System.in); Chap01/Max3.java

More information

r3.dvi

r3.dvi 00 3 2000.6.10 0 Java ( 7 1 7 1 GSSM 1? 1 1.1 4 4a 4b / / 0 255 HTML X 0 255 16 (0,32,255 #0020FF Java xclock -bg #0020FF xclock ^C (Control C xclock 4c 1 import java.applet.applet; import java.awt.*;

More information

untitled

untitled 2011 6 20 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2011/index.html tech.ac.jp/k1sakai/lecture/alg/2011/index.html html 1 O(1) O(1) 2 (123) () H(k) = k mod n

More information

HTML Java Tips dp8t-asm/java/tips/ Apache Tomcat Java if else f

HTML Java Tips   dp8t-asm/java/tips/ Apache Tomcat Java if else f 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway InterfaceWeb HTML Web Web CGI CGI CGI Perl C Java Applet JavaScript Web CGI HTML 1.2 Servlet Java Servlet Servlet CGI Web CGI 1 Java / Java Java CGI Servlet

More information

A B 1: Ex. MPICH-G2 C.f. NXProxy [Tanaka] 2:

A B 1: Ex. MPICH-G2 C.f. NXProxy [Tanaka] 2: Java Jojo ( ) ( ) A B 1: Ex. MPICH-G2 C.f. NXProxy [Tanaka] 2: Java Jojo Jojo (1) :Globus GRAM ssh rsh GRAM ssh GRAM A rsh B Jojo (2) ( ) Jojo Java VM JavaRMI (Sun) Horb(ETL) ( ) JPVM,mpiJava etc. Send,

More information

Part1 159 a a

Part1 159 a a Tomcat 158 Part1 159 a a Tomcat hello World!

More information

TopLink å SampleClient.java... 5 Ò readallsample() querysample() cachesample() Ç..

TopLink å SampleClient.java... 5 Ò readallsample() querysample() cachesample() Ç.. lê~åäé= qçéiáåâ= NMÖENMKNKPF Volume2 Creation Date: Mar 04, 2005 Last Update: Aug 22, 2005 Version 1.0 ...3... 3 TopLink å...4 1... 4... 4 SampleClient.java... 5 Ò... 8... 9... 10 readallsample()... 11

More information

r02.dvi

r02.dvi 172 2017.7.16 1 1.1? X A B A X B ( )? IBMPL/I FACOM PL1 ( ) X ( ) 1.2 1 2-0 ( ) ( ) ( ) (12) ( ) (112) (131) 281 26 1 (syntax) (semantics) ( ) 2 2.1 BNF BNF(Backus Normal Form) Joun Backus (grammer) English

More information

ohp02.dvi

ohp02.dvi 172 2017.7.16 1 ? X A B A X B ( )? IBMPL/I FACOM PL1 ( ) X 2 ( ) 3 2-0 ( ) ( ) ( ) (12) ( ) (112) 31) 281 26 1 4 (syntax) (semantics) ( ) 5 BNF BNF(Backus Normal Form) Joun Backus (grammer) English grammer

More information

データ構造とアルゴリズム論

データ構造とアルゴリズム論 15 10 7 A[1]A[2] 5 5 A1A2 A5 9 A4 A1 A2 A3 A4 A5 9 A[4] [1] [2] [3] [4] [5] 5 A1A2 A5 A(1)A(5) A1 i 1 A2 A3 i5 Yes No A4 A[i] A5 i+1 13 15 10 7 100 100 Java Java 10 A int A[]; A= new int[10]; int A[] =

More information

ALG2012-C.ppt

ALG2012-C.ppt 2012717 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2012/index.html 1 1. 2. 2 .. 3 public class WeightedNode { private E value; // private Map

More information

Safari AppletViewer Web HTML Netscape Web Web 15-1 Applet Web Applet init Web paint Web start Web HTML stop destroy update init Web paint start Web up

Safari AppletViewer Web HTML Netscape Web Web 15-1 Applet Web Applet init Web paint Web start Web HTML stop destroy update init Web paint start Web up Safari AppletViewer Web HTML Netscape Web Web 15-1 Applet Web Applet init Web paint Web start Web HTML stop destroy update init Web paint start Web update Event Driven paint Signature Overwriting Overriding

More information

Java 3 p.2 3 Java : boolean Graphics draw3drect fill3drect C int C OK while (1) int boolean switch case C Calendar java.util.calendar A

Java 3 p.2 3 Java : boolean Graphics draw3drect fill3drect C int C OK while (1) int boolean switch case C Calendar java.util.calendar A Java 3 p.1 3 Java Java if for while C 3.1 if Java if C if if ( ) 1 if ( ) 1 else 2 1 1 2 2 1, 2 { Q 3.1.1 1. int n = 2; if (n

More information

Oracle9i JDeveloperによるWebサービスの構築

Oracle9i JDeveloperによるWebサービスの構築 Oracle9i JDeveloper Web Web Web Web Web Web EJB Web EJB Web Web Oracle9iAS Apache SOAP WSDL Web Web Web Oracle9i JDeveloper Java XML Web Web Web Web Simple Object Access Protocol SOAP :Web Web Services

More information

1: Preference Display 1 package sample. pref ; 2 3 import android. app. Activity ; 4 import android. content. Intent ; 5 import android. content. Shar

1: Preference Display 1 package sample. pref ; 2 3 import android. app. Activity ; 4 import android. content. Intent ; 5 import android. content. Shar Android 2 1 (Activity) (layout strings.xml) XML Activity (Intent manifest) Android Eclipse XML Preference, DataBase, File 3 2 Preference Preference Preference URL:[http://www.aichi-pu.ac.jp/ist/lab/yamamoto/android/android-tutorial/tutorial02/tutorial02.pdf]

More information

アルゴリズムとデータ構造1

アルゴリズムとデータ構造1 1 2007 6 26 26 (sakai.keiichi@kochi sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2007/index.html tech.ac.jp/k1sakai/lecture/alg/2007/index.html FIFO (46 ) head,

More information

ValueHolder... 9 Customer.java Oracle TopLink 10g(10.1.3) È Volume3 2

ValueHolder... 9 Customer.java Oracle TopLink 10g(10.1.3) È Volume3 2 lê~åäé= qçéiáåâ= NMÖENMKNKPF Volume3 Creation Date: Mar 04, 2005 Last Update: Aug 23, 2005 Version 1.0 ...3... 3...4... 4... 6 ValueHolder... 9 Customer.java... 10...14 Oracle TopLink 10g(10.1.3) È Volume3

More information

Java プログラミング Ⅰ 3 回目変数 変数 変 数 一時的に値を記憶させておく機能型 ( データ型 ) と識別子をもつ 2 型 ( データ型 ) 変数の種類型に応じて記憶できる値の種類や範囲が決まる 型 値の種類 値の範囲 boolean 真偽値 true / false char 2バイト文

Java プログラミング Ⅰ 3 回目変数 変数 変 数 一時的に値を記憶させておく機能型 ( データ型 ) と識別子をもつ 2 型 ( データ型 ) 変数の種類型に応じて記憶できる値の種類や範囲が決まる 型 値の種類 値の範囲 boolean 真偽値 true / false char 2バイト文 Java プログラミング Ⅰ 3 回目変数 変数 変 数 一時的に値を記憶させておく機能型 ( データ型 ) と識別子をもつ 2 型 ( データ型 ) 変数の種類型に応じて記憶できる値の種類や範囲が決まる 型 値の種類 値の範囲 boolean 真偽値 true / false char 2バイト文字 0x0000 ~ 0xffff byte 1バイト整数 - 2 8 ~ 2 8-1 short 2バイト整数

More information

8 if switch for while do while 2

8 if switch for while do while 2 (Basic Theory of Information Processing) ( ) if for while break continue 1 8 if switch for while do while 2 8.1 if (p.52) 8.1.1 if 1 if ( ) 2; 3 1 true 2 3 false 2 3 3 8.1.2 if-else (p.54) if ( ) 1; else

More information

Web Tomcat MapDataManager i

Web Tomcat MapDataManager i Tomcat EWEB-4K-N013 Web Tomcat MapDataManager i 1... 1 2 Tomcat4.1.29... 2 2.1 Tomcat... 2 2.2 Apache1.3.29... 3 2.3 IIS5.0... 7 3 FAQ...10 3.1 ISAPI...10 ii 1 Java JDK1.3.1 J2SDK1.4.0 JDK JSDK 1-1 JDK

More information

アルゴリズムとデータ構造1

アルゴリズムとデータ構造1 1 2005 7 22 22 (sakai.keiichi@kochi sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2005/index.html tech.ac.jp/k1sakai/lecture/alg/2005/index.html f(0) = 1, f(x) =

More information

Chapter JDK KeyListener keypressed(keyevent e ) keyreleased(keyevent e ) keytyped(keyevent e ) MouseListener mouseclicked(mouseeven

Chapter JDK KeyListener keypressed(keyevent e ) keyreleased(keyevent e ) keytyped(keyevent e ) MouseListener mouseclicked(mouseeven Chapter 11. 11.1. JDK1.1 11.2. KeyListener keypressed(keyevent e ) keyreleased(keyevent e ) keytyped(keyevent e ) MouseListener mouseclicked(mouseevent e ) mousepressed(mouseevent e ) mousereleased(mouseevent

More information

2008 DS T050049

2008 DS T050049 DS T050049. PSP DS DS DS RPG DS OS Windows XP DevkiPro OS DS CPU ARM devkitarm MSYS MinGW MSYS MinGW Unix OS C++ C++ make nds nds DS DS micro SD Card nds DS DS DS nds C Java C++ nds nds DS 2008 DS T050049

More information

1.5 1...1 1.1... 1 1.2... 1 2... 2 2.1... 2 2.2 DB... 2 3... 3 3.1... 3 3.2... 3 4 DB... 4 4.1... 4 4.2... 6 4.3... 7 4.3.1.... 7 4.3.2.... 7 4.3.3.... 9 4.3.4.... 10 4.3.5.... 12 4.3.6.... 13 4.3.7....

More information

BASICとVisual Basic

BASICとVisual Basic Visual Basic BASIC Visual Basic BASICBeginner's All purpose Symbolic Instruction Code Visual Basic Windows BASIC BASIC Visual Basic Visual Basic End Sub .Visual Basic Visual Basic VB 1-1.Visual Basic

More information

Condition DAQ condition condition 2 3 XML key value

Condition DAQ condition condition 2 3 XML key value Condition DAQ condition 2009 6 10 2009 7 2 2009 7 3 2010 8 3 1 2 2 condition 2 3 XML key value 3 4 4 4.1............................. 5 4.2...................... 5 5 6 6 Makefile 7 7 9 7.1 Condition.h.............................

More information

新・明解Javaで学ぶアルゴリズムとデータ構造

新・明解Javaで学ぶアルゴリズムとデータ構造 第 1 章 基本的 1 n 21 1-1 三値 最大値 algorithm List 1-1 a, b, c max // import java.util.scanner; class Max3 { public static void main(string[] args) { Scanner stdin = new Scanner(System.in); List 1-1 System.out.println("");

More information

untitled

untitled -1- 1. JFace Data Binding JFace Data Binding JFace SWT JFace Data Binding JavaBean JFace Data Binding JavaBean JFace Data Binding 1JFace Data Binding JavaBean JavaBean JavaBean name num JavaBean 2JFace

More information

Copyright c 2008 Zhenjiang Hu, All Right Reserved.

Copyright c 2008 Zhenjiang Hu, All Right Reserved. 2008 10 27 Copyright c 2008 Zhenjiang Hu, All Right Reserved. (Bool) True False data Bool = False True Remark: not :: Bool Bool not False = True not True = False (Pattern matching) (Rewriting rules) not

More information

NPCA部誌2018

NPCA部誌2018 6 6.1 74 Mineraft 6.2 & 74 72 NPCA (Mod ) 1.11.2 6.3 Firefox ( Firefox ) Firefox Web Firefox Atom ( ) 59 6.4 6.4 DL Eclipce Eclipce ( ) OK Windows10 3000... 6.5 java FirstPlugin java FirstPlugin Java jar

More information

C による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. このサンプルページの内容は, 新装版 1 刷発行時のものです.

C による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます.  このサンプルページの内容は, 新装版 1 刷発行時のものです. C による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. http://www.morikita.co.jp/books/mid/009383 このサンプルページの内容は, 新装版 1 刷発行時のものです. i 2 22 2 13 ( ) 2 (1) ANSI (2) 2 (3) Web http://www.morikita.co.jp/books/mid/009383

More information

=

= 2. 2.1 2.2 kuri@ice.uec.ac.jp ( 2007/10/30/16:46) 1 . 1. 1 + 2 = 5. 2. 180. 3. 3 3. 4.. 5.. 2 2.1 1.,,,,. 2., ( ) ( ).,,,, 3.,. 4.,,,. 3 1.,. 1. 1 + 2 = 5. (, ) 2. 180. (, ) 3. 3, 3. (, ) 4.. (, ) 5..

More information

1. A0 A B A0 A : A1,...,A5 B : B1,...,B

1. A0 A B A0 A : A1,...,A5 B : B1,...,B 1. A0 A B A0 A : A1,...,A5 B : B1,...,B12 2. 3. 4. 5. A0 A B f : A B 4 (i) f (ii) f (iii) C 2 g, h: C A f g = f h g = h (iv) C 2 g, h: B C g f = h f g = h 4 (1) (i) (iii) (2) (iii) (i) (3) (ii) (iv) (4)

More information

事例に見るSCORMの・・・

事例に見るSCORMの・・・ SCORM 1.2 2005 8 2004, 2005 i 2004 6 1.0 2004 6 1.02 3.1.1 2005 1 1.1 2.1.4, 2.4.9, 2.5.2, 2.5.3, 3.1.3, 3.4.6, 3.5.2, 3.5.3. 2005 8 1.2 2.1.1 BOM 2.2.2, 2.4.10, 3.1.1 BOM 3.2.2, 3.4.7. ii 1. 1 2. 2 2.1

More information

5 p Point int Java p Point Point p; p = new Point(); Point instance, p Point int 2 Point Point p = new Point(); p.x = 1; p.y = 2;

5 p Point int Java p Point Point p; p = new Point(); Point instance, p Point int 2 Point Point p = new Point(); p.x = 1; p.y = 2; 5 p.1 5 JPanel (toy example) 5.1 2 extends : Object java.lang.object extends... extends Object Point.java 1 public class Point { // public int x; public int y; Point x y 5.1.1, 5 p.2 5 5.2 Point int Java

More information

2

2 問題 次の設問に答えよ 設問. Java のソースコードをコンパイルするコマンドはどれか a) java b) javac c) javadoc d) javaw 設問. Java のバイトコード ( コンパイル結果 ) を実行するコマンドはどれか a) java b) javac c) javadoc d).jar 設問. Java のソースコードの拡張子はどれか a).c b).java c).class

More information

haskell.gby

haskell.gby Haskell 1 2 3 Haskell ( ) 4 Haskell Lisper 5 Haskell = Haskell 6 Haskell Haskell... 7 qsort [8,2,5,1] [1,2,5,8] "Hello, " ++ "world!" "Hello, world!" 1 + 2 div 8 2 (+) 1 2 8 div 2 3 4 map even [1,2,3,4]

More information

¥×¥í¥°¥é¥ß¥ó¥°±é½¬I Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~ alse

¥×¥í¥°¥é¥ß¥ó¥°±é½¬I  Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~alse I Exercise on Programming I http://bit.ly/oitprog1 1, 2 of 14 ( RD S ) I 1, 2 of 14 1 / 44 Ruby Ruby ( RD S ) I 1, 2 of 14 2 / 44 7 5 9 2 9 3 3 2 6 5 1 3 2 5 6 4 7 8 4 5 2 7 9 6 4 7 1 3 ( RD S ) I 1, 2

More information

Vector Vector Vector Vector() Vector(int n) n Vector(int n,int delta) n delta

Vector Vector Vector Vector() Vector(int n) n Vector(int n,int delta) n delta Java VectorEnumeration Stack Hashtable StringTokenizer Vector Vector Vector Vector() Vector(int n) n Vector(int n,int delta) n delta Vector Vector void addelement(object obj) int capacity() Object clone()

More information

1 1 2 Unix 1 3 4 4 SVG 6 4.1 SVG................................... 6 4.2 SVG......................... 6 4.3 SVG.............................. 7 4.4..

1 1 2 Unix 1 3 4 4 SVG 6 4.1 SVG................................... 6 4.2 SVG......................... 6 4.3 SVG.............................. 7 4.4.. WWW 17 2 10 1 1 2 Unix 1 3 4 4 SVG 6 4.1 SVG................................... 6 4.2 SVG......................... 6 4.3 SVG.............................. 7 4.4................................. 8 4.5...........................

More information

I java A

I java A I java 065762A 19.6.22 19.6.22 19.6.22 1 1 Level 1 3 1.1 Kouza....................................... 3 1.2 Kouza....................................... 4 1.3..........................................

More information

Gartner Day

Gartner Day J2EE 1 J2EE C AP 2 J2EE AP DD java *.class java *.class java *.class *.class DD EAR, WAR, JAR orionapplicationclient.xmweb.xmapplication.jar.xml orion- orion-ejb- ml Oracle Application Server 10g *.jsp

More information

Microsoft Word - keisankigairon.ch doc

Microsoft Word - keisankigairon.ch doc 1000000100001010 1000001000001011 0100001100010010 1010001100001100 load %r1,10 load %r2,11 add %r3,%r1,%r2 store %r3,12 k = i + j ; = > (* 1 2 3 4 5 6 7 8 9 10) 3628800 DO 3 I=1,3 DO3I=1.3 DO3I 1.3

More information

デジタル表現論・第4回

デジタル表現論・第4回 デジタル表現論 第 4 回 劉雪峰 ( リュウシュウフォン ) 2016 年 5 月 2 日 劉 雪峰 ( リュウシュウフォン ) デジタル表現論 第 4 回 2016 年 5 月 2 日 1 / 14 本日の目標 Java プログラミングの基礎 出力の復習 メソッドの定義と使用 劉 雪峰 ( リュウシュウフォン ) デジタル表現論 第 4 回 2016 年 5 月 2 日 2 / 14 出力 Systemoutprint()

More information

untitled

untitled JCSP CSP HPC H.Nakahara 1 2 CSP A B HPC H.Nakahara 3 CSP HPC H.Nakahara 4 CSP Process A chan Process B ( DFD) HPC H.Nakahara 5 DFD HPC H.Nakahara 6 DFD FAX OK? HPC H.Nakahara 7 HPC H.Nakahara 8 HPC H.Nakahara

More information

II 1 p.1 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway Interface Web HTML Web Web CGI CGI CGI Perl, PHP C JavaScript Web CGI HTML 1.2 Servlet Java

II 1 p.1 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway Interface Web HTML Web Web CGI CGI CGI Perl, PHP C JavaScript Web CGI HTML 1.2 Servlet Java II 1 p.1 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway Interface Web HTML Web Web CGI CGI CGI Perl, PHP C JavaScript Web CGI HTML 1.2 Servlet Java Servlet Servlet CGI Web CGI Java Java JVM Java CGI

More information

r07.dvi

r07.dvi 19 7 ( ) 2019.4.20 1 1.1 (data structure ( (dynamic data structure 1 malloc C free C (garbage collection GC C GC(conservative GC 2 1.2 data next p 3 5 7 9 p 3 5 7 9 p 3 5 7 9 1 1: (single linked list 1

More information

1 1.1 (JCPRG) 30 Nuclear Reaction Data File (NRDF) PC GSYS2.4 JCPRG GSYS2.4 Java Windows, Linux, Max OS X, FreeBSD GUI PNG, GIF, JPEG X Y GSYS2

1 1.1 (JCPRG) 30 Nuclear Reaction Data File (NRDF) PC GSYS2.4 JCPRG GSYS2.4 Java Windows, Linux, Max OS X, FreeBSD GUI PNG, GIF, JPEG X Y GSYS2 (GSYS2.4) GSYS2.4 Manual SUZUKI Ryusuke Hokkaido University Hospital Abstract GSYS2.4 is an update version of GSYS version 2. Main features added in this version are Magnifying glass function, Automatically

More information

GA-1190J

GA-1190J GA-1190J 1 1. 2. 3. 4. 2 5. 3 PDF 4 PDF PDF PDF PDF PDF PDF PDF PDF 5 6 ...1...2...4 1...12 2...16...18 3...22 PCL/PS...23 4...26 5...30 ETHERNET...31 TCP/IP...33 IPX/SPX...38 AppleTalk...40 HTTP...42

More information

Java プログラミング Ⅰ 3 回目変 数 今日の講義講義で学ぶ内容 変数とは 変数の使い方 キーボード入力の仕方 変 数 変 数 一時的に値を記憶させておく機能 変数は 型 ( データ型 ) と識別子をもちます 2 型 ( データ型 ) 変数に記憶する値の種類変数の型は 記憶できる値の種類と範囲

Java プログラミング Ⅰ 3 回目変 数 今日の講義講義で学ぶ内容 変数とは 変数の使い方 キーボード入力の仕方 変 数 変 数 一時的に値を記憶させておく機能 変数は 型 ( データ型 ) と識別子をもちます 2 型 ( データ型 ) 変数に記憶する値の種類変数の型は 記憶できる値の種類と範囲 Java プログラミング Ⅰ 3 回目変 数 今日の講義講義で学ぶ内容 変数とは 変数の使い方 キーボード入力の仕方 変 数 変 数 一時的に値を記憶させておく機能 変数は 型 ( データ型 ) と識別子をもちます 2 型 ( データ型 ) 変数に記憶する値の種類変数の型は 記憶できる値の種類と範囲を決定します 次の型が利用でき これらの型は特に基本型とよばれます 基本型 値の種類 値の範囲 boolean

More information

ohp07.dvi

ohp07.dvi 19 7 ( ) 2019.4.20 1 (data structure) ( ) (dynamic data structure) 1 malloc C free 1 (static data structure) 2 (2) C (garbage collection GC) C GC(conservative GC) 2 2 conservative GC 3 data next p 3 5

More information