Allen Liu

Greenhorn
+ Follow
since Jul 03, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Allen Liu

http://www.martinfowler.com/eaaDev/ModelViewPresenter.html

I think Martin tells that this pattern is often used in rich client UI, where the view part would handle lots of events, then we create a Presenter class for the View, in order to seperate the complex responsibilities
According to the question:
1.T2 do task1
2.T1 do task1 while T2 do task2
3.T1 do task2

~If T1 should exit task1 as soon as T2 finished task2, no matter whether task1 of T1 is completed, then T2 should send a signal to T1 as command.
~If step 3 starts after both T1's task1 and T2's task2 is completed, then you might need another signal
is it possible to use inner class?
somebody says the inner class is a way to realize multi-inheritance
18 years ago
There are three types of people in the world. Those who can count, and those who can't.


I'm really curious about the third type, or, which is the third type?
18 years ago
NO!
static members can't use T because T is only defined like:


How could a static member get Type information from an instance?
you can do:

and call the method:
18 years ago