Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/main/java/de/intevation/gnv/utils/Pair.java @ 1062:58b4a07db856
Cach improvement: remove the cached elements of each visited state that is visited while stepping back to a previous state.
gnv-artifacts/trunk@1147 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 02 Jun 2010 09:52:39 +0000 |
parents | a645bd23c1c8 |
children | f953c9a559d8 |
line wrap: on
line source
package de.intevation.gnv.utils; import java.io.Serializable; /** * @param <A> * @param <B> * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> */ public final class Pair<A, B> implements Serializable { private A a; private B b; private Pair() { } public Pair(A a, B b) { this.a = a; this.b = b; } public A getA() { return a; } public B getB() { return b; } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :