Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package org.apache.commons.collections.iterators;
 /*    */ 
 /*    */ 
 /*    */ public final class UnmodifiableMapIterator
 /*    */   implements MapIteratorUnmodifiable
 /*    */ {
 /*    */   private MapIterator iterator;
/*    */ 
/*    */   public static MapIterator decorate(MapIterator iterator)
/*    */   {
/* 42 */     if (iterator == null) {
/* 43 */       throw new IllegalArgumentException("MapIterator must not be null");
/*    */     }
/* 45 */     if ((iterator instanceof Unmodifiable)) {
/* 46 */       return iterator;
/*    */     }
/* 48 */     return new UnmodifiableMapIterator(iterator);
/*    */   }
/*    */ 
/*    */   private UnmodifiableMapIterator(MapIterator iterator)
/*    */   {
/* 59 */     this. = iterator;
/*    */   }
/*    */ 
/*    */   public boolean hasNext()
/*    */   {
/* 64 */     return this..hasNext();
/*    */   }
/*    */ 
/*    */   public Object next() {
/* 68 */     return this..next();
/*    */   }
/*    */ 
/*    */   public Object getKey() {
/* 72 */     return this..getKey();
/*    */   }
/*    */ 
/*    */   public Object getValue() {
/* 76 */     return this..getValue();
/*    */   }
/*    */ 
/*    */   public Object setValue(Object value) {
/* 80 */     throw new UnsupportedOperationException("setValue() is not supported");
/*    */   }
/*    */ 
/*    */   public void remove() {
/* 84 */     throw new UnsupportedOperationException("remove() is not supported");
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     org.apache.commons.collections.iterators.UnmodifiableMapIterator
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X