/** @since 0.17 or earlier */ @Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } PropertyTransition other = (PropertyTransition) obj; if (!Objects.equals(property, other.property)) { return false; } return true; }
/** @since 0.17 or earlier */ @Override public boolean equals(Object other) { return super.equals(other) && Objects.equals(objectType, ((ObjectTypeTransition) other).objectType); }
/** @since 0.17 or earlier */ @Override public boolean equals(Object other) { return super.equals(other) && Objects.equals(objectType, ((ObjectTypeTransition) other).objectType); }
/** @since 0.17 or earlier */ @Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } PropertyTransition other = (PropertyTransition) obj; if (!Objects.equals(property, other.property)) { return false; } return true; }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } PropertyTransition other = (PropertyTransition) obj; if (!Objects.equals(property, other.property)) { return false; } return true; }
@Override public boolean equals(Object other) { return super.equals(other) && Objects.equals(objectType, ((ObjectTypeTransition) other).objectType); }
@SuppressWarnings("unchecked") private ShapeImpl queryTransitionImpl(Transition transition) { Object trans = transitionMap; if (trans == null) { return null; } else if (trans instanceof Map.Entry<?, ?>) { Map.Entry<Transition, ShapeImpl> entry = (Map.Entry<Transition, ShapeImpl>) trans; if (entry.getKey().equals(transition)) { return entry.getValue(); } else { return null; } } else { assert trans instanceof Map<?, ?>; Map<Transition, ShapeImpl> map = (Map<Transition, ShapeImpl>) trans; return map.get(transition); } }
@SuppressWarnings("unchecked") private ShapeImpl queryTransitionImpl(Transition transition) { Object trans = transitionMap; if (trans == null) { return null; } else if (trans instanceof Map.Entry<?, ?>) { Map.Entry<Transition, ShapeImpl> entry = (Map.Entry<Transition, ShapeImpl>) trans; if (entry.getKey().equals(transition)) { return entry.getValue(); } else { return null; } } else { assert trans instanceof Map<?, ?>; Map<Transition, ShapeImpl> map = (Map<Transition, ShapeImpl>) trans; return map.get(transition); } }