Class EqualsAndComparisonIndexer<Tuple_ extends Tuple,Value_>
- java.lang.Object
-
- org.optaplanner.constraint.streams.bavet.common.index.EqualsAndComparisonIndexer<Tuple_,Value_>
-
-
Constructor Summary
Constructors Constructor Description EqualsAndComparisonIndexer(org.optaplanner.core.impl.score.stream.JoinerType comparisonJoinerType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Tuple_,Value_>get(Object[] indexProperties)voidput(Object[] indexProperties, Tuple_ tuple, Value_ value)Differs fromMap.put(Object, Object)because it fails if the key already exists.Value_remove(Object[] indexProperties, Tuple_ tuple)Differs fromMap.remove(Object)because it fails if the key does not exist.
-
-
-
Method Detail
-
put
public void put(Object[] indexProperties, Tuple_ tuple, Value_ value)
Description copied from interface:IndexerDiffers fromMap.put(Object, Object)because it fails if the key already exists.
-
remove
public Value_ remove(Object[] indexProperties, Tuple_ tuple)
Description copied from interface:IndexerDiffers fromMap.remove(Object)because it fails if the key does not exist.
-
-