@Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (!baseClass.isInstance(obj)) {
            return false;
        }
        if (obj instanceof BasicAbstractTuple) {
            @SuppressWarnings("unchecked")
            final BasicAbstractTuple<?, ?> tuple = (BasicAbstractTuple<?, ?>) obj;
            // Faster
            return Arrays.equals(this.values, tuple.values);
        }
        // Must be a BasicTuple since baseClass is a BasicTuple
        @SuppressWarnings("unchecked")
        final BasicTuple<?> tuple = (BasicTuple<?>) obj;
        final int capacity = tuple.degree();
        for (int i = 0; i < capacity; i++) {
            if (!Objects.equals(get(i), tuple.get(i))) {
                return false;
            }
        }
        return true;
    }
Returns if this Tuple can contain null elements.

@return if this Tuple can contain null elements
common-parent/tuple/src/main/java/com/speedment/common/tuple/internal/BasicAbstractTuple.java