com.aspose.note.infrastructure

Class CovariantEnumerator<TFrom extends TTo,TTo>

  • java.lang.Object
    • com.aspose.note.infrastructure.CovariantEnumerator<TFrom,TTo>
  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.Generic.IGenericEnumerator<TTo>, com.aspose.ms.System.Collections.IEnumerator<TTo>, com.aspose.ms.System.IDisposable, Iterator<TTo>


    public class CovariantEnumerator<TFrom extends TTo,TTo>
    extends Object
    implements com.aspose.ms.System.Collections.Generic.IGenericEnumerator<TTo>
    • Constructor Detail

      • CovariantEnumerator

        public CovariantEnumerator(com.aspose.ms.System.Collections.Generic.IGenericEnumerator<TFrom> fromEnumerator)
    • Method Detail

      • next

        public TTo next()
        Specified by:
        next in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerator<TTo>
        Specified by:
        next in interface com.aspose.ms.System.Collections.IEnumerator<TTo>
        Specified by:
        next in interface Iterator<TTo>
      • dispose

        public void dispose()
        Specified by:
        dispose in interface com.aspose.ms.System.IDisposable
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface com.aspose.ms.System.Collections.IEnumerator<TTo>
        Specified by:
        hasNext in interface Iterator<TTo>
      • reset

        public void reset()
        Specified by:
        reset in interface com.aspose.ms.System.Collections.IEnumerator<TTo>