Package net.sf.saxon.transpile
Class CollectionMaker
java.lang.Object
net.sf.saxon.transpile.CollectionMaker
Provides alternatives to methods such as
Collections.emptyList()
and Collections.emptyIterator()
designed to facilitate transpilation to C#-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <E> Iterator
<E> emptyIterator
(Class<E> over) Create an empty iterator over items of a specified type
-
Constructor Details
-
CollectionMaker
public CollectionMaker()
-
-
Method Details
-
emptyIterator
Create an empty iterator over items of a specified type- Type Parameters:
E
- the class of items (not) delivered by the iterator- Parameters:
over
- the class of items (not) delivered by the iterator- Returns:
- an empty iterator
-