This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB | |
# This file is public domain and comes with NO WARRANTY of any kind | |
# MySQL daemon start/stop script. | |
# Usually this is put in /etc/init.d (at least on machines SYSV R4 based | |
# systems) and linked to /etc/rc3.d/S99mysql and /etc/rc0.d/K01mysql. | |
# When this is done the mysql server will be started when the machine is | |
# started and shut down when the systems goes down. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Java语法不允许数组索引值为负值或超出数组长度(含),该函数去除这一限制。 | |
* <br/> | |
* 规则:<br/> | |
* <code> | |
* array=[1,2,3,4,5] <br/> | |
* <p> | |
* array[-1]=5 <br/> | |
* array[-2]=4 <br/> | |
* array[-3]=3 <br/> |