Package org.aksw.commons.index.util
Class Alt2<V1,V2>
- java.lang.Object
-
- org.aksw.commons.index.util.Alt2<V1,V2>
-
- All Implemented Interfaces:
Alt
public class Alt2<V1,V2> extends Object implements Alt
This interface is conceptually just a pair just like Map.Entry However, reusing Map.Entry for storage nodes (schema) is very confusing in debugging, because Entry is especially used on the stores (often Maps).- Author:
- raven
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <V1,V2>
Alt2<V1,V2>create(V1 v1, V2 v2)Objectget(int index)V1getV1()V2getV2()intsize()
-