Ordering of basic Java algorithms

Source: Internet
Author: User

Summary of General basic algorithms

http://blog.csdn.net/lilong_dream/article/details/23356513

Ordering of basic algorithms

Http://www.cnblogs.com/qqzy168/archive/2013/08/03/3219201.html

arrays, strings for the underlying algorithm

String l= "HelloWorld";
ToCharArray Convert a string to an array
Char[] A1=l.tochararray ();

  1. ToCharArray () //Get the char array corresponding to the string
  2. Arrays.sort () //array sort arrays.tostring (char[] a) //array to string
  3. CharAt (int x) //Get the character at an index
  4. Length () //String lengths
  5. Length //array size
  6. SUBSTRING (int beginindex)
  7. SUBSTRING (int beginindex, int endIndex)
  8. Integer.valueof () //string to Integer
  9. String.valueof () //integer to String

Ordering of basic Java algorithms

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.