skip to main
|
skip to sidebar
Yue Zhang - Techlog
Wednesday, September 17, 2008
Java note: assertion
The assert statement in Java are ignored from compile by default. To enable assert, add -ea when compiling.
javac -ea example.java
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Yue Zhang
I like programming, travelling, table tennis and electronic games. I program in C++, Java, Python, HTML, Javascript and other languages. Python is my favorate programming language. I like travelling in Europe and China.
View my complete profile
Blog Archive
►
2011
(7)
►
July
(2)
SRILM note: the use of MACHINE_TYPE for customized...
OpenOffice Note: selecting all footnotes
►
June
(1)
C++ note: commas and brackets in a macro
►
March
(1)
Bash note: get the path for the running script
►
January
(3)
Python note: breaking a long statement to add end ...
Python note: set equality test
grep note: find all words that contains a particul...
►
2010
(5)
►
November
(1)
C++ note: pure virtual method called
►
October
(3)
C++ note: static variable from inline member funct...
Sh note: adding a line at the front of files
Sh note: reversing a file or a line
►
March
(1)
C++ note: enabling and disabling assert
►
2009
(3)
►
November
(1)
LaTeX note: two columns
►
August
(1)
Linux note: recursive replacement
►
April
(1)
C++ note: using a functor to help organise a vecto...
▼
2008
(16)
►
December
(1)
Linux note: grep command
▼
September
(3)
Java note: toarray
Java note: generics
Java note: assertion
►
July
(3)
Python note: swapping objects
Python note: functional programming saves code whe...
LIBSVM note: problems
►
May
(1)
Python tool: Chinese Treebank
►
April
(1)
Python note: reversing lists
►
March
(4)
Python note: the difference between __getattr__ an...
Python tool: traditional to simplified Chinese con...
sqlite note: using the command line tool
C++ note: static_cast from a reference to a value
►
January
(3)
Python note: the main entry of a python file
C++ Makefile case study: incorrect dependencies ca...
C++ question - linker failed
►
2007
(28)
►
November
(5)
latex note: minipage with borders
C++ note: initializers in multiple inheritance
C++ note: avoid allocating large structures in the...
C++ note: pointer and reference
C++ note: predefined macros
►
October
(2)
C++ note: operator precedence
Compile log: SRILM
►
September
(6)
vim note: grep
mod_python note: sessions
Python note: using the windows clipboard
Apach note: mod_python global objects
Apache note: set up a mod_python server
Latex note: how to shrink tables
►
August
(2)
C++ note: unsigned int
Linux note: how to disable output
►
June
(3)
VIM note: viewport
C++ note: mix with C code
Javascript note: about the regular expressions
►
May
(4)
Python note: python eggs
►
April
(3)
►
March
(2)
►
January
(1)
►
2006
(20)
►
November
(2)
►
October
(1)
►
September
(3)
►
August
(1)
►
July
(2)
►
June
(1)
►
May
(7)
►
April
(2)
►
March
(1)
►
2005
(9)
►
September
(1)
►
August
(5)
►
July
(3)
0 comments:
Post a Comment