balsas
Class Model
java.lang.Object
balsas.Model
public class Model
- extends java.lang.Object
Constructor Summary |
Model(java.lang.String sablonas)
|
Model(java.lang.String source,
java.lang.String diktorID,
java.lang.String frazesID,
int length,
int baitu,
byte[] en,
long[][] b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Model
public Model(java.lang.String source,
java.lang.String diktorID,
java.lang.String frazesID,
int length,
int baitu,
byte[] en,
long[][] b)
throws java.io.IOException
- Throws:
java.io.IOException
Model
public Model(java.lang.String sablonas)
throws java.io.IOException
- Throws:
java.io.IOException
read
public void read(java.lang.String sablonas)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(java.lang.String sablonas)
throws java.io.IOException
- Throws:
java.io.IOException
idnr
public static java.util.TreeMap<java.lang.String,java.lang.Integer> idnr(Model[] mod)
diktorFraze
public java.lang.String diktorFraze()
show
public void show()
show
public void show(java.lang.String title)
show
public void show(java.lang.String title,
long[][] b)
failas
public java.lang.String failas()
trajectory2int
public static int[][] trajectory2int(java.util.Vector<java.lang.Long> traj,
Model mod)
show
public void show(java.util.Vector<java.lang.Long> traj,
Model mod)
isGen
public boolean isGen(Model b)
tasPatsDiktorius
public boolean tasPatsDiktorius(Model b)
taPatiFraze
public boolean taPatiFraze(Model b)
read
public static Model[] read(java.lang.String infoFailas,
java.lang.String ext)
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception