Category: Introducing the K-D-trees data structure

Introducing the Skip List data structure – Arrays, collections and data structuresIntroducing the Skip List data structure – Arrays, collections and data structures

113. Introducing the Skip List data structure The Skip List data structure is a probabilistic data structure built on top of a linked list. A Skip List uses an underlying [...]

Introducing the Zipper data structure – Arrays, collections and data structuresIntroducing the Zipper data structure – Arrays, collections and data structures

115. Introducing the Zipper data structure The Zipper data structure is meant to facilitate cursor-like navigation capabilities over another data structure such as a tree. Moreover, it may provide capabilities [...]

Introducing the Fibonacci Heaps data structure – Arrays, collections and data structuresIntroducing the Fibonacci Heaps data structure – Arrays, collections and data structures

117. Introducing the Fibonacci Heaps data structure A Fibonacci Heap is a flavor of Binomial Heap with excellent performance in amortized time for operations such as insert, extract minimum and [...]

Serializing objects to byte arrays – Java I/O: Context-Specific Deserialization FiltersSerializing objects to byte arrays – Java I/O: Context-Specific Deserialization Filters

124. Serializing objects to byte arrays In chapter 4, Problem X, we talked about the serialization/deserialization of Java records, so you should be pretty familiar with these operations. In a [...]

Introducing JDK 9 deserialization filter – Java I/O: Context-Specific Deserialization FiltersIntroducing JDK 9 deserialization filter – Java I/O: Context-Specific Deserialization Filters

127. Introducing JDK 9 deserialization filter As you know from Chapter 4, Problem X, deserialization is exposed to vulnerabilities that may cause serious security issues. In other words, between a [...]

Implementing a custom method ObjectInputFilter – Java I/O: Context-Specific Deserialization FiltersImplementing a custom method ObjectInputFilter – Java I/O: Context-Specific Deserialization Filters

130. Implementing a custom method ObjectInputFilter Let’s assume that we already have the Melon class and the helper methods for serializing/deserializing objects to/from byte arrays from Problem 124.An ObjectInputFilter can [...]

Introducing JDK 17 easy filter creation – Java I/O: Context-Specific Deserialization FiltersIntroducing JDK 17 easy filter creation – Java I/O: Context-Specific Deserialization Filters

134. Introducing JDK 17 easy filter creation Starting with JDK 17, we can express filters more intuitively and readable via two convenient methods named allowFilter() and rejectFilter(). And, since the [...]

Monitoring Deserialization via JFR – Java I/O: Context-Specific Deserialization FiltersMonitoring Deserialization via JFR – Java I/O: Context-Specific Deserialization Filters

136. Monitoring Deserialization via JFR JFR stands for Java Flight Recorder and it is an event-based tool for diagnosis and profiling Java applications. This tool was initially added in JDK [...]