Removes the specified child transition from this set.

@param transition The transition to be removed.
@return This transitionSet object.
422799
@NonNull
    public TransitionSet removeTransition(@NonNull Transition transition) {
        mTransitions.remove(transition);
        transition.mParent = null;
        return this;
    }
1078490
public static void setTransitionName(@NonNull View v, @Nullable String transitionName) {
        ViewUtils.setTransitionName(v, transitionName);
    }
1073370
public StateMachine<T> withTransition(T from, T to, T... moreTo) {
        transitions.put(from, EnumSet.of(to, moreTo));
        return this;
    }
300191
public Collection<TileRef> getDirectTransitiveTiles(Transition transition)
    {
        final String groupOut = transition.getOut();
        final Collection<GroupTransition> currentTransitives = getTransitives(transition.getIn(), groupOut);
        if (currentTransitives.size() != 2)
        {
            return Collections.emptySet();
        }
        final GroupTransition groupTransition = currentTransitives.iterator().next();
        return mapTransition.getTiles(new Transition(transition.getType(), groupTransition.getOut(), groupOut));
    }
745989
public int removeChildObjectsByName(final String name) {
        int removed = 0;

        if (null != name && !name.isEmpty()) {
            removed = removeChildObjectsByNameImpl(name);
        }

        return removed;
    }
1056946
public Transition<S> getTransition(S fromState, T transition){
		Transition<S> transitionDef = transitions.get(new DoubleValueBean<S, T>(fromState, transition));
		if (transitionDef == null){
			throw new IllegalArgumentException("Transition '" + transition + "' from state '" + fromState + "' has not been defined.");
		}
		return transitionDef;
	}
465490
private static TransitionType getTransitionType(String groupIn, Collection<String> neighborGroups)
    {
        final boolean[] bits = new boolean[TransitionType.BITS];
        int i = 0;
        for (final String neighborGroup : neighborGroups)
        {
            bits[i] = !groupIn.equals(neighborGroup);
            i++;
        }
        return TransitionType.from(bits);
    }
368498
public void setSplitTransition(Transition transition) {
        if (split == null) {
            if (transition != null) {
                setSplitHref("#");
            } else {
                return;
            }
        }
        if (split != null) JQMCommon.setTransition(split, transition);
    }
79896
public Transition getTransition(Tile tile)
    {
        final Collection<String> neighborGroups = getNeighborGroups(tile);
        final Collection<String> groups = new HashSet<>(neighborGroups);

        final Transition transition;
        if (groups.size() == 1 && mapGroup.getGroup(tile).equals(groups.iterator().next()))
        {
            transition = getTransitionSingleGroup(groups);
        }
        else if (groups.size() == 2 && neighborGroups.size() == TransitionType.BITS && isTransition(tile))
        {
            transition = getTransitionTwoGroups(neighborGroups);
        }
        else
        {
            transition = null;
        }

        return transition;
    }
998886
protected function _setTransition($transition)
    {
        $this->transition = ($transition === null)
            ? null
            : $this->_normalizeStringable($transition);
    }
631702
public RangeSet getConditionsTo(NFAState<T> state)
    {
        RangeSet rs = new RangeSet();
        for (CharRange range : transitions.keySet())
        {
            if (range != null)
            {
                Set<Transition<NFAState<T>>> set2 = transitions.get(range);
                for (Transition<NFAState<T>> tr : set2)
                {
                    if (state.equals(tr.getTo()))
                    {
                        rs.add(range);
                    }
                }
            }
        }
        return rs;

    }
127334
public void prepareFilter( float transition ) {
        try {
            method.invoke( filter, new Object[] { new Float( transition ) } );
        }
        catch ( Exception e ) {
            throw new IllegalArgumentException("Error setting value for property: "+property);
        }
	}
171525
public CmsTreeItem removeChild(final CmsTreeItem item) {

        item.setParentItem(null);
        item.setTree(null);
        if ((m_tree != null) && m_tree.isAnimationEnabled()) {
            // could be null if already detached
            // animate
            (new Animation() {

                /**
                 * @see com.google.gwt.animation.client.Animation#onComplete()
                 */
                @Override
                protected void onComplete() {

                    super.onComplete();
                    m_children.removeItem(item);
                    onChangeChildren();
                }

                /**
                 * @see com.google.gwt.animation.client.Animation#onUpdate(double)
                 */
                @Override
                protected void onUpdate(double progress) {

                    item.getElement().getStyle().setOpacity(1 - progress);
                }
            }).run(ANIMATION_DURATION);
        } else {
            m_children.removeItem(item);
            onChangeChildren();
        }
        return item;
    }
748595
TemplateTypeMap remove(Set<TemplateType> toRemove) {
    ImmutableList.Builder<TemplateType> keys = ImmutableList.builder();
    keys.addAll(templateKeys.subList(0, templateValues.size()));
    for (int i = templateValues.size(); i < templateKeys.size(); i++) {
      TemplateType key = templateKeys.get(i);
      if (!toRemove.contains(key)) {
        keys.add(key);
      }
    }
    return registry.createTemplateTypeMap(keys.build(), templateValues);
  }
518683
public Navigate animate(@Nullable Transitions transition) {
        if (application != null) {
            throw new IllegalArgumentException(
                    "You can't animate activity transition when using application context");
        }
        this.transition = transition;
        return this;
    }
374037
public boolean hasTransitionTo(CharRange condition, NFAState<T> state)
    {
        Set<Transition<NFAState<T>>> set = transitions.get(condition);
        if (set != null)
        {
            for (Transition<NFAState<T>> tr : set)
            {
                if (state.equals(tr.getTo()))
                {
                    return true;
                }
            }
        }
        return false;
    }
947965
public void clearTransition (Class<?> clazz, final String name)
        throws PersistenceException
    {
        final String cname = clazz.getName();
        executeUpdate(new Operation<Void>() {
            public Void invoke (Connection conn, DatabaseLiaison liaison)
                throws SQLException, PersistenceException
            {
                PreparedStatement stmt = null;
                try {
                    stmt = conn.prepareStatement(
                        " delete from " + liaison.tableSQL("TRANSITIONS") +
                        "       where " + liaison.columnSQL("CLASS") + "=? " +
                        "         and " + liaison.columnSQL("NAME") + "=?");
                    stmt.setString(1, cname);
                    stmt.setString(2, name);
                    stmt.executeUpdate(); // we don't care if it worked or not

                } finally {
                    JDBCUtil.close(stmt);
                }
                return null;
            }
        });
    }