com.github.dakusui.symfonion.core
Class Util
java.lang.Object
com.github.dakusui.symfonion.core.Util
public class Util
- extends Object
|
Constructor Summary |
Util()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
count
public static int count(char ch,
String s)
parseFraction
public static Fraction parseFraction(String str)
throws SymfonionException
- Throws:
SymfonionException
loadResource
public static String loadResource(String resourceName)
throws SymfonionException
- Throws:
SymfonionException
loadFile
public static String loadFile(String fileName)
throws SymfonionException
- Throws:
SymfonionException
parseNoteLength
public static Fraction parseNoteLength(String length)
throws SymfonionException
- Throws:
SymfonionException
getIntBytes
public static final byte[] getIntBytes(int input)
dump
public static void dump(int[] arr)
toint
public static int toint(Object o)
Copyright © 2013. All Rights Reserved.