-
Pages
-
Recent Posts
- Simple algorithm for casting strings to double
- How to make multipart requests with file and object through autogenerated code defined in OpenAPI
- How to make multipart requests with files through autogenerated code defined in OpenAPI
- How to compile and run Java files on Windows
- Java concurrency interview conversation about passing shared variables to threads
Latest Comments
Archives
- February 2024
- July 2023
- June 2023
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- July 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- August 2020
- February 2020
- November 2019
- June 2019
- May 2019
- May 2018
- April 2018
- August 2017
- June 2017
- May 2017
- December 2016
- November 2016
- March 2016
- January 2016
- December 2015
- January 2014
- December 2013
- October 2013
- June 2013
- April 2013
- May 2012
- March 2012
- February 2012
- July 2011
- April 2011
- March 2010
- January 2007
- September 2006
Categories
-
Author Archives: Andrej Buday
Simple algorithm for casting strings to double
The article describes a method for converting incorrectly formatted numeric strings in CSV files into doubles by replacing commas with dots and handling various input errors, complemented by a Java util class implementation and tests. Continue reading
How to make multipart requests with file and object through autogenerated code defined in OpenAPI
This article explains how to create a Spring Boot endpoint using OpenAPI to receive objects and, optionally, files through multipart form data, focusing on deserialization and validation of incoming objects. Continue reading
How to make multipart requests with files through autogenerated code defined in OpenAPI
This article provides a clear tutorial on generating infrastructure code defined in OpenAPI schema for your custom Spring Boot application and handling multipart file uploads through an autogenerated REST endpoint. Continue reading
How to compile and run Java files on Windows
There are several scenarios when you need to compile and run your Java code from the terminal or command prompt on Windows. Here is a tutorial on how to do it. Continue reading
Java concurrency interview conversation about passing shared variables to threads
During one interview, I talked with the interviewer about how Java handles Threads and passed references to threads and pitfalls of concurrency in general. Continue reading
7 different ways how to get NumberFormatException in Java
This article will show you the NumberFormatException, how you are getting it and what you should do to handle the exception properly. Continue reading
How to figure out if a character in a string is a number
This article is about multiple ways to pull a character from a string and check if it is a number. Continue reading
Posted in Tips & tricks
Tagged char, Character, exceptions, Java, regex, regular expression, String
Leave a comment
Developer Notes 001
The list of a few developer notes collected during the software development which were not enough for a self-standing article. Continue reading
Posted in Tips & tricks
Tagged curl, Enum, interpunct, Jackson, Java 8, Lombok, NUMBER, Oracle DB, Postman, serialization, String, Switch
Leave a comment
How To Turn Number To String With Padded Space or Zeroes
Article about a simple solution to turning numbers into specific length String with padded space. Continue reading
Flattening Stream Collections in Java
This article is about flattening the list of element list with use of Java 8 stream feature flatMap and forEach Continue reading