public java.lang.String[] remove(java.lang.String[] array, java.lang.String value) { return ArrayUtil.remove(array, value); }
public double[] remove(double[] array, double value) { return ArrayUtil.remove(array, value); }
public short[] remove(short[] array, short value) { return ArrayUtil.remove(array, value); }
public boolean[] remove(boolean[] array, boolean value) { return ArrayUtil.remove(array, value); }
public byte[] remove(byte[] array, byte value) { return ArrayUtil.remove(array, value); }
public char[] remove(char[] array, char value) { return ArrayUtil.remove(array, value); }
public int[] remove(int[] array, int value) { return ArrayUtil.remove(array, value); }
public <T> T[] remove(T[] array, T value) { return ArrayUtil.remove(array, value); }
public float[] remove(float[] array, float value) { return ArrayUtil.remove(array, value); }
public long[] remove(long[] array, long value) { return ArrayUtil.remove(array, value); }
public static boolean unregister( TransactionLifecycleListener transactionLifecycleListener) { while (true) { TransactionLifecycleListener[] transactionLifecycleListeners = _transactionLifecycleListenersReference.get(); TransactionLifecycleListener[] newTransactionLifecycleListeners = ArrayUtil.remove( transactionLifecycleListeners, transactionLifecycleListener); if (transactionLifecycleListeners == newTransactionLifecycleListeners) { return false; } if (_transactionLifecycleListenersReference.compareAndSet( transactionLifecycleListeners, newTransactionLifecycleListeners)) { return true; } } }
public void unregisterFilterMapping(FilterMapping filterMapping) { String filterName = filterMapping.getFilterName(); while (true) { FilterMapping[] oldFilterMappings = _filterMappingsMap.get( filterName); FilterMapping[] newFilterMappings = ArrayUtil.remove( oldFilterMappings, filterMapping); if (newFilterMappings.length == 0) { if (_filterMappingsMap.remove(filterName, oldFilterMappings)) { _filterNames.remove(filterName); break; } } else if (_filterMappingsMap.replace( filterName, oldFilterMappings, newFilterMappings)) { break; } } }
protected void addSearchFolderId( BooleanFilter queryBooleanFilter, SearchContext searchContext) throws Exception { MultiValueFacet multiValueFacet = new MultiValueFacet(searchContext); multiValueFacet.setFieldName(Field.TREE_PATH); multiValueFacet.setStatic(true); long[] folderIds = searchContext.getFolderIds(); if (ArrayUtil.isNotEmpty(folderIds)) { folderIds = ArrayUtil.remove(folderIds, _DEFAULT_FOLDER_ID); multiValueFacet.setValues(folderIds); } searchContext.addFacet(multiValueFacet); }
public java.lang.String[] remove(java.lang.String[] array, java.lang.String value) { return ArrayUtil.remove(array, value); }
public char[] remove(char[] array, char value) { return ArrayUtil.remove(array, value); }
public int[] remove(int[] array, int value) { return ArrayUtil.remove(array, value); }
public boolean[] remove(boolean[] array, boolean value) { return ArrayUtil.remove(array, value); }
public double[] remove(double[] array, double value) { return ArrayUtil.remove(array, value); }
public byte[] remove(byte[] array, byte value) { return ArrayUtil.remove(array, value); }
public long[] remove(long[] array, long value) { return ArrayUtil.remove(array, value); }