Class CompilationUnit.ZeroOffset

java.lang.Object
org.fife.rsta.ac.java.rjc.ast.CompilationUnit.ZeroOffset
All Implemented Interfaces:
Offset
Enclosing class:
CompilationUnit

private static class CompilationUnit.ZeroOffset extends Object implements Offset
An offset that always returns 0.
Version:
1.0
  • Constructor Details

    • ZeroOffset

      private ZeroOffset()
  • Method Details

    • getOffset

      public int getOffset()
      Description copied from interface: Offset
      Returns the offset into the source.
      Specified by:
      getOffset in interface Offset
      Returns:
      The offset.