001package conexp.fx.core.collections.setlist; 002 003/* 004 * #%L 005 * Concept Explorer FX 006 * %% 007 * Copyright (C) 2010 - 2019 Francesco Kriegel 008 * %% 009 * This program is free software: you can redistribute it and/or modify 010 * it under the terms of the GNU General Public License as 011 * published by the Free Software Foundation, either version 3 of the 012 * License, or (at your option) any later version. 013 * 014 * This program is distributed in the hope that it will be useful, 015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 017 * GNU General Public License for more details. 018 * 019 * You should have received a copy of the GNU General Public 020 * License along with this program. If not, see 021 * <http://www.gnu.org/licenses/gpl-3.0.html>. 022 * #L% 023 */ 024 025 026import java.util.Collection; 027 028public abstract class UnmodifiableSetList<E> extends AbstractSetList<E> { 029 030 public final boolean add(final E e) { 031 throw new UnsupportedOperationException(); 032 } 033 034 public final void add(final int i, final E e) { 035 throw new UnsupportedOperationException(); 036 } 037 038 public final boolean addAll(final Collection<? extends E> c) { 039 throw new UnsupportedOperationException(); 040 } 041 042 public final boolean addAll(final int i, final Collection<? extends E> c) { 043 throw new UnsupportedOperationException(); 044 } 045 046 public final void clear() { 047 throw new UnsupportedOperationException(); 048 } 049 050 public final boolean remove(final Object o) { 051 throw new UnsupportedOperationException(); 052 } 053 054 public final E remove(final int i) { 055 throw new UnsupportedOperationException(); 056 } 057 058 public final boolean removeAll(final Collection<?> c) { 059 throw new UnsupportedOperationException(); 060 } 061 062 public final boolean retainAll(final Collection<?> c) { 063 throw new UnsupportedOperationException(); 064 } 065 066 public final E set(final int i, final E e) { 067 throw new UnsupportedOperationException(); 068 } 069 070 public final boolean set(final Object o, final E e) { 071 throw new UnsupportedOperationException(); 072 } 073}