public class ArrayTuple extends Object implements Tuple<Integer>
ArrayTuple is a simple implementation of the Tuple interface, backed by an
array of Objects, referenced by their index. This implementation is read-only - calls to
put(Integer, Object) will result in an UnsupportedOperationException being thrown.| Constructor and Description |
|---|
ArrayTuple(Object[] tuple)
Create an
ArrayTuple backed by the given array. |
Copyright © 2017. All rights reserved.