Toggle navigation
Home
org.neo4j.cursor.IOCursor<org.neo4j.coreedge.raft.log.RaftLogEntry> to org.neo4j.coreedge.raft.log.RaftLogCursor
No. of Instances - 19
No. of Commits - 1
No. of Projects - {'neo4j'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Cascading Type Change (Similar)
IOCursor<RaftLogEntry>
to
RaftLogCursor
IOCursor<RaftLogEntry>
to
RaftLogCursor
Other
(currentIndex <= appendIndex) ? readLogEntry(currentIndex) : null
to
readLogEntry(currentIndex)
Update Anonymous class
{ private RaftLogEntry current=null; @Override public boolean next() throws IOException { boolean hasNext=inner.next(); if (hasNext) { current=inner.get().getLogEntry(); } else { current=null; } return hasNext; } @Override public void close() throws IOException { inner.close(); } @Override public RaftLogEntry get(){ return current; } }
to
{ private RaftLogEntry current=null; @Override public boolean next() throws IOException { boolean hasNext=inner.next(); if (hasNext) { current=inner.get().logEntry(); } else { current=null; } return hasNext; } @Override public void close() throws IOException { inner.close(); } @Override public RaftLogEntry get(){ return current; } }