Skip to content

Commit

Permalink
Merge pull request #30 from adrnai/master
Browse files Browse the repository at this point in the history
repackaged lucene-experimental
  • Loading branch information
iladriano committed Feb 25, 2012
2 parents d19797a + 928c263 commit 8980391
Show file tree
Hide file tree
Showing 202 changed files with 59 additions and 23,731 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util;
package com.flaptor.org.apache.lucene.util;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand All @@ -20,6 +20,7 @@
import java.util.Collection;
import java.util.Comparator;


/**
* Methods for manipulating arrays.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util;
package com.flaptor.org.apache.lucene.util;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand All @@ -20,6 +20,7 @@
import java.util.IdentityHashMap;
import java.util.Map;


/**
* An average, best guess, MemoryModel that should work okay on most systems.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util;
package com.flaptor.org.apache.lucene.util;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util;
package com.flaptor.org.apache.lucene.util;

import java.util.Comparator;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util;
package com.flaptor.org.apache.lucene.util;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util;
package com.flaptor.org.apache.lucene.util;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util;
package com.flaptor.org.apache.lucene.util;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util;
package com.flaptor.org.apache.lucene.util;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand All @@ -21,6 +21,10 @@
import java.text.DecimalFormat;
import java.util.*;

import org.apache.lucene.util.AverageGuessMemoryModel;
import org.apache.lucene.util.Constants;
import org.apache.lucene.util.MemoryModel;

/**
* Estimates the size of a given Object using a given MemoryModel for primitive
* size information.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util;
package com.flaptor.org.apache.lucene.util;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util;
package com.flaptor.org.apache.lucene.util;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

import java.util.Arrays;
import java.util.BitSet;
Expand All @@ -38,8 +38,8 @@
import java.util.List;
import java.util.Set;

import org.apache.lucene.util.ArrayUtil2;
import org.apache.lucene.util.RamUsageEstimator;
import com.flaptor.org.apache.lucene.util.RamUsageEstimator;
import com.flaptor.org.apache.lucene.util.ArrayUtil2;

/**
* Finite-state automaton with regular expression operations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

import java.util.ArrayList;
import java.util.Collection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

import org.apache.lucene.util.ArrayUtil2;
import org.apache.lucene.util.RamUsageEstimator;
import com.flaptor.org.apache.lucene.util.RamUsageEstimator;
import com.flaptor.org.apache.lucene.util.ArrayUtil2;

import java.util.ArrayList;
import java.util.BitSet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand All @@ -21,7 +21,7 @@
// This package is available under the MIT License, see NOTICE.txt
// for more details.

import org.apache.lucene.util.automaton.LevenshteinAutomata.ParametricDescription;
import com.flaptor.org.apache.lucene.util.automaton.LevenshteinAutomata.ParametricDescription;

/** Parametric description for generating a Levenshtein automaton of degree 1 */
class Lev1ParametricDescription extends ParametricDescription {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand All @@ -21,7 +21,7 @@
// This package is available under the MIT License, see NOTICE.txt
// for more details.

import org.apache.lucene.util.automaton.LevenshteinAutomata.ParametricDescription;
import com.flaptor.org.apache.lucene.util.automaton.LevenshteinAutomata.ParametricDescription;

/** Parametric description for generating a Levenshtein automaton of degree 2 */
class Lev2ParametricDescription extends ParametricDescription {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

import java.util.BitSet;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

import java.io.IOException;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

/**
* Finite-state automaton with fast run operation.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand All @@ -19,8 +19,9 @@

import java.util.TreeMap;
import java.util.Map;
import org.apache.lucene.util.ArrayUtil2;
import org.apache.lucene.util.RamUsageEstimator;

import com.flaptor.org.apache.lucene.util.RamUsageEstimator;
import com.flaptor.org.apache.lucene.util.ArrayUtil2;

// Just holds a set of int[] states, plus a corresponding
// int[] count per state. Used by
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

import java.util.BitSet;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;

import org.apache.lucene.util.BytesRef;
import com.flaptor.org.apache.lucene.util.BytesRef;

/**
* Special automata operations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package org.apache.lucene.util.automaton;
import org.apache.lucene.util.ArrayUtil2;
import org.apache.lucene.util.RamUsageEstimator;
package com.flaptor.org.apache.lucene.util.automaton;
import com.flaptor.org.apache.lucene.util.RamUsageEstimator;
import com.flaptor.org.apache.lucene.util.ArrayUtil2;

import java.util.Collection;
import java.util.Comparator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

/**
* Pair of states.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

import java.util.Comparator;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.apache.lucene.util.automaton;
package com.flaptor.org.apache.lucene.util.automaton;

/**
* Licensed to the Apache Software Foundation (ASF) under one or more
Expand All @@ -17,8 +17,8 @@
* limitations under the License.
*/

import org.apache.lucene.util.RamUsageEstimator;
import org.apache.lucene.util.ArrayUtil2;
import com.flaptor.org.apache.lucene.util.RamUsageEstimator;
import com.flaptor.org.apache.lucene.util.ArrayUtil2;

import java.util.List;
import java.util.ArrayList;
Expand Down
Loading

0 comments on commit 8980391

Please sign in to comment.