Java Doc for kelondroTree.java in  » Search-Engine » yacy » de » anomic » kelondro » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Search Engine » yacy » de.anomic.kelondro 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.anomic.kelondro.kelondroAbstractRecords
      de.anomic.kelondro.kelondroCachedRecords
         de.anomic.kelondro.kelondroTree

kelondroTree
public class kelondroTree extends kelondroCachedRecords implements kelondroIndex(Code)

Inner Class :public class Search
Inner Class :public class rowIterator implements kelondroCloneableIterator<kelondroRow.Entry>
Inner Class :public class keyIterator implements kelondroCloneableIterator<byte[]>

Field Summary
final protected static  intbalance
    
protected  longlastIteratorCount
    
final protected static  intleftchild
    
final public static  Loggerlog
    
protected  Comparator<String>loopDetectionOrder
    
final protected static  intmagic
    
final protected static  intparent
    
protected  intreadAheadChunkSize
    
final protected static  intrightchild
    
final protected static  introot
    
final protected static  shortthisFHandles
    
final protected static  shortthisOHBytes
    
final protected static  shortthisOHHandles
    

Constructor Summary
public  kelondroTree(File file, boolean useNodeCache, long preloadTime, kelondroRow rowdef)
    
public  kelondroTree(File file, boolean useNodeCache, long preloadTime, kelondroRow rowdef, int txtProps, int txtPropsWidth)
    
public  kelondroTree(kelondroRA ra, String filename, boolean useNodeCache, long preloadTime, kelondroRow rowdef, boolean exitOnFail)
    
public  kelondroTree(kelondroRA ra, String filename, boolean useNodeCache, long preloadTime, kelondroRow rowdef, kelondroByteOrder objectOrder, int txtProps, int txtPropsWidth, boolean exitOnFail)
    
public  kelondroTree(kelondroRA ra, String filename, boolean useNodeCache, long preloadTime)
    

Method Summary
public synchronized  voidaddUnique(kelondroRow.Entry row)
    
public synchronized  voidaddUnique(kelondroRow.Entry row, Date entryDate)
    
public synchronized  voidaddUniqueMultiple(List<kelondroRow.Entry> rows)
    
public static  voidbigtest(int elements)
    
public static  voidcmd(String[] args)
    
public static  intcountElements(kelondroIndex t)
    
protected  CacheNodefirstNode()
    
protected  CacheNodefirstNode(CacheNode node)
    
public  kelondroRow.Entryget(byte[] key)
    
public  booleanhas(byte[] key)
    
public synchronized  intheight()
    
public  intimp(File file, String separator)
    
public synchronized  booleanisChild(kelondroNode childn, kelondroNode parentn, int child)
    
public  TreeSet<String>keySet(boolean up, boolean rotating, byte[] firstKey, boolean including, int count)
    
public  kelondroCloneableIterator<byte[]>keys(boolean up, byte[] firstKey)
    
protected  CacheNodelastNode()
    
protected  CacheNodelastNode(CacheNode node)
    
public static  voidmain(String[] args)
    
final public static  kelondroTreeopen(File file, boolean useNodeCache, long preloadTime, kelondroRow rowdef)
    
final public static  kelondroTreeopen(File file, boolean useNodeCache, long preloadTime, kelondroRow rowdef, int txtProps, int txtPropsWidth)
    
public static  String[]permutations(int letters)
    
public static  String[]permutations(String source)
    
public  voidprint()
    
public  kelondroRow.Entryput(kelondroRow.Entry row, Date entryDate)
    
public  kelondroRow.Entryput(kelondroRow.Entry newrow)
    
public  byte[]put(byte[] key, byte[] value)
    
public synchronized  voidputMultiple(List<Entry> rows)
    
public static  voidrandomtest(int elements)
    
public  kelondroRow.Entryremove(byte[] key, boolean keepOrder)
    
public synchronized  voidremoveAll()
    
public  ArrayList<kelondroRowSet>removeDoubles()
    
public  kelondroRow.EntryremoveOne()
    
public  voidreset()
    
public  TreeMap<String, kelondroRow.Entry>rowMap(boolean up, byte[] firstKey, boolean including, int count)
    
public  kelondroCloneableIterator<kelondroRow.Entry>rows(boolean up, byte[] firstKey)
    
public static  voidsmalltest()
    
public static  kelondroTreetestTree(File f, String testentities)
    
public static  byte[]testWord(char c)
    

Field Detail
balance
final protected static int balance(Code)



lastIteratorCount
protected long lastIteratorCount(Code)



leftchild
final protected static int leftchild(Code)



log
final public static Logger log(Code)



loopDetectionOrder
protected Comparator<String> loopDetectionOrder(Code)



magic
final protected static int magic(Code)



parent
final protected static int parent(Code)



readAheadChunkSize
protected int readAheadChunkSize(Code)



rightchild
final protected static int rightchild(Code)



root
final protected static int root(Code)



thisFHandles
final protected static short thisFHandles(Code)



thisOHBytes
final protected static short thisOHBytes(Code)



thisOHHandles
final protected static short thisOHHandles(Code)




Constructor Detail
kelondroTree
public kelondroTree(File file, boolean useNodeCache, long preloadTime, kelondroRow rowdef) throws IOException(Code)



kelondroTree
public kelondroTree(File file, boolean useNodeCache, long preloadTime, kelondroRow rowdef, int txtProps, int txtPropsWidth) throws IOException(Code)



kelondroTree
public kelondroTree(kelondroRA ra, String filename, boolean useNodeCache, long preloadTime, kelondroRow rowdef, boolean exitOnFail)(Code)



kelondroTree
public kelondroTree(kelondroRA ra, String filename, boolean useNodeCache, long preloadTime, kelondroRow rowdef, kelondroByteOrder objectOrder, int txtProps, int txtPropsWidth, boolean exitOnFail)(Code)



kelondroTree
public kelondroTree(kelondroRA ra, String filename, boolean useNodeCache, long preloadTime) throws IOException(Code)




Method Detail
addUnique
public synchronized void addUnique(kelondroRow.Entry row) throws IOException(Code)



addUnique
public synchronized void addUnique(kelondroRow.Entry row, Date entryDate) throws IOException(Code)



addUniqueMultiple
public synchronized void addUniqueMultiple(List<kelondroRow.Entry> rows) throws IOException(Code)



bigtest
public static void bigtest(int elements)(Code)



cmd
public static void cmd(String[] args)(Code)



countElements
public static int countElements(kelondroIndex t)(Code)



firstNode
protected CacheNode firstNode() throws IOException(Code)



firstNode
protected CacheNode firstNode(CacheNode node) throws IOException(Code)



get
public kelondroRow.Entry get(byte[] key) throws IOException(Code)



has
public boolean has(byte[] key) throws IOException(Code)



height
public synchronized int height()(Code)



imp
public int imp(File file, String separator) throws IOException(Code)



isChild
public synchronized boolean isChild(kelondroNode childn, kelondroNode parentn, int child)(Code)



keySet
public TreeSet<String> keySet(boolean up, boolean rotating, byte[] firstKey, boolean including, int count) throws IOException(Code)



keys
public kelondroCloneableIterator<byte[]> keys(boolean up, byte[] firstKey) throws IOException(Code)



lastNode
protected CacheNode lastNode() throws IOException(Code)



lastNode
protected CacheNode lastNode(CacheNode node) throws IOException(Code)



main
public static void main(String[] args)(Code)



open
final public static kelondroTree open(File file, boolean useNodeCache, long preloadTime, kelondroRow rowdef)(Code)



open
final public static kelondroTree open(File file, boolean useNodeCache, long preloadTime, kelondroRow rowdef, int txtProps, int txtPropsWidth)(Code)



permutations
public static String[] permutations(int letters)(Code)



permutations
public static String[] permutations(String source)(Code)



print
public void print() throws IOException(Code)



put
public kelondroRow.Entry put(kelondroRow.Entry row, Date entryDate) throws IOException(Code)



put
public kelondroRow.Entry put(kelondroRow.Entry newrow) throws IOException(Code)



put
public byte[] put(byte[] key, byte[] value) throws IOException(Code)



putMultiple
public synchronized void putMultiple(List<Entry> rows) throws IOException(Code)



randomtest
public static void randomtest(int elements)(Code)



remove
public kelondroRow.Entry remove(byte[] key, boolean keepOrder) throws IOException(Code)



removeAll
public synchronized void removeAll() throws IOException(Code)



removeDoubles
public ArrayList<kelondroRowSet> removeDoubles()(Code)



removeOne
public kelondroRow.Entry removeOne() throws IOException(Code)



reset
public void reset() throws IOException(Code)



rowMap
public TreeMap<String, kelondroRow.Entry> rowMap(boolean up, byte[] firstKey, boolean including, int count) throws IOException(Code)



rows
public kelondroCloneableIterator<kelondroRow.Entry> rows(boolean up, byte[] firstKey) throws IOException(Code)



smalltest
public static void smalltest()(Code)



testTree
public static kelondroTree testTree(File f, String testentities) throws IOException(Code)



testWord
public static byte[] testWord(char c)(Code)



Methods inherited from de.anomic.kelondro.kelondroCachedRecords
final public static int cacheGrowStatus(long available, long stopGrow, long startShrink)(Code)(Java Doc)
public synchronized void close()(Code)(Java Doc)
protected synchronized void deleteNode(kelondroHandle handle) throws IOException(Code)(Java Doc)
final public static Iterator<String> filenames()(Code)(Java Doc)
public static long getMemStartShrink()(Code)(Java Doc)
public static long getMemStopGrow()(Code)(Java Doc)
final public static Map<String, String> memoryStats(String filename)(Code)(Java Doc)
public kelondroNode newNode(kelondroHandle handle, byte[] bulk, int offset) throws IOException(Code)(Java Doc)
public void print() throws IOException(Code)(Java Doc)
protected void printCache()(Code)(Java Doc)
public kelondroProfile profile()(Code)(Java Doc)
public kelondroProfile[] profiles()(Code)(Java Doc)
public static void setCacheGrowStati(long memStopGrowNew, long memStartShrinkNew)(Code)(Java Doc)

Fields inherited from de.anomic.kelondro.kelondroAbstractRecords
protected short OHBYTEC(Code)(Java Doc)
protected short OHHANDLEC(Code)(Java Doc)
protected long POS_NODES(Code)(Java Doc)
protected kelondroRow ROW(Code)(Java Doc)
protected usageControl USAGE(Code)(Java Doc)
public static boolean debugmode(Code)(Java Doc)
protected kelondroIOChunks entryFile(Code)(Java Doc)
protected boolean fileExisted(Code)(Java Doc)
protected String filename(Code)(Java Doc)
protected int headchunksize(Code)(Java Doc)
protected int overhead(Code)(Java Doc)
protected int recordsize(Code)(Java Doc)
protected int tailchunksize(Code)(Java Doc)
protected Logger theLogger(Code)(Java Doc)

Methods inherited from de.anomic.kelondro.kelondroAbstractRecords
final public static void NUL2bytes(byte[] b, int offset)(Code)(Java Doc)
final public synchronized byte[] bulkRead(int start, int end) throws IOException(Code)(Java Doc)
final public static int bytes2int(byte[] b, int offset)(Code)(Java Doc)
public synchronized void close()(Code)(Java Doc)
final protected Iterator<kelondroNode> contentNodes(long maxInitTime) throws kelondroException(Code)(Java Doc)
final public Iterator<EntryIndex> contentRows(long maxInitTime) throws kelondroException(Code)(Java Doc)
protected synchronized void deleteNode(kelondroHandle handle) throws IOException(Code)(Java Doc)
final protected Set<kelondroHandle> deletedHandles(long maxTime) throws kelondroException, IOException(Code)(Java Doc)
final protected static boolean equals(byte[] a, byte[] b)(Code)(Java Doc)
public String filename()(Code)(Java Doc)
public void finalize()(Code)(Java Doc)
final protected synchronized int free()(Code)(Java Doc)
public byte[] getDescription() throws IOException(Code)(Java Doc)
final protected kelondroHandle getHandle(int pos)(Code)(Java Doc)
final public byte[] getText(int pos)(Code)(Java Doc)
final public synchronized int handles()(Code)(Java Doc)
final public static void int2bytes(long i, byte[] b, int offset)(Code)(Java Doc)
final public boolean isEmpty()(Code)(Java Doc)
final protected static String[] line2args(String line)(Code)(Java Doc)
public void logFailure(String message)(Code)(Java Doc)
public void logFine(String message)(Code)(Java Doc)
public void logWarning(String message)(Code)(Java Doc)
abstract public kelondroNode newNode(kelondroHandle handle, byte[] bulk, int offset) throws IOException(Code)(Java Doc)
public static kelondroByteOrder orderBySignature(String signature)(Code)(Java Doc)
public void print() throws IOException(Code)(Java Doc)
protected void printChunk(kelondroRow.Entry chunk)(Code)(Java Doc)
public void reset() throws IOException(Code)(Java Doc)
final public kelondroRow row()(Code)(Java Doc)
final protected long seekpos(kelondroHandle handle)(Code)(Java Doc)
final protected long seekpos(int index)(Code)(Java Doc)
public void setDescription(byte[] description) throws IOException(Code)(Java Doc)
final protected void setHandle(int pos, kelondroHandle handle) throws IOException(Code)(Java Doc)
public void setLogger(Logger newLogger)(Code)(Java Doc)
final public void setText(int pos, byte[] text) throws IOException(Code)(Java Doc)
public synchronized int size()(Code)(Java Doc)
public static int staticsize(File file)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public static byte[] trimCopy(byte[] a, int offset, int length)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.