APISonar


java.util.ArrayList.clear

> java > util > ArrayList > clear
java APIs util APIs ArrayList APIs clear APIs

Example 1
private ArrayList<Float> gyro_z_Data = new ArrayList<Float>();

    public void clearDataBuffer() {
        acc_x_Data.clear();
        acc_y_Data.clear();
        acc_z_Data.clear();
        gyro_x_Data.clear();
        gyro_y_Data.clear();
        gyro_z_Data.clear();
        sensorData.clear();
        accRecorded = false;
        gyroRecorded = false;

    }
Example 2
private ArrayList uidlList = null;

	private void clear()
	{
		uidlList.clear();
		uidlToID.clear();
		sizes.clear();
		uidls = null;
		mails = 0;
	}
Example 3
private ArrayList myArrayList;

	public void clear() {
		myArrayList.clear();
		
	}
Example 4
private ArrayList<Boolean> isOverlayDirty;

    public void onItemsReplaced(List<V> items) {
        if (!isInited) {
            return;
        }

        values.clear();
        jsValues.clear();
        if (isOverlaysSupported) {
            jsOverlays.clear();
            isOverlayDirty.clear();
        }
        onItemsAddedOrUpdated(items);
    }
Example 5
private ArrayList<X> data;

  public void clear() {
    data.clear();
    reset();
  }
Example 6
private final ArrayList<T> _list;

  public void clear()
  {
    _list.clear();
  }
Example 7
private ArrayList definitionAttribute;

    public void clearDefinition()
    {
    	definitionElement.clear();
    	definitionAttribute.clear();
    }
Example 8
ArrayList<E> storage = new ArrayList<>();

	public void clear() {
		storage.clear();
		
	}
Example 9
private ArrayList<Integer> freeList;

    public void clear() {
        nextIndex = 0;
        freeList.clear();
    }
Example 10
private ArrayList<T> mOriginalValues;

    public void clear() {
        synchronized (mLock) {
            if (mOriginalValues != null) {
                mOriginalValues.clear();
            } else {
                mObjects.clear();
            }
        }
        if (mNotifyOnChange) notifyDataSetChanged();
    }
Example 11
private ArrayList _messageHandles;

    void clear () {

      _deleteMessagesWhenRead = false;
      _messageHandles.clear();
      _contextInfo = null;
      _contextInfoContainsDefaultEntries = false;
    }
Example 12
private ArrayList<Object> iElementPairs;

    public void clear() {
        iFormatter = null;
        iElementPairs.clear();
    }
Example 13
private ArrayList<String> tickLabels;

    protected void update(int length) {
        tickLabelValues.clear();
        tickLabels.clear();
        tickLabelPositions.clear();


        if (scale.isLogScaleEnabled()) {
            updateTickLabelForLogScale(length);
        }else {
            updateTickLabelForLinearScale(length);
        }

        updateTickVisibility();
        updateTickLabelMaxLengthAndHeight();
    }
Example 14
private ArrayList<String> strings = new ArrayList<>();

	public void deleteAll() {
		synchronized (selected) {
			strings.clear();
			images.clear();
			selected.clear();

			selectedIndex = -1;

			if (list != null) {
				adapter.deleteAll();
			}
		}
	}
Example 15
ArrayList wordInfoList = new ArrayList();

    public synchronized void clear() {
        if (baseWord != null) {
            baseWord = null;
            wordsMap.clear();
            wordInfoList.clear();
            wordsIndex = 0;
        }
    }
Example 16
private ArrayList<T> mData;

	public void clear(){
		if(mData != null){
			mData.clear();
		}
	}
Example 17
private ArrayList<T> items = new ArrayList<>();

    public void clear() {
        items.clear();
        notifyDataSetChanged();
    }
Example 18
private ArrayList<Map<String, QName>> namespaceCacheList = new ArrayList<Map<String, QName>>();

    public void clear() {
        namespaceStack.clear();
        namespaceCacheList.clear();
        rootNamespaceCache.clear();
        currentNamespaceCache = null;
    }
Example 19
private ArrayList _readyJobs;

    public void restart() {
        synchronized (_jobLock) {
            _timedJobs.clear();
            _readyJobs.clear();
            _jobLock.notifyAll();
        }
    }
Example 20
private ArrayList<Permission> restrictablePermissions = new ArrayList<Permission>();

    private void clearPermissions() {
    	restrictablePermissions.clear();
    	grantedPermissions.clear();
    	codeBasePermissionMap.clear();
	}
Example 21
private ArrayList<Integer> percent;

	public void reset() {
		authors.clear();
		percent.clear();
		chartImage = null;
	}
Example 22
private final ArrayList<E> executables;

	public void clear() {
		executables.clear();
		querySpaces = null;
		sorted = true;
	}
Example 23
private final ArrayList<String> myFragments;

  private synchronized void _clear() {
    myIcon = null;
    myPaintFocusBorder = false;
    myFragments.clear();
    myAttributes.clear();
    myFragmentTags = null;
    myMainTextLastIndex = -1;
    myAligns.clear();
  }
Example 24
private final ArrayList<Media> media;

    public void clear() {
        media.clear();
        notifyDataSetChanged();
    }
Example 25
private ArrayList<Integer> mPercentages = new ArrayList<>();

    public void clear() {
        mPercentages.clear();
        state = 1;
        invalidate();
    }