Skip to content

Coder Croc's Blog

Month: January 2016

Replace portion of String

To replace specific portion of String, say we have String like Hello 1234! and we want to convert it to Hello 12World34! then we don’t have any direct way to go with String. Continue reading “Replace portion of String” →

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Like this:

Like Loading...
Coder Croc Java Leave a comment January 22, 2016April 25, 2016 1 Minute

Primitive Arrays as a List

Noticed many times that conversion of int[] to List<Integer> is headache. When you write Arrays.asList(new int[]{1,2,3}); it will return Continue reading “Primitive Arrays as a List” →

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Like this:

Like Loading...
Coder Croc Java 2 Comments January 4, 2016January 5, 2016 1 Minute

Stackoverflow Profile

profile for coder-croc at Stack Overflow, Q&A for professional and enthusiast programmers

Recent Posts

  • Cassette to MP3 Converter
  • First 5 things to learn in Java
  • Preflight OPTIONS Request
  • Parse number String of other languages
  • Does code hurts?
  • Code limit 10.20.300
  • Volatile with example
  • Do you choose to throw NPE ?
  • Declare less variables
  • Swap array elements

Archives

  • December 2019 (2)
  • June 2018 (1)
  • December 2017 (2)
  • May 2017 (1)
  • January 2017 (2)
  • October 2016 (1)
  • August 2016 (1)
  • April 2016 (2)
  • January 2016 (2)
  • December 2015 (1)
  • November 2015 (1)
  • September 2015 (6)
  • August 2015 (4)
  • July 2015 (12)
Create a website or blog at WordPress.com
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
%d bloggers like this: