Creative Patterns: Factory Approach

Article firstCreative Patterns: Factory Approach brief introduction Name: Factory Method English name: Factory method Pattern Values: Expansion is my monopoly Personal introduction: Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Methods lets a class defer instantiation to subclasses. ...

Posted by FFEMTcJ on Tue, 07 May 2019 18:45:04 +0200

Solution for automatic update of Chinese word segmentation full-text index in NEO4J

Solution for automatic update of Chinese word segmentation full-text index in NEO4J 1. Sample data 2. Differences between English and Chinese Full-Text Indexes 1. Create NEO4J default index 2. Delete Index 3. Create an index that supports Chinese words 3. APOC has its own English full-text indexing process (indexing can be ...

Posted by frog_ on Mon, 06 May 2019 13:10:03 +0200

Clever positioning of ANR issues

It must be that children's shoes that have been developed with Android have met anr (Application Not Responding).The general practice is to go to/data/anr/trace.txt and fetch the corresponding file.Then, find the result you want from this huge stack of information.But it's crazy to get a bunch of arn stack information. How can I find my problem ...

Posted by jplock on Sun, 05 May 2019 23:00:02 +0200