Class FixedSizeMap<A,​B>


  • public class FixedSizeMap<A,​B>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      FixedSizeMap​(scala.collection.mutable.Map<A,​B> _entries, int _size)  
    • Constructor Detail

      • FixedSizeMap

        public FixedSizeMap​(scala.collection.mutable.Map<A,​B> _entries,
                            int _size)
    • Method Detail

      • empty

        public static <A,​B> FixedSizeMap<A,​B> empty​(int size)
      • entries

        public scala.collection.immutable.Map<A,​B> entries()
      • keySet

        public scala.collection.immutable.Set<A> keySet()
      • values

        public scala.collection.immutable.Seq<B> values()
      • isEmpty

        public boolean isEmpty()
      • nonEmpty

        public boolean nonEmpty()
      • size

        public int size()
      • maxSize

        public int maxSize()
      • get

        public scala.Option<B> get​(A key)
      • add

        public boolean add​(scala.Tuple2<A,​B> entry)
      • update

        public boolean update​(scala.Tuple2<A,​B> entry)
      • remove

        public scala.Option<B> remove​(A key)
      • clear

        public void clear()
      • resize

        public boolean resize​(int newSize)