NodeSetData (Java SE 10 & JDK 10 )
-
- Type Parameters:
T- the type of nodes maintained by this set
public interface NodeSetData<T> extends Data, Iterable<T>
An abstract representation of a
Datatype containing a node-set. The type (class) and ordering of the nodes contained in the set are not defined by this class; instead that behavior should be defined byNodeSetDatasubclasses.- Since:
- 1.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterator<T>iterator()Returns a read-only iterator over the nodes contained in this
NodeSetDatain document order.-
Methods declared in interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
iterator
Iterator<T> iterator()
Returns a read-only iterator over the nodes contained in this
NodeSetDatain document order. Attempts to modify the returned iterator via theremovemethod throwUnsupportedOperationException.
-
-
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2018, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.