Skip to content

Apache Lucene open-source search software

added getCurrentKey method

cmarschnerebbf92c2f4a9
diff --git a/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/util/HashedCircularLinkedList.java b/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/util/HashedCircularLinkedList.java
index 8c980fa6140..93351f099dc 100644
--- a/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/util/HashedCircularLinkedList.java
+++ b/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/util/HashedCircularLinkedList.java
@@ -93,6 +93,13 @@ public class HashedCircularLinkedList
}
}
+ public Object getCurrentKey()
+ {
+
+ return current != null ? current.key : null;
+
+ }
+
/**
* the list. contains objects
*/