Vector deviceList = CaptureDeviceManager.getDeviceList(new YUVFormat()); for (Object captureDeviceInfoObj : deviceList) { CaptureDeviceInfo captureDeviceInfo = (CaptureDeviceInfo)captureDeviceInfoObj; MediaLocator locator = captureDeviceInfo.getLocator();
/** * ある数列の中から、幾つかのの項を選んで所望の合計になるかどうか判定する。 * @author tatesuke */ public class 部分和問題 {
public class Main { public static void main(String[] args) { Numeric a = new Numeric(1.0); Numeric b = new Numeric(2.0);
/** * 加法演算子です。 */ public class Add implements Node {
/** * 加算演算子です。 */ public class Add implements Node {
public class Main { public static void main(String[] args) { Numeric a = new Numeric(1.0); Numeric b = new Numeric(2.0);
public class Main { public static void main(String[] args) { Numeric a = new Numeric(1.0); Numeric b = new Numeric(1.0);
/** * 加算演算子です。 */ public class Add implements Node {