Package org.redisson

Class RedissonSortedSet<V>

    • Method Detail

      • mapReduce

        public <KOut,​VOut> RCollectionMapReduce<V,​KOut,​VOut> mapReduce()
        Description copied from interface: RSortedSet
        Returns RMapReduce object associated with this object
        Specified by:
        mapReduce in interface RSortedSet<V>
        Type Parameters:
        KOut - output key
        VOut - output value
        Returns:
        MapReduce instance
      • size

        public int size()
        Specified by:
         in interface <V>
        Specified by:
         in interface <V>
      • isEmpty

        public boolean isEmpty()
        Specified by:
         in interface <V>
        Specified by:
         in interface <V>
      • contains

        public boolean contains​( o)
        Specified by:
         in interface <V>
        Specified by:
         in interface <V>
      • iterator

        public <V> iterator()
        Specified by:
         in interface <V>
        Specified by:
         in interface <V>
        Specified by:
         in interface <V>
      • toArray

        public [] toArray()
        Specified by:
         in interface <V>
        Specified by:
         in interface <V>
      • toArray

        public <T> T[] toArray​(T[] a)
        Specified by:
         in interface <V>
        Specified by:
         in interface <V>
      • add

        public boolean add​(V value)
        Specified by:
         in interface <V>
        Specified by:
         in interface <V>
      • remove

        public boolean remove​( value)
        Specified by:
         in interface <V>
        Specified by:
         in interface <V>
      • containsAll

        public boolean containsAll​(<?> c)
        Specified by:
         in interface <V>
        Specified by:
         in interface <V>
      • addAll

        public boolean addAll​(<? extends V> c)
        Specified by:
         in interface <V>
        Specified by:
         in interface <V>
      • retainAll

        public boolean retainAll​(<?> c)
        Specified by:
         in interface <V>
        Specified by:
         in interface <V>
      • removeAll

        public boolean removeAll​(<?> c)
        Specified by:
         in interface <V>
        Specified by:
         in interface <V>
      • clear

        public void clear()
        Specified by:
         in interface <V>
        Specified by:
         in interface <V>
      • comparator

        public <? super V> comparator()
        Specified by:
         in interface <V>
      • subSet

        public <V> subSet​(V fromElement,
                                   V toElement)
        Specified by:
         in interface <V>
      • headSet

        public <V> headSet​(V toElement)
        Specified by:
         in interface <V>
      • tailSet

        public <V> tailSet​(V fromElement)
        Specified by:
         in interface <V>
      • first

        public V first()
        Specified by:
         in interface <V>
      • last

        public V last()
        Specified by:
         in interface <V>
      • trySetComparator

        public boolean trySetComparator​(<? super V> comparator)
        Description copied from interface: RSortedSet
        Sets new comparator only if current set is empty
        Specified by:
        trySetComparator in interface RSortedSet<V>
        Parameters:
        comparator - for values
        Returns:
        true if new comparator setted false otherwise
      • toString

        public  toString()
        Overrides:
         in class