com.maxifier.mxcache.tuple.Tuple Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mxcache-runtime Show documentation
Show all versions of mxcache-runtime Show documentation
Constains all classes necessary for launching a MxCache-instrumentated application
/*
* Copyright (c) 2008-2014 Maxifier Ltd. All Rights Reserved.
*/
package com.maxifier.mxcache.tuple;
import javax.annotation.Nonnull;
import java.io.Serializable;
import java.util.Iterator;
/**
* Tuple - don't try to implement it manually. All the specific implementations are generated on-the-flight by
* TupleFactory and TupleGenerator. Tuples are immutable. Tuples are typed, i.e. it may hold only values of specific
* type as it's fields. The types are defined at tuple creation time.
*
* @see TupleGenerator
* @see TupleFactory
*
* @author Alexander Kochurov ([email protected])
*/
public abstract class Tuple implements Serializable, Iterable