) {Setgetavaliiplist (ipwhiteconfig); returncheckloginip (IP, iplist); } } PackageCom.tools.iptool;/*** @ClassName: Ipwhitelisttest * @Function: Test code. * @Reason: Test the code. * @Date: 2017-4-17 pm 02:54:42 *@version */ Public classIpwhitelisttest {/*** Main: (). * @date 2017-4-17 pm 02:54:42 *@paramargs*/ Public Static voidMain (string[] args) {String Ipwhilte= "192.168.1.1;" +//set a whitelist for a single IP"192.168.2.*;" +//set the IP wildcard to match an IP segment"192.168.
* a:alt+/plays the role of prompting* b:main+alt+/,syso+alt+/, give other hints* C: Supplemental OUTPUT statement, select the part that needs to be output, alt+/select the last item* C: Define your own ALT +/* Windows--perference-java-editor-templates--new* A: Create new CTRL + N (new)* B: Formatted CTRL+SHIFT+F (format)* C: Import Package Ctrl+shift+o* D: note ctrl+/,ctrl+shift+/,ctrl+shift+\* E: Move the code up or down the selected code ALT + up/do
2018-05-13Math-related classesfirst, the math classJava's math contains properties and methods for performing basic mathematical operations, such as elementary exponents, logarithms, square roots, and trigonometric functions.The math method is defined as a static form, which can be called directly in the main function through the math class.Reference: 52590688---------------------------------------------------------------------------------------------------Second, Biginter classRepresents a larg
) is A collection of salespeople who get sales for 111. several functions associated with datasets are colcount colname row rowcount , and so on. 8. hierarchical coordinates. The level coordinate is the formula inside the comparison difficulty, "The playability" is very strong, the thing is more, can only remember the most commonly used several, can solve various BT 's needs. The more common one is the ranking formula =count (B3[!0]{b3 > $B 3}) +1. See for yourself. http://www.finereporthelp.com
Arrays tool classAslist: Converts an array into a list collection, using the ideas and methods of the collection to manipulate elements in an arrayNote: To convert an array to a collection, you cannot use the Zengshan method of the collection because the length of the array is fixedIf the elements in the array are objects, then the elements in the array are converted directly to the elements in the collection when they become collections.If an element in the array searches for the base data typ
it easier for the user to calculate the date numerically.In the 1900 date system, the Finereport spreadsheet will be saved as series number 2 in January 1, 1900, saving January 2, 1900 as series number 3,Save January 3, 1900 as series number 4 ... And so on As in the 1900 date system, January 1, 1998 is saved as series number 35796.Example:WEEKNUM ("2005/1/1") equals 1.WEEKNUM ("2005/1/6") equals 2.WEEKNUM (35796) equals 1.YearYear: (Serial_number) returns years in the date. Year is a number be
.
static
synchronizedSortedSet(SortedSetReturns a synchronous (thread-safe) ordered set supported by the specified ordered set.
Conversion principle:List List = new ArrayList (); List = Mycollections.synlist (list);//Returns a synchronized ListClass mycollections{public list synlist (List list) {return new MyList ( list);} Private class MyList implements List{private List list;private static Final Object lock
end, most parents have to be disappointed with the reality, with only a handful of so-called "winners" exceptions. They also sigh that children have been too bitter these years, not to enjoy the happiness and sunshine. Fourth place: Don't cherish your partner (57%) Drunk side know wine thick, love the party know heavy. Feelings, always have not know how to cherish, lost after the precious. Mankind can never invent two kinds of substances, one is indifferent water, and the second is regret medi
Originally in the last company, a whole year to do tools, improve production, the project is particularly large, so the total savings for the old club of about 500K dollars.(in addition to praise, I personally do not have any benefits, the leaders are ladder, depressed)To the new company, it is also ready to develop some tools to improve production. Recently looking at net MVC and spring MVC data. So you wa
storage is Sunday So it's the same way as the month. SYSTEM.OUT.PRINTLN (Weeks[week]); System.out.println (Calendar.get (calendar.day_of_month)); System.out.println (Calendar.get (Calendar.hour_of_day));//24 hours String str = String.Format ("%d-%d month-%d Day", Year,month, day);//Gets the string of the format we want System.out.println (str);//%s string%c char%d int%f float Double the various types of SYSTEM.OUT.PRINTLN (String.Format ("%.2f", 10/3.0) to be used when formatting, *2015-7-108 m
Eclipse Plug-in class
Fat jar Excellent: multiple jar package composition; Missing: folder structure not maintained
Fat Jar Eclipse Plug-in is a gadget that can package all the resources of Eclipse Java project into an executable jar file, so that you can easily complete a variety of packaging tasks, and we often come to the jar package, But Eclipse's own packaged jar doesn't seem to be enough, and the fat jar is a plug-in for eclipse, e
(number of columns) how much, in the absence of a row engine, there will be a critical point, below the critical point when you can export the success of the exported content has more than sheet, otherwise the export failed, the content is invalid. Therefore, for large data volumes, it is common to use the row engine to represent, in which case the export Excel is always successful. When you export Excel in a large data volume report that has the row engine enabled , it is split into multiple .
(number of columns) how much, in the absence of a row engine, there will be a critical point, below the critical point when you can export the success of the exported content has more than sheet, otherwise the export failed, the content is invalid. Therefore, for large data volumes, it is common to use the row engine to represent, in which case the export Excel is always successful. When you export Excel in a large data volume report that has the row engine enabled , it is split into multiple .
Public classStrutils { Public Static FinalString utf_8 = "UTF-8"; /*** Remove the useless 0 after the decimal string*/ Public Staticstring Replacethetailzero (String value) {if(Stringutils.isempty (value)) {returnvalue; } if(Value.indexof (".") > 0) {Value=value.replaceall ("0+?$", "" ");//remove the useless 0 behindValue =value.replaceall ("[.] $", "");//the decimal point is removed if all zeros are followed by a decimal point } returnvalue; } /*** UTF-8
Determine if the phone number and phone numberpackagecom.rk.utils;importjava.util.regex.matcher;importjava.util.regex.pattern;public classregexutils{/*** Mobile phone number verification ** @param str* @return Verify by returning True*/publicstaticbooleanismobile (STRINGNBSP;STR) {patternp= Null Matcherm=null;booleanb=false;p=pattern.compile ("^[1][3,4,5,8][ 0-9]{9}$ ");// Verify the phone number m=p.matcher (str); b=m.matches (); returnb;} /*** phone number verification ** @param str* @return
signaturesSignature:data.signature,//required, signature, see Appendix 1Jsapilist: [' chooseimage ', ' uploadimage ', ' downloadimage ', ' previewimage ']//must fill in, need to use the JS interface list, all JS interface list See Appendix 2 }); Wx.ready (function(){ //layer.msg ("JSSDK initialization succeeded"); //after the config information is validated, the Ready method is executed, and all interface calls must be completed by the Confi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.