Code example for AtomicBoolean

Methods: get

0
        this.isBeingFiltered = isBeingFiltered;
    } 
 
    @Override 
    protected String getSerializedTree(TaskListMetadata list, Filter filter) {
        if (isBeingFiltered.get())
            return "[]"; //$NON-NLS-1$ 
        return super.getSerializedTree(list, filter);
    } 
 
    @Override 
    protected void writeSerialization(TaskListMetadata list, String serialized, boolean shouldQueueSync) {
        if (!isBeingFiltered.get()) {
            super.writeSerialization(list, serialized, shouldQueueSync);
        } 
    } 
 
    @Override 
    public int getIndentForTask(String targetTaskId) {
        if (isBeingFiltered.get())