VOOZH about

URL: https://www.javacodegeeks.com/tag/collections/page/2

⇱ Collections Archives - Page 2 of 5 - Java Code Geeks


  • Core Java👁 Image
    Peter VerhasAugust 28th, 2015
    0 120

    Optional in collections

    Sometime it is argued that the type Optional is worth being used in collections. It allegedly solves the problem of…

    Read More »
  • Core Java👁 Image
    Tomasz NurkiewiczJuly 17th, 2015
    2 140

    Consuming java.util.concurrent.BlockingQueue as rx.Observable

    Classical producer-consumer pattern is relatively simple in Java since we have java.util.concurrent.BlockingQueue. To avoid busy waiting and error-prone manual locking…

    Read More »
  • Core Java👁 Image
    Nicolai ParlogMay 30th, 2015
    3 199

    Transforming Collections

    Did you ever want to substitute the equals and hashCode methods a HashSet or HashMap uses? Or have a List…

    Read More »
  • Core Java👁 Image
    Marco CastigliegoMay 16th, 2015
    0 130

    Simple benchmarking : Immutable Collections VS Persistent Collections

    Often you need to add new elements to a collection. Because you are a good and careful developer you want…

    Read More »
  • Core Java👁 Image
    Lukas EderApril 3rd, 2015
    1 264

    How to Use Java 8 Streams to Swiftly Replace Elements in a List

    Imagine you have a list of items: List<String> books = Arrays.asList( "The Holy Cow: The Bovine Testament", "True Hip Hop",…

    Read More »
  • Core Java👁 Image
    Jacob ZimmermanJanuary 22nd, 2015
    1 598

    Transforming Collections with Decorators

    The Decorator Pattern Ever since first learning the programming design patterns, the decorator pattern has been my favorite. It seemed…

    Read More »
  • Core Java👁 Image
    Dustin MarxJanuary 7th, 2015
    0 231

    Stream-Powered Collections Functionality in JDK 8

    This post presents application of JDK 8 – introduced Streams with Collections to more concisely accomplish commonly desired Collections-related functionality.…

    Read More »
  • Core Java👁 Image
    Javin PaulJune 30th, 2014
    0 192

    How to use CopyOnWriteArraySet in Java with Example

    CopyOnWriteArraySet is little brother of CopyOnWriteArrayList class. These are special purpose collection classes which was added on JDK 1.5, along…

    Read More »
  • Core Java👁 Image
    Rakesh CusatJune 11th, 2014
    1 84

    Code4ReferenceList Recently Used(LRU) implementation using LinkedHashMap

    Recently I stumbled on one of the Java interview questions: “Implement List-Recently-Used (LRU) Cache using Java collection class?” If you…

    Read More »
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • »
Back to top button
Close