A mixture between "java" and "guard". Juard.
A lightweight framework for contracts, events, dependency injection and logging in java.
I originally developed it for some of my projects, but I think that other peoble might also find juard useful, so I made a library out of it.
- Events
- Renamed
EventArgs
intoDataEvent
- Made
DataEvent
generic - Pass only one data object (now of the specified generic type), not an array
- Refactored code a lot
- Renamed
- Contract
- Removed old and deprecated methods
- Added
AreEqual
method
- Logger
- Renamed all methods (just removed the two underscores. E.g.
__debug()
becamedebug()
) - Added warning method and log-level (just call
warn()
) - Fixed comments
- Renamed all methods (just removed the two underscores. E.g.
- New Event class
EventArgs
(allows the passing of objects) - More general contract
- Old methods are deprecated now
- More general contract exceptions
- Added event class
- Added logging class
- Added dependency injection classes
- Added contract classes