That’s me :)
Visit http://www.anatolyspektor.com to find out more about me !
Get My Book
- Fun stuff
- IT News
- My Work
- Programming Languages
Error: Twitter did not respond. Please wait a few minutes and refresh this page.
Category Archives: Useful Functions
As I have promised, I continue answering your questions. One of the readers of myprogrammingblog.com wrote me an email asking How to find if a number is power 2 ? He also asked me to write a bitwise solution as … Continue reading
Hey guys! Long time no seen! Today I had a pleasure of going over myprogrammingblog emails, where many users have asked me to show solutions to different problems. Sorry for not being able to respond earlier, as I had whole … Continue reading
One of the blog readers asked me this question, how to format string using SampleDateFormat to mm/dd/yyy. Here is a small piece of code, I hope some of you will find it useful. a. Frist – import 2 libraries: b. … Continue reading
Sometimes it is very important to split a string on a comma \n \t etc. This piece of code will help you with it. Check out more posts on “Useful Java Functions and Tutorials”
While I was playing with Java code, I have coded a class that has method that finds longest String in the ArrayList. Method is very simple, but I am sure that some of you will find it useful. So here … Continue reading
As you might knowJava does not support pointers, thus swapping things around could create problems. In this post I will show an example of swapping two objects. We have Employee class that holds information about Employees and SwapDemo3 class that … Continue reading