2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
3 * This program and the accompanying materials are made available under the
4 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
5 * and is available at http://www.eclipse.org/legal/epl-v10.html
7 package org.opendaylight.yangtools.yang.data.api;
9 import com.google.common.collect.UnmodifiableIterator;
10 import java.util.AbstractCollection;
11 import java.util.Collection;
12 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
14 abstract class PathArgumentCollection extends AbstractCollection<PathArgument> {
16 public abstract UnmodifiableIterator<PathArgument> iterator();
19 public final boolean isEmpty() {
24 public final boolean remove(final Object o) {
25 throw new UnsupportedOperationException();
29 public final boolean addAll(final Collection<? extends PathArgument> c) {
30 throw new UnsupportedOperationException();
34 public final boolean removeAll(final Collection<?> c) {
35 throw new UnsupportedOperationException();
39 public final boolean retainAll(final Collection<?> c) {
40 throw new UnsupportedOperationException();
44 public final void clear() {
45 throw new UnsupportedOperationException();