Add method to get attributes with a wildcard in the path
authorAlexandre Montplaisir <alexandre.montplaisir@polymtl.ca>
Tue, 20 Mar 2012 20:25:37 +0000 (16:25 -0400)
committerFrancois Chouinard <fchouinard@gmail.com>
Tue, 27 Mar 2012 17:52:22 +0000 (13:52 -0400)
commitf94a0bac4f262617d53e6a872528cb48db7daebb
treea6fd0781d78befaae3cf63758ab4b1b1e2a430ea
parentc66426fdd624e2a2573ddfd48c0cd13d1ac435e9
Add method to get attributes with a wildcard in the path

One can now use getQuarks("x", "*", "z"), and it will return a List
of all attribute quarks whose path matches the "x" and "z" parts.

Not all edge cases have been tested (it fails if the * is a the end),
but proper unit tests will be added shortly. It's also probably
very slow and not yet completely optimized.

Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@polymtl.ca>
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/AttributeTree.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/StateSystem.java
This page took 0.026451 seconds and 5 git commands to generate.