Package com.iizix
Interface ICircularReference<INPUT,TARGET>
- All Known Implementing Classes:
EditorSelectorReference
public interface ICircularReference<INPUT,TARGET>
Interface used to find circular references.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description INPUT
getNext(TARGET output)
Gets the next input reference from a target reference.TARGET[]
getReferences(INPUT input)
Gets the target references for an input reference.boolean
isValid(INPUT input)
Checks if the input reference is valid.
Method Detail
isValid
boolean isValid(INPUT input)
Checks if the input reference is valid.- Parameters:
input
- The input reference.- Returns:
- true if this is a input valid reference.
getReferences
TARGET[] getReferences(INPUT input)
Gets the target references for an input reference.- Parameters:
input
- The input reference.- Returns:
- The targets references or null if not found.