Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
2つのワークシートをApachePOIと比較する必要があります。ワークシートの比較機能など、これを行う簡単な方法はありますか、それとも各セルを比較する必要がありますか?
すべてのセルを反復処理して、実行中のハッシュなどを計算してみてください。ワークシートごとに 1 回ずつ、2 回実行します。ハッシュが同じ場合、ワークシートは同じです。私の知る限り、それを行うすぐに使える方法はありません。
これは、セルごとに比較するよりも優れたアプローチだと思います (セルごとのアプローチでは 2 つのワークシートが開かれるのに対し、一度に 1 つのワークシートしか開かれないため)。
I have this structure of List<Object>, to be specific it is a "CategoryItem" Object. Here's my declaration of "CategoryItem" Object.
List<Object>
public class CategoryItem { public string Nam