static String findNode(final List<String> children, final String path, final String protectedId)
    {
        final String protectedPrefix = getProtectedPrefix(protectedId);
        String foundNode = Iterables.find
            (
                children,
                new Predicate<String>()
                {
                    @Override
                    public boolean apply(String node)
                    {
                        return node.startsWith(protectedPrefix);
                    }
                },
                null
            );
        if ( foundNode != null )
        {
            foundNode = ZKPaths.makePath(path, foundNode);
        }
        return foundNode;
    }
static String findNode ( final List < String > children , final String path , final String protectedId ) { final String protectedPrefix = getProtectedPrefix ( protectedId ) ; String foundNode = Iterables . find ( children , new Predicate < String > ( ) { @ Override public boolean apply ( String node ) { return node . startsWith ( protectedPrefix ) ; } } , null ) ; if ( foundNode != null ) { foundNode = ZKPaths . makePath ( path , foundNode ) ; } return foundNode ; }
Attempt to find the znode that matches the given path and protected id

@param children    a list of candidates znodes
@param path        the path
@param protectedId the protected id
@return the absolute path of the znode or <code>null</code> if it is not found