|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Classes in com.nearform.patrun used by com.nearform.patrun | |
|---|---|
| Customiser
Interface to be implemented if you need to customise the add / find or remove behaviour of a Patrun object |
|
| Modifier
An interface for a custom modifier used to customise the find and remove methods |
|
| Patrun
Package patrun is a fast pattern matcher on Go map properties For a full guide visit https://github.com/colmharte/patrun-java Need to pick out an object based on a subset of its properties? Say you've got: { x: 1 } -> A { x: 1, y: 1 } -> B { x: 1, y: 2 } -> C Then patrun can give you the following results: { x: 1 } -> A { x: 2 } -> no match { x: 1, y: 1 } -> B { x: 1, y: 2 } -> C { x: 2, y: 2 } -> no match { y: 1 } -> no match It's basically _query-by-example_ for property sets. |
|
| Pattern
Represents a data Node within the patrun decision tree |
|
| Printer
A simple interface to that can be passed ionto the toString method of patrun to allow data objects to be ciustom formatted when being generated into a String |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||