Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2011 itemis AG ( and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at /
 package testdata;
public class ArrayClient2<T> {
    private T[] internal;
    public ArrayClient2(T[] internal) {
        this. = internal;
    public T get(int index) {
        return [index];
    public T set(int index, T value) {
        return [index] = value;
    public static <X> ArrayClient2<X> access(X[] val) {
        return new ArrayClient2<X>(val);
New to GrepCode? Check out our FAQ X