(actual code follows)
new Pair
[Error: Irreparable invalid markup ('<methodwrapper,>') in entry. Owner must fix manually. Raw contents below.]
I just want to create a damn pair.
(actual code follows)
new Pair<MethodWrapper, List<MethodWrapper>>(result, new ArrayList<MethodWrapper>())
Sigh. In a civilized language, this would be simply "(result, nil)".
(actual code follows)
new Pair<MethodWrapper, List<MethodWrapper>>(result, new ArrayList<MethodWrapper>())
Sigh. In a civilized language, this would be simply "(result, nil)".
2005-04-27 08:54 pm (UTC)
2005-04-28 02:44 pm (UTC)
Hey, jcreed: if you want to sex up your CV, try turning all that proof irrelevance stuff you're doing for Twelf into stuff for Java</a>, because everything is more fashionable in Java. And then demoness101 can create her pair without swearing. :)
2005-04-27 10:22 pm (UTC)
New Java 1.5! Now with more irreparable invalid markup goodness.
Probably obvious
(Anonymous)
2005-07-01 04:41 pm (UTC)
class Pair<T,U> { public static Pair<T,U> make( T t, U u ) { return new Pair<T,U>( t, u ); } }Re: Probably obvious
(Anonymous)
2005-07-01 04:42 pm (UTC)