Permalink
Browse files

Finalized refactoring by changing packet names

  • Loading branch information...
1 parent aa0d2e6 commit 1b6830c2d1b54e80185e724e749ad154e3a46164 daniel committed Dec 18, 2008
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>RemoteSystemsTempFiles</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.rse.ui.remoteSystemsTempNature</nature>
+ </natures>
+</projectDescription>
@@ -1,6 +1,6 @@
-package com.agical.jfunc.scala
+package com.agical.jambda.scala
-import com.agical.jfunc.Functions._
+import com.agical.jambda.Functions._
object JavaFunctions {
implicit def scalaFn0ToJavaFn0[R](f:Function0[R]):Fn0[R] = new Fn0[R] {
@@ -1,4 +1,4 @@
-package com.agical.jfunc.scala
+package com.agical.jambda.scala
@@ -1,11 +1,11 @@
-package com.agical.jfunc;
+package com.agical.jambda;
-import static com.agical.jfunc.Option.*;
+import static com.agical.jambda.Option.*;
import java.util.Iterator;
import java.util.NoSuchElementException;
-import com.agical.jfunc.Functions.*;
+import com.agical.jambda.Functions.*;
public class Cons<T> implements Iterable<T> {
public final Option<T> head;
@@ -50,7 +50,7 @@ public boolean hasNext() {
}
public T next() {
- // ElŠnde...
+ // El�nde...
T element = this.cons.head.escape(
new Fn0<T>() { public T apply() { throw new NoSuchElementException(); } });
this.cons = this.cons.tail;
@@ -1,4 +1,4 @@
-package com.agical.jfunc;
+package com.agical.jambda;
public class Functions {
@@ -1,10 +1,10 @@
-package com.agical.jfunc;
+package com.agical.jambda;
import java.util.AbstractCollection;
import java.util.Iterator;
import java.util.NoSuchElementException;
-import com.agical.jfunc.Functions.*;
+import com.agical.jambda.Functions.*;
public abstract class Option<T> extends AbstractCollection<T> {
public abstract <TOut> TOut map(Fn1<T, TOut> someFn, Fn0<TOut> noneFn);
@@ -1,6 +1,6 @@
-package com.agical.jfunc;
+package com.agical.jambda;
-import com.agical.jfunc.Functions.Fn1;
+import com.agical.jambda.Functions.Fn1;
public abstract class Union<TLeft, TRight> {
public abstract <TOut> TOut map(Fn1<TLeft, TOut> leftFn,

0 comments on commit 1b6830c

Please sign in to comment.