List of usage examples for java.lang UnsupportedOperationException UnsupportedOperationException
public UnsupportedOperationException()
From source file:com.googlecode.androidannotations.rest.WrongConstructorConverter.java
@Override protected boolean supports(Class<?> clazz) { throw new UnsupportedOperationException(); }
From source file:springfox.documentation.schema.TypeForTestingPropertyNames.java
public int isProp1() { throw new UnsupportedOperationException(); }
From source file:springfox.documentation.spring.web.dummy.controllers.AbstractController.java
@RequestMapping(value = "/create-t", method = RequestMethod.PUT) public void create(T toCreate) { throw new UnsupportedOperationException(); }
From source file:com.trenako.utility.Utils.java
/** * Returns a reverse version for the provided {@code List}. * * @param list the original list//from w w w . j a va 2s .c o m * @return the reverse iterable */ public static <E> Iterable<E> reverseIterable(final List<E> list) { return new Iterable<E>() { @Override public Iterator<E> iterator() { return new Iterator<E>() { private int pos = list.size() - 1; @Override public boolean hasNext() { return pos >= 0; } @Override public E next() { return list.get(pos--); } @Override public void remove() { throw new UnsupportedOperationException(); } }; } }; }
From source file:springfox.documentation.schema.Enums.java
private Enums() { throw new UnsupportedOperationException(); }
From source file:com.creditcloud.service.impl.AbstractMarketCustomizeService.java
@Override public boolean rewardWechatInfo(String id) { throw new UnsupportedOperationException(); }
From source file:org.homiefund.api.dao.impl.TransactionPreviewDAOImpl.java
@Override public Long create(TransactionPreview entity) { throw new UnsupportedOperationException(); }
From source file:com.github.rinde.rinsim.core.model.rand.UnmodifiableRandomGenerator.java
@Deprecated @Override public void setSeed(@Nullable int[] seed) { throw new UnsupportedOperationException(); }
From source file:persistence.git.document.TreeWalkDocumentBeanMapper.java
@Override public TreeWalk newBusinessObject(DocumentBean businessObjectBean) { throw new UnsupportedOperationException(); }
From source file:CharPrefixTree.java
@Override public Object[] toArray() { throw new UnsupportedOperationException(); }