uk.ac.man.cs.rainbow.datamodel
Interface Data.Word.RestrictingT

All Superinterfaces:
Data.Word.T
All Known Implementing Classes:
Type.Boolean, Type.Enum
Enclosing class:
Data.Word

public static interface Data.Word.RestrictingT
extends Data.Word.T

Some word types can restrict the range of the underlying word.


Method Summary
 int restrict(int value)
          Convert the value that is in the source word to the value that will be in the typed (destination) word.
 
Methods inherited from interface uk.ac.man.cs.rainbow.datamodel.Data.Word.T
render
 

Method Detail

restrict

public int restrict(int value)
Convert the value that is in the source word to the value that will be in the typed (destination) word.