Class NodeSetDataImpl
java.lang.Object
ac.simons.neo4j.migrations.core.internal.NodeSetDataImpl
- All Implemented Interfaces:
Data,NodeSetData
A simple implementation of
NodeSetData, working on a flat list of nodes. NodeSetData does
not have any type parameters on JDK 8, it does have type parameters on JDK 17. This project needs JDK 17 to compile
but still targets JDK 8. At least IntelliJ gets this wrong (even with --release 8 for the main source) and
issues wrong warnings.- Since:
- 1.7.0
- Author:
- Michael J. Simons
- Soundtrack
- Pet Shop Boys - Please
-
Method Summary
Modifier and TypeMethodDescriptioniterator()static NodeSetDataBuild aNodeSetDatafrom the given list of elements.
-
Method Details
-
of
Build aNodeSetDatafrom the given list of elements.- Parameters:
elements- The actual nodes- Returns:
- An instance of
NodeSetData
-
iterator
- Specified by:
iteratorin interfaceNodeSetData
-