public class AsDecomposable
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AsDecomposable.CoercedDecomposable |
| Constructor and Description |
|---|
AsDecomposable() |
| Modifier and Type | Method and Description |
|---|---|
static Decomposable |
asDecomposable(java.lang.Object toCoerce)
Coerce / wrap an Object as a Decomposable instance
This adds an unapply method that returns an interable over the supplied
objects fields.
|
public static Decomposable asDecomposable(java.lang.Object toCoerce)
toCoerce - Object to convert into a Decomposable