摘要: 一、数据备份 1、使用mysqldump命令备份 1、备份一个数据库 mysqldump基本语法: mysqldump -u username -p dbname table1 table2 ...-> BackupName.sql 其中: dbname参数表示数据库的名称; table1和tabl 阅读全文
posted @ 2017-05-16 17:08 ATJAVA 阅读(134) 评论(0) 推荐(0) 编辑
摘要: import java.awt.Dimension; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Timer; import java.util.TimerTask; import javax.swing.JFrame; import ... 阅读全文
posted @ 2017-05-16 16:42 ATJAVA 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 二叉树(BinaryTree)是n(n≥0)个结点的有限集,它或者是空集(n=0),或者由一个根结点及两棵互不相交的、分别称作这个根的左子树和右子树的二叉树组成。 这个定义是递归的。由于左、右子树也是二叉树, 因此子树也可为空树。 五种不同基本形态的二叉树: 二叉树的遍历 对于二叉树来讲最主要、最基 阅读全文
posted @ 2017-05-16 16:36 ATJAVA 阅读(242) 评论(0) 推荐(0) 编辑
摘要: package com.js.ai.modules.pointwall.interfac; import java.awt.Font; import javax.print.attribute.standard.MediaName; import org.apache.poi.ss.usermodel.Color; public class TestXinXing { /*publ... 阅读全文
posted @ 2017-05-16 13:50 ATJAVA 阅读(242) 评论(0) 推荐(0) 编辑
摘要: import java.text.DateFormatSymbols; import java.util.Calendar; import java.util.GregorianCalendar; public class TestCalendar { public static void main(String[] args) { GregorianCalendar now=new Gre... 阅读全文
posted @ 2017-05-16 13:48 ATJAVA 阅读(339) 评论(0) 推荐(0) 编辑
摘要: import java.awt.EventQueue; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import javax.swing.ImageIcon; import javax.swing.JFileChooser; import javax.... 阅读全文
posted @ 2017-05-16 13:47 ATJAVA 阅读(306) 评论(0) 推荐(0) 编辑
摘要: public class ArraySort { private long[] a; private int nElems; public ArraySort(int max){ a=new long[max]; nElems=0; } public void insert(long value){ a[nElems]=value; nElems+... 阅读全文
posted @ 2017-05-16 09:55 ATJAVA 阅读(275) 评论(0) 推荐(0) 编辑