Class PathContentProvider.PathIterator

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.util.Iterator<java.nio.ByteBuffer>
    Enclosing class:
    PathContentProvider

    private class PathContentProvider.PathIterator
    extends java.lang.Object
    implements java.util.Iterator<java.nio.ByteBuffer>, java.io.Closeable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.nio.ByteBuffer buffer  
      private java.nio.channels.SeekableByteChannel channel  
      private long position  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private PathIterator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      boolean hasNext()  
      java.nio.ByteBuffer next()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, remove
    • Field Detail

      • buffer

        private java.nio.ByteBuffer buffer
      • channel

        private java.nio.channels.SeekableByteChannel channel
      • position

        private long position
    • Constructor Detail

      • PathIterator

        private PathIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.nio.ByteBuffer>
      • next

        public java.nio.ByteBuffer next()
        Specified by:
        next in interface java.util.Iterator<java.nio.ByteBuffer>
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable