@Test public void testEntryExitCounts() { ResourceWrapper resourceWrapper = new StringResourceWrapper("resA", EntryType.IN); TestEntry entry = new TestEntry(resourceWrapper); entry.exit(); assertEquals(-1, entry.count); entry.exit(9); assertEquals(-10, entry.count); }
public void exit() throws ErrorEntryFreeException { exit(1, OBJECTS0); }
Entry implements AutoCloseable { public void exit() throws ErrorEntryFreeException { exit(1, OBJECTS0); } }
Entry implements AutoCloseable { public void exit() throws ErrorEntryFreeException { exit(1, OBJECTS0); } Entry(ResourceWrapper resourceWrapper); }
Entry implements AutoCloseable { public void exit() throws ErrorEntryFreeException { exit(1, OBJECTS0); } Entry(ResourceWrapper resourceWrapper); ResourceWrapper getResourceWrapper(); void exit(); void exit(int count); @Override void close(); abstract void exit(int count, Object... args); abstract Node getLastNode(); long getCreateTime(); Node getCurNode(); void setCurNode(Node node); Throwable getError(); void setError(Throwable error); Node getOriginNode(); void setOriginNode(Node originNode); }
Entry implements AutoCloseable { public void exit() throws ErrorEntryFreeException { exit(1, OBJECTS0); } Entry(ResourceWrapper resourceWrapper); ResourceWrapper getResourceWrapper(); void exit(); void exit(int count); @Override void close(); abstract void exit(int count, Object... args); abstract Node getLastNode(); long getCreateTime(); Node getCurNode(); void setCurNode(Node node); Throwable getError(); void setError(Throwable error); Node getOriginNode(); void setOriginNode(Node originNode);  }