Used for nested lists. Removes list markers and up to 4 leading spaces.

@param configuration
txtmark configuration
8507
public void removeListIndent(final Configuration configuration)
    {
        Line line = this.lines;
        while (line != null)
        {
            if (!line.isEmpty)
            {
                switch (line.getLineType(configuration))
                {
                case ULIST:
                    line.value = line.value.substring(line.leading + 2);
                    break;
                case OLIST:
                    line.value = line.value.substring(line.value.indexOf('.') + 2);
                    break;
                default:
                    line.value = line.value.substring(Math.min(line.leading, 4));
                    break;
                }
                line.initLeading();
            }
            line = line.next;
        }
    }
625513
private void pruneMatches() {
		int index = 0;
		while( index < matches.size ) {
			AssociatedTripleIndex a = matches.get(index);
			// not matched. Remove it from the list by copying that last element over it
			if( a.c == -1 ) {
				a.set(matches.get(matches.size-1));
				matches.size--;
			} else {
				index++;
			}
		}
	}
440521
@Override
    public String remove(Object key) {

        String result = m_configurationStrings.remove(key);
        m_configurationObjects.remove(key);
        return result;
    }
330488
protected void removeEntry(T entry) {
        T prev = entry.getPrev();
        T next = entry.getNext();
        if (prev != null) {
            prev.setNext(next);
        } else {
            head = next;
        }
        if (next != null) {
            next.setPrev(prev);
        } else {
            last = prev;
        }
        size--;
    }
225258
public final void remove(final String pName) {
    for (String key : integersMap.keySet()) {
      if (key.equals(pName)) {
        integersMap.remove(pName);
        return;
      }
    }
    for (String key : longsMap.keySet()) {
      if (key.equals(pName)) {
        longsMap.remove(pName);
        return;
      }
    }
    for (String key : floatsMap.keySet()) {
      if (key.equals(pName)) {
        floatsMap.remove(pName);
        return;
      }
    }
    for (String key : doublesMap.keySet()) {
      if (key.equals(pName)) {
        doublesMap.remove(pName);
        return;
      }
    }
    for (String key : stringsMap.keySet()) {
      if (key.equals(pName)) {
        stringsMap.remove(pName);
        return;
      }
    }
  }
1049900
public void clearNamespaces( String elementName ) {
      if( StringUtils.isBlank( elementName ) ){
         rootNamespace.clear();
      }else{
         namespacesPerElement.remove( elementName );
      }
   }
448729
public void clearListField(String fieldName) {
		Object val = getFieldValue(fieldName, true); // internal
		if (val instanceof List<?>)
			((List<?>)val).clear();
		else if (val != null && val.getClass().isArray()) {
			DOField fld = getDomainObjectType().getFieldByName(fieldName);
			String ctn = fld.getComponentTypeName();
			Class<?> clazz;
			try {
				clazz = getDomainObjectType().getDomainModel().getClassForName(ctn);
				tryInitListOrArray(null, fld, clazz);
			} catch (ClassNotFoundException e) {
				throw new RuntimeException(e);
			}
		} else {
			if (!getDomainObjectType().getFieldByName(fieldName).isListOrArray())
				throw new RuntimeException("field: [" + fieldName + "] is neither list nor array");
			if (val == null)
				throw new RuntimeException("list or array field: [" + fieldName + "] is null");
		}
	}
451202
public void clear(boolean shrink) {
		if (elementCount > 0) {
			elementCount = 0;
		}
		if (shrink && ((elementKeys.length > 1024) && (elementKeys.length > defaultSize))) {
			elementKeys = newKeyArray(defaultSize);
			elementValues = newElementArray(defaultSize);
		} else {
			Arrays.fill(elementKeys, Integer.MIN_VALUE);
			Arrays.fill(elementValues, null);
		}
		computeMaxSize();
	}
580637
protected function removeUndeclaredTypes(array &$configuration)
    {
        foreach ($configuration as $index => $type) {
            if (!isset($this->types[$type])) {
                unset($configuration[$index]);
            }
        }
    }
263919
@Override
    public void removeMapping(int pos) {
        for (int i = pos; i < mappingCount - 1; i++) {
            map[i] = map[i + 1];
        }
        map[mappingCount - 1] = null;
        mappingCount--;
        notifyChanged();
    }
757883
static Matcher removeTrueInSequence(Matcher matcher) {
    if (matcher instanceof SeqMatcher) {
      List<Matcher> matchers = matcher.<SeqMatcher>as().matchers();
      List<Matcher> ms = new ArrayList<>();
      for (Matcher m : matchers) {
        if (!(m instanceof TrueMatcher)) {
          ms.add(m);
        }
      }
      return SeqMatcher.create(ms);
    }
    return matcher;
  }
1287486
public void clearUnused(ConfigImpl config) {

	SystemOut.printDate(config.getOutWriter(), "PagePool: " + size() + ">(" + maxSize + ")");
	if (size() > maxSize) {
	    String[] keys = keys();
	    LongKeyList list = new LongKeyList();
	    for (int i = 0; i < keys.length; i++) {
		PageSource ps = getPageSource(keys[i], false);
		long updateTime = ps.getLastAccessTime();
		if (updateTime + timeout < System.currentTimeMillis()) {
		    long add = ((ps.getAccessCount() - 1) * 10000);
		    if (add > timeout) add = timeout;
		    list.add(updateTime + add, keys[i]);
		}
	    }
	    while (size() > maxSize) {
		Object key = list.shift();
		if (key == null) break;
		remove(key.toString());
	    }
	}
    }
973141
public void removeGlobalBindings(List<String> names) {
        Lock writeLock = javaColonLock.writeLock();
        writeLock.lock();

        try {
            for (String name : names) {
                javaColonGlobalBindings.unbind(name);
            }
        } finally {
            writeLock.unlock();
        }
    }
1136362
private void removeMapping() {
		int[] indexes = mappingList.getSelectedIndices();
		if (indexes == null) {
			return;
		}
		int confirm = JOptionPane.showConfirmDialog(
				this, 
				"Proceed deleting " + indexes.length + " mappings?", "Conform",
				JOptionPane.WARNING_MESSAGE, JOptionPane.YES_NO_OPTION);
		if (confirm == JOptionPane.CANCEL_OPTION || confirm == JOptionPane.CLOSED_OPTION) {
			return;
		}
		
		// The manager panel can handle multiple deletions.
		Object[] values = mappingList.getSelectedValues();

		OBDAModel controller = apic;
		URI srcuri = selectedSource.getSourceID();

		for (int i = 0; i < values.length; i++) {
			SQLPPTriplesMap mapping = (SQLPPTriplesMap) values[i];
			if (mapping!=null)
			controller.removeTriplesMap(srcuri, mapping.getId());
		}
		mappingList.clearSelection();
	}
267630
public void setConfigurations(Collection<? extends Configuration> configurations) {
		Assert.notNull(configurations, "Configurations must not be null");
		this.configurations = new ArrayList<>(configurations);
	}
1254475
public static void removeFromList(final Entry e) {
    e.prev.next = e.next;
    e.next.prev = e.prev;
    e.removedFromList();
  }
1259418
public void removeAtRange(int index, int size) {
        final int end = Math.min(mSize, index + size);
        for (int i = index; i < end; i++) {
            removeAt(i);
        }
    }