public interface IForkable<T>
| Modifier and Type | Method and Description |
|---|---|
T |
forked()
This represents a data structure which can be made forked, which is equivalent to Clojure's persistent
data structures, also sometimes called functional or immutable.
|
T forked()
If only a single function or scope uses the data structure, it can be left as a linear data structure, which can have significant performance benefits.
If the data structure is already forked, it will simply return itself.