org.omnaest.utils.structure.map
Class MapJoiner.PredicateIncludingKeySet<K,VL,VR>
java.lang.Object
org.omnaest.utils.structure.map.MapJoiner.PredicateIncludingKeySet<K,VL,VR>
- Type Parameters:
K - VL - VR -
- All Implemented Interfaces:
- MapJoiner.Predicate<K,VL,VR>
- Enclosing class:
- MapJoiner
public static class MapJoiner.PredicateIncludingKeySet<K,VL,VR>
- extends Object
- implements MapJoiner.Predicate<K,VL,VR>
MapJoiner.Predicate which uses a given Set of keys to return true for any result value which has a key contained within
that given Set.
- Author:
- Omnaest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapJoiner.PredicateIncludingKeySet
public MapJoiner.PredicateIncludingKeySet(Set<K> keySet)
- Parameters:
keySet - - See Also:
MapJoiner.PredicateIncludingKeySet
accept
public boolean accept(K key,
MapJoiner.JoinedValue<VL,VR> valueTuple)
- Description copied from interface:
MapJoiner.Predicate
- Returns true if the given key and the values should be kept within the result
- Specified by:
accept in interface MapJoiner.Predicate<K,VL,VR>
- Returns:
Copyright © 2013. All Rights Reserved.