Overview | Package | Class | Tree | Deprecated | Index | Help

Simian - Similarity Analyser v2.3.33
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.harukizaemon.simian
Interface Block

    public interface Block

A block of code.

Version:
  $Id$
Author:
  Simon Harris

Method Summary
`int` | `getEndLineNumber()` Obtains the ending line number of the block.
`SourceFile` | `getSourceFile()` Obtains the file containing the lines.
`int` | `getStartLineNumber()` Obtains the starting line number of the block.
`boolean` | `isSubsumed()` Obtains whether this block was subsumed by a longer block or not.

Method Detail

### getSourceFile

    SourceFile getSourceFile()

  Obtains the file containing the lines.

  Returns:
    The file containing the lines.

### getStartLineNumber

    int getStartLineNumber()

  Obtains the starting line number of the block.

  Returns:
    The starting line number of the block.

### getEndLineNumber

    int getEndLineNumber()

  Obtains the ending line number of the block.

  Returns:
    The ending line number of the block.

### isSubsumed

    boolean isSubsumed()

  Obtains whether this block was subsumed by a longer block or not.

  Returns:
    true if this block was subsumed by a longer block; otherwise false.

Overview | Package | Class | Tree | Deprecated | Index | Help

Simian - Similarity Analyser v2.3.33
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2003-2011 Simon Harris. All rights reserved.