Commit message (Expand) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fififif | arg@mig29 | 2006-11-22 | 1 | -1/+1 |
* | applied Gottox' windowarea patch | arg@mig29 | 2006-11-16 | 1 | -0/+1 |
* | renamed resizecol into resizemaster 2.1 | arg@mig29 | 2006-10-31 | 1 | -1/+1 |
* | applied sanders try2 patch | arg@mig29 | 2006-10-2import java.util.Random;
class StaticExample {
private static int objectCount = 0;
static int getObjectCount() { return objectCount; }
static {
System.out.println("Executing static block in StaticExample");
}
StaticExample() {
if (objectCount == 0)
System.out.println("Executing StaticExample constructor for the first time");
objectCount++;
}
}
class StaticExecution {
static {
System.out.println("Executing static block in StaticExecution");
}
public static void main(String args[]) {
System.out.println("Executing static main method in StaticExecution");
int c = new Random().nextInt(10) + 1;
for (int i = 0; i < c; i++) {
var ex = new StaticExample();
}
System.out.println("The number of objects of StaticExample created: " +
StaticExample.getObjectCount());
}
}
| 1 | -1/+1 |
* | renamed resizetile into resizecol | Anselm R. Garbe | 2006-09-05 | 1 | -1/+1 |
* | s/growcol/resizetile/g | Anselm R. Garbe | 2006-09-05 | 1 | -1/+1 |
* | I really need column growing, now pushing upstream | Anselm R. Garbe | 2006-09-05 | 1 | -0/+1 |
* | applied Sanders max_and_focus.patch | Anselm R. Garbe | 2006-09-04 | 1 | -2/+1 |
* | added viewall to mainstream (only Ross Mohns version, not the toggle) | Anselm R. Garbe | 2006-08-31 | 1 | -0/+1 |
* | still something wrong with reorder() | Anselm R. Garbe | 2006-08-29 | 1 | -2/+1 |
* | added attach/detach functions which don't attach at the begin of list, but at... | Anselm R. Garbe | 2006-08-29 | 1 | -0/+2 |
* | trying a different configuration | Anselm R. Garbe | 2006-08-25 | 1 | -2/+2 |
* | new color stuff/new rendering stuff | Anselm R. Garbe | 2006-08-25 | 1 | -4/+7 |
* | back to 3 colors | Anselm R. Garbe | 2006-08-25 | 1 | -2/+3 |
* | 3->4 colors | Anselm R. Garbe | 2006-08-24 | 1 | -3/+2 |
* | updated man page | Anselm R. Garbe | 2006-08-23 | 1 | -1/+1 |
* | separated setup stuff into main.c:setup() - this makes main() more readable | Anselm R. Garbe | 2006-08-23 | 1 | -12/+8 |
* | separated several functions into view.c | Anselm R. Garbe | 2006-08-22 | 1 | -10/+12 |
* | changed main event loop | Anselm R.Garbe | 2006-08-15 | 1 | -0/+1 |
* | removed NUMLOCKMASK, added dynamically calculated numlockmask instead | Anselm R.Garbe | 2006-08-14 | 1 | -1/+1 |