X Tutup
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

SciJava Struct: A lightweight framework for collecting Members

This library provides a lightweight framework for collecting sets of typed fields. The project centers around two Classes:

Member: A typed field

Members enrich a generic Type with a collection of metadata (such as a name, a description, an I/O type, etc.)

Struct: A collection of Members

Structs are nothing more than collections of Members.

So what? How is this useful?

While Structs can be valuable in describing Methods, they can be particuarly useful when describing Classes and shine under a Dependency Injection paradigm. In such situations, we need a data structure to define all inputs to the injectable Class, be they constructor or FunctionalInterface arguments, or simply Fields that must be injected beforehand.

To see SciJava Struct in action, check out the SciJava Ops project!

X Tutup