Package net.sf.saxon.transpile
Class CollectionMaker
- java.lang.Object
-
- net.sf.saxon.transpile.CollectionMaker
-
public class CollectionMaker extends java.lang.Object
Provides alternatives to methods such asCollections.emptyList()
andCollections.emptyIterator()
designed to facilitate transpilation to C#
-
-
Constructor Summary
Constructors Constructor Description CollectionMaker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E> java.util.Iterator<E>
emptyIterator(java.lang.Class<E> over)
Create an empty iterator over items of a specified type
-
-
-
Method Detail
-
emptyIterator
public static <E> java.util.Iterator<E> emptyIterator(java.lang.Class<E> over)
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
-
-