MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / getCurrentState

Method getCurrentState

src/main/java/org/htmlunit/History.java:355–360  ·  view source on GitHub ↗

Returns current state object. @return the current state object

()

Source from the content-addressed store, hash-verified

353 * @return the current state object
354 */
355 public Object getCurrentState() {
356 if (index_ >= 0 && index_ < entries_.size()) {
357 return entries_.get(index_).getState();
358 }
359 return null;
360 }
361
362 /**
363 * Re-initializes transient fields when an object of this type is deserialized.

Callers 1

getStateMethod · 0.80

Calls 3

sizeMethod · 0.45
getStateMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected