codesimian
Class WholeMP3

java.lang.Object
  extended by codesimian.WholeMP3

Deprecated.

@Deprecated
public class WholeMP3
extends java.lang.Object

WholeMP3 has been replaced by SlowMP3. The only useful parts left are the static functions, like combineArrays(List).


Constructor Summary
WholeMP3()
          Deprecated.  
 
Method Summary
static short[] combineArrays(java.util.List<short[]> listOfShortArrays)
          Deprecated.  
static int[] locationOfLargestRepeatedSubset(short[] array)
          Deprecated. Used for debugging sound data.
static short[] reverseBytes(short[] array)
          Deprecated.  
static void testLocationOfLargestRepeatedSubset()
          Deprecated. returns true if locationOfLargestRepeatedSubset works correctly on a test array
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WholeMP3

public WholeMP3()
Deprecated. 
Method Detail

combineArrays

public static short[] combineArrays(java.util.List<short[]> listOfShortArrays)
Deprecated. 

reverseBytes

public static short[] reverseBytes(short[] array)
Deprecated. 

testLocationOfLargestRepeatedSubset

public static void testLocationOfLargestRepeatedSubset()
Deprecated. 
returns true if locationOfLargestRepeatedSubset works correctly on a test array


locationOfLargestRepeatedSubset

public static int[] locationOfLargestRepeatedSubset(short[] array)
Deprecated. 
Used for debugging sound data. Returns new int[]{startIndex,size} where startIndex is an index in array[] and size is the size of the repeated subset. A repeated subset is any of 2 or more (nonintersecting?) subsets that have equal contents.

This function is VERY SLOW. It is approximately big-O: array.length^2 and array is usually huge