블로그
-
[영진전문대학 컴퓨터정보계열] 스레드 - 동기화 synchronized
class Counter { private int value = 0; public synchronized void increment() { value++; } public synchronized void decrement() { value--; } public synchronized void printCounter() { System.out.println(value); }
blog.naver.com · 2013.10.31
-
[영진전문대 컴퓨터정보계열프로그래밍전공] 10월 31일 수업내용
class Counter { private int value = 0; public void increment() { value++; } public void decrement() { value--; } public void printCounter() { System.out.println(value); } } class MyThread extends Thread
blog.naver.com · 2013.10.31
-
(영진전문대 컴퓨터프로그래밍전공반) c++ 7장 연습문제(programming)
#include #include using namespace std; class Count { private : int value; public: void countUp() { value += 1; } void countDown() { value -= 1; } int getCount() const{ return value; } void setCount(int
blog.naver.com · 2012.11.19
-
Windows 7 VIA 레퍼런스 드라이버 설치시 호환성 모드 설정 방법
호환성 모드 설정 방법 조회수 : 803, 2009-08-20 12:32:39 /* * Slider 2006.09.06 * by NHN UII.Gony */ var Slider = Class skin/XEKOR/images/slider_%s.gif', // bg, unit minValue : 0, maxValue : 100, defValue : 0, // default value
blog.naver.com · 2010.04.26
-
Excel 읽기 예제
import java.io.File;import jxl.Cell;import jxl.Sheet;import jxl.Workbook;public class ReadExcel{ /** = ""; for(int row = s_row; row < e_row; row++) { for(int col = s_col; col < e_col; col++) { value
blog.naver.com · 2009.09.17
-
[디자인패턴-2 Structual]Flyweight pattern
loading 참조 public enum FontEffect { BOLD, ITALIC, SUPERSCRIPT, SUBSCRIPT, STRIKETHROUGH} public final class will drop unused references to FontData. * Values have to be wrapped in WeakReferences, * because value
blog.naver.com · 2009.08.21
-
[디자인패턴-1 Creational]Lazy initialization
Usage :: Tactic of delaying the creation of an object, the calculation of a value, or some other expensive 흠 실제 인스턴스 만드는 동안에 오버로드가 발생하지는 않는지 모르겠네. ex)import java.util.*; public class Fruit { private static final
blog.naver.com · 2009.08.21
-
버핏이 투자한 회사 (as of 2008.06)
Discretion Column 8 Column 2 Market Column 5 --------------------- Voting Authority Title Column 3 Value ---------------Column 1 of CUSIP (In Principal (a) Shared- Shared- Other (a) (b) (c)Name of Issuer Class
blog.naver.com · 2008.08.23
-
[C++/codeguru]backpropagation implementation
//////////////////////////// #ifndef backprop_h#define backprop_h #include#include#include#include class CBackProp{ // output of each neuron double **out; // delta error value f.......
blog.naver.com · 2008.05.22
-
New writedown worries weigh on troubled UBS shares
would unveil more losses this week after the Swiss bank said at the weekend it had begun lowering the value GMT on Monday on concerns about its $5.9-billion (U.S.) exposure to Auction Rate Securities (ARS), a class
blog.naver.com · 2008.03.31