question: private static Entry newEntry ( ByteBuffer buffer , int entryLength , boolean isLeaf ) throws IOException { if ( isLeaf ) { return new Entry ( buffer , entryLength ) ; } return new NodeEntry ( buffer , entryLength ) ; }
target:  Returns a new Entry of the correct type for the given data and page type.