1 19 package org.netbeans.mdr.persistence.btreeimpl.btreeindex; 20 21 24 final class SearchResult extends Object { 25 26 boolean matched; 27 int entryNum; 28 BtreePage page; 29 int skipCount; 32 33 SearchResult(boolean matched, int entryNum, BtreePage page) { 34 this.matched = matched; 35 this.entryNum = entryNum; 36 this.page = page; 37 } 38 39 SearchResult(SearchResult source) { 40 this.matched = source.matched; 41 this.entryNum = source.entryNum; 42 this.page = source.page; 43 } 44 45 void copy(SearchResult target) { 46 target.matched = matched; 47 target.entryNum = entryNum; 48 target.page = page; 49 target.skipCount = skipCount; 50 } 51 } 52 | Popular Tags |