|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAlignments.Ambiguous
public class Ambiguous
Stores details of ambiguous characters
Constructor Summary | |
---|---|
Ambiguous()
Default constructor for use when there are no ambiguous characters |
|
Ambiguous(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> ambig)
Constructor for use when there are ambiguous characters |
Method Summary | |
---|---|
static Ambiguous |
fromFile(java.io.File f)
Reads in amiguous data information from a file. |
java.util.Set<java.lang.String> |
getPossible(java.lang.String c)
Gets the characters an ambiguous charcter could represent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Ambiguous()
public Ambiguous(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> ambig)
ambig
- A map from the ambiguous characters to the set of characters
the ambiguous charcater could represent. Recurssive definitions are
not allowed.Method Detail |
---|
public java.util.Set<java.lang.String> getPossible(java.lang.String c)
c
- The ambiguous character
public static Ambiguous fromFile(java.io.File f) throws InputException
f
- File object for the input file
InputException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |