Jump to module

cdi - CDI utilities (Java API for context and dependency injection)

Content:

  • Several helpers for accessing CDI-Features from non-CDI classes
    • Access the current CDI BeanManager via static getter
    • Access any CDI bean via fluent Java-API (without need for CDI Annotations)
    • Enable CDI injection in any non-CDI generated bean
  • Bridge classes to the Factory-API from core module
    • Write Factory implementations that lookup beans via CDI
    • Wrap CDI producers around Factory implementations


Find on Maven Central

cdi-collections - CDI extensions to the JavaGimmicks collection API

Content:

  • A brigde between the Event Collection API from the collections module and the CDI event API that publishes Event Collection API events via CDI


Find on Maven Central

cdi-testing - JUnit test helpers for the CDI-API

Content:

  • A JUnit 4 test Runner that runs a Weld SE based CDI container for each test case and respectively initilizes the test classes as CDI beans
  • A JUnit 4 test Rule that runs a Weld SE based CDI container for each test case and allows CDI bean lookup from there via Java API


Find on Maven Central

collections - Basic utilities for and around the Java Collection API

Content:

  • A "transforming decorator" API for the Java Collection API - based on the transformer API from core module
  • Observer pattern implemenation for the Java Collection API ("Event Collections")
  • New collection types Mappings and ValueMappings for dealing with n:m relationship data structures (rich API with brigde implementations to standard Java Collection API classes)
  • New collection type Ring (rich API with brigde implementations to standard Java Collection API classes)
  • New collection type BidiMap - a bidirectional extension to standard Map-API
  • A composite API for most standard Java Collection API classes
  • A diff engine for finding differences between data structures
  • A filter API for List implementations
  • Fluent API builders for standard Java Collection API classes
  • Basic decorator classes for standard Java Collection API classes (+ some more)


Find on Maven Central

collections-jdk8 - Java and JDK 8 specific extensions/alternatives to the collections module

Content:

  • A "transforming decorator" API for the Java Collection API - based on the transformer API from core JDK 8 module
  • Observer pattern implemenation for the Java Collection API ("Event Collections")
  • New collection types Mappings and ValueMappings for dealing with n:m relationship data structures (rich API with brigde implementations to standard Java Collection API classes)
  • New collection type Ring (rich API with brigde implementations to standard Java Collection API classes)
  • A composite API for most standard Java Collection API classes
  • A diff engine for finding differences between data structures
  • A filter API for List implementations
  • Fluent API builders for standard Java Collection API classes
  • Basic decorator classes for standard Java Collection API classes (+ some more)


Find on Maven Central

concurrent - Utilities for multi-threaded programming

Content:

  • Provider-consumer implementations for exchanging objects in a thread-safe way
  • An extension to Java's Lock API that enables atomic locks over multiple resources


Find on Maven Central

core - Core Utilities

Content:

  • Some additional core language extensions:
    • A slim and reusable factory pattern API including some nice default factory implementations ("Supplier" API)
    • An ObjectContainer API that simplifies Object exchange within several environments
  • Helpers for basic XML handling - especially for org.w3c.dom API
  • A JDBC executor API that simplifies JDBC programming
  • Small extensions to java.util API especially some nice Comparator implementations
  • Small extensions to the Java Bean API especially a dynamic bean Comparator
  • A small basic API for implementing Observer pattterns
  • A small basic API for implementing transformers between objects

Find on Maven Central

core-jdk8 - Java and JDK 8 specific extensions/alternatives to the core module

Content:

  • Some additional core language extensions:
    • Some nice default default factory ("Supplier") implementations
    • An ObjectContainer API that simplifies Object exchange within several environments
  • A small basic API for implementing transformers between objects

Find on Maven Central

graph - Yet another (small) graph API

Content:

  • A slim but powerful API for modelling graph data structures
  • An extension to Java's Lock API that enables atomic locks over multiple resources


Find on Maven Central

io - Basic I/O utilities and a diff engine for file system folders

Content:

  • A small I/O helper mainly for supporting the rest of this module
  • A traverser / visitor implementation for easy file system traversal and processing
  • A folder comparison API based on the diff engine from collections module


Find on Maven Central

jdbc-testing - JUnit test helpers for the JDBC-API

Content:

  • A JUnit 4 test Rule that runs a temporary file-based Hypersonic SQL database for each test case


Find on Maven Central

jpa-testing - JUnit test helpers for the JPA-API

Content:

  • A JUnit 4 test Rule that runs a temporary Spring/Hibernate/HSQLDB based JPA container for each test case


Find on Maven Central

math - A few mathematical utilities

Content:

  • A set of combinatoric operators that create different kinds of combinations for any given number of elements
  • Comparator implementations for Java's default number types types
  • A small mathematical sequence API


Find on Maven Central

swing - Swing utilities and extensions

Content:

  • A small toolset of different useful swing extensions including the following:
    • A ComboboxEditor that adds auto-complete features to a given JCombobox
    • A DocumentListener that enables automatic scroll-down within any scrollable JTextComponent upon content update
    • A fluent Builder implementation for creating JMenus (or one of it's relatives)
    • An OutputStream implementation that forwards contents to a given Swing Document (useful e.g. for logging into a JTextArea)
    • A FocusListener for JTextComponents that marks the whole contained text upon focus gain
    • A experimental fluent Builder implementation for creating Frames and (nested) Panels with any child components
  • Implementations of ListModel, TableModel and TreeModel that provide a more modern access API leveraging Java Collections
  • A Builder for creating dependent ComboboxModels (i.e. the contents of one JCombobox change when the selected value of another one changes)


Find on Maven Central

testing - Basic JUnit test helpers

Content:

  • A helper for making assertions for List contents
  • A helper for running multi-threaded tests
  • A helper for testing Observable classes created with the core module Observer pattern API


Find on Maven Central