Class MapEntry<K,V>

java.lang.Object
jadex.collection.MapEntry<K,V>
All Implemented Interfaces:
Map.Entry<K,V>

public class MapEntry<K,V> extends Object implements Map.Entry<K,V>
Replacement for Map.Entry which cannot be instantiated :-(
  • Field Details

    • k

      protected K k
    • v

      protected V v
  • Constructor Details

    • MapEntry

      public MapEntry(K k, V v)
      Create a new map entry.
      Parameters:
      k - The key.
      v - The value.
  • Method Details