/NOStream

Extension of classic Java data structures that avoid the use of Stream abstraction in favour of direct list transformation methods

Primary LanguageJavaMIT LicenseMIT

#NOStream#

Java library that avoid use of Stream interface.

  • Pros:
    • Faster than stream counterpart in many cases (Test in project can dimostrate it or you can see an image here )
    • More simple syntactically
  • How it works:
    • Collection, List, ArrayList, LinkedList extends the counterpart Java structures and implement my list trasformation methods (Operation interface) .
    • Import jar in your project then replace java.util.[Collection name] with structures.[Collection name]
  • Fuctions are:
    • all
    • any
    • count
    • distinct
    • filter
    • filterIndexed
    • filterNotNull
    • first
    • firstOrNull
    • forEachIndexed
    • forEachReverse
    • groupBy
    • intersection
    • last
    • lastOrNull
    • map
    • mapIndexed
    • maxBy
    • minBy
    • orderBy
    • orderDecreasingBy
    • reduce
    • reduceReverse
    • reverse
    • take
    • takeLast
    • union
    • zipIndexed
    • zipWith
  • How to use:
      Import jar in your project then replace java.util.[Collection name] with structures.[Collection name]
  • How to download jar:
    NOStream Download