Code example for NavigableMap

Methods: remove

0
	 */ 
	public Color remove(Object position) {
		if( ((Double)position).isInfinite() ) {
			throw new UnsupportedOperationException("Cannot remove infinite endpoints");
		} 
		return mapping.remove(position);
	} 
	/** 
	 * @return Number of finite endpoints 
	 * @see java.util.Map#size() 
	 */ 
	public int size() { 
		return mapping.size()-2;
	} 
	/** 
	 * @return 
	 * @see java.util.Map#values() 
	 */ 
	public Collection<Color> values() {
		return mapping.values();