@Override EC setIfAbsent(EC context) { EC previous = contextAssignment_.putIfAbsent(context.getRoot(), context); if (previous == null) { for (int i = 0; i < getChangeListenerCount(); i++) { getChangeListener(i).contextAddition(context); } } return previous; }
@Override EC setIfAbsent(EC context) { EC previous = contextAssignment_.putIfAbsent(context.getRoot(), context); if (previous == null) { for (int i = 0; i < getChangeListenerCount(); i++) { getChangeListener(i).contextAddition(context); } } return previous; }
@Override EC setIfAbsent(EC context) { EC previous = contextAssignment_.putIfAbsent(context.getRoot(), context); if (previous == null) { for (int i = 0; i < getChangeListenerCount(); i++) { getChangeListener(i).contextAddition(context); } } return previous; }
@Override ExtendedContext setIfAbsent(ExtendedContext context) { ExtendedContext previous = context.getRoot() .setContextIfAbsent(context); if (previous == null) { contextCount.incrementAndGet(); for (int i = 0; i < getChangeListenerCount(); i++) { getChangeListener(i).contextAddition(context); } } return previous; }
@Override ExtendedContext setIfAbsent(ExtendedContext context) { ExtendedContext previous = context.getRoot() .setContextIfAbsent(context); if (previous == null) { contextCount.incrementAndGet(); for (int i = 0; i < getChangeListenerCount(); i++) { getChangeListener(i).contextAddition(context); } } return previous; }
@Override ExtendedContext setIfAbsent(ExtendedContext context) { ExtendedContext previous = context.getRoot() .setContextIfAbsent(context); if (previous == null) { contextCount.incrementAndGet(); for (int i = 0; i < getChangeListenerCount(); i++) { getChangeListener(i).contextAddition(context); } } return previous; }