Code example for SequenceInputStream

0
                public InputStream nextElement() { 
                    return streams[index++]; 
                }   
                 
            }; 
            return new SequenceInputStream(list); 
        } else { 
            return is; 
        } 
                  
    } 
     
    protected String getRootName(Class<T> cls, Type type) throws Exception { 
        String name = null; 
        if (wrapperName != null) { 
            name = wrapperName; 
        } else if (wrapperMap != null) { 
            name = wrapperMap.get(cls.getName()); 
        } 
        if (name == null) { 
Experience pair programming with AI  Get Codota for Java