Spreadsheet Toolkit

corpus.gobbler
Class SearchResult

java.lang.Object
  |
  +--corpus.gobbler.SearchResult

public class SearchResult
extends java.lang.Object

Title:

Description:

Copyright: Copyright (c) 2002

Company: VUW:MCS


Field Summary
protected  java.lang.String[] urls
           
 
Constructor Summary
SearchResult()
           
 
Method Summary
 void add(java.lang.String[] newurls)
          Append some new urls to the list.
protected static java.lang.String[] arrayCombine(java.lang.String[] one, java.lang.String[] two, int twolength)
          Combines two arrays into one larger array.
 int size()
           
 java.lang.String[] StringArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

urls

protected java.lang.String[] urls
Constructor Detail

SearchResult

public SearchResult()
Method Detail

add

public void add(java.lang.String[] newurls)
Append some new urls to the list. Remove any duplicates.


size

public int size()

StringArray

public java.lang.String[] StringArray()

arrayCombine

protected static java.lang.String[] arrayCombine(java.lang.String[] one,
                                                 java.lang.String[] two,
                                                 int twolength)
Combines two arrays into one larger array.

Parameters:
one - The first array (can be null)
two - The second array
twolength - The length to be copied from the second array. Set to <=0 to copy entire 2nd array.

Spreadsheet Toolkit

Project Home Page