Class NonOverlappingMerger

  • All Implemented Interfaces:
    it.unimi.dsi.fastutil.doubles.DoubleCollection, it.unimi.dsi.fastutil.doubles.DoubleIterable, it.unimi.dsi.fastutil.doubles.DoubleList, it.unimi.dsi.fastutil.doubles.DoubleStack, it.unimi.dsi.fastutil.Stack<java.lang.Double>, java.lang.Comparable<java.util.List<? extends java.lang.Double>>, java.lang.Iterable<java.lang.Double>, java.util.Collection<java.lang.Double>, java.util.List<java.lang.Double>, IDoubleListMerger

    public class NonOverlappingMerger
    extends it.unimi.dsi.fastutil.doubles.AbstractDoubleList
    implements IDoubleListMerger
    • Nested Class Summary

      • Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleList

        it.unimi.dsi.fastutil.doubles.AbstractDoubleList.DoubleSubList
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private it.unimi.dsi.fastutil.doubles.DoubleList lower  
      private boolean swap  
      private it.unimi.dsi.fastutil.doubles.DoubleList upper  
    • Constructor Summary

      Constructors 
      Constructor Description
      NonOverlappingMerger​(it.unimi.dsi.fastutil.doubles.DoubleList p_i48187_1_, it.unimi.dsi.fastutil.doubles.DoubleList p_i48187_2_, boolean p_i48187_3_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean forMergedIndexes​(IDoubleListMerger.IConsumer p_197855_1_)  
      private boolean forNonSwappedIndexes​(IDoubleListMerger.IConsumer p_199637_1_)  
      double getDouble​(int p_getDouble_1_)  
      it.unimi.dsi.fastutil.doubles.DoubleList getList()  
      int size()  
      • Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleList

        add, add, addAll, addAll, addAll, addAll, addAll, addAll, addElements, addElements, clear, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, getElements, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, peekDouble, popDouble, push, rem, removeDouble, removeElements, set, size, subList, topDouble, toString
      • Methods inherited from class it.unimi.dsi.fastutil.doubles.AbstractDoubleCollection

        add, contains, containsAll, remove, removeAll, retainAll, toArray, toDoubleArray, toDoubleArray
      • Methods inherited from class java.util.AbstractCollection

        containsAll, isEmpty, removeAll, retainAll, toArray, toArray
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
      • Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleCollection

        containsAll, removeAll, removeIf, removeIf, retainAll, toArray, toDoubleArray, toDoubleArray
      • Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleIterable

        forEach, forEach
      • Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleList

        add, add, contains, get, indexOf, lastIndexOf, remove, remove, set
      • Methods inherited from interface it.unimi.dsi.fastutil.doubles.DoubleStack

        peek, pop, push, top
      • Methods inherited from interface java.util.List

        containsAll, isEmpty, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
      • Methods inherited from interface it.unimi.dsi.fastutil.Stack

        isEmpty
    • Field Detail

      • lower

        private final it.unimi.dsi.fastutil.doubles.DoubleList lower
      • upper

        private final it.unimi.dsi.fastutil.doubles.DoubleList upper
      • swap

        private final boolean swap
    • Constructor Detail

      • NonOverlappingMerger

        public NonOverlappingMerger​(it.unimi.dsi.fastutil.doubles.DoubleList p_i48187_1_,
                                    it.unimi.dsi.fastutil.doubles.DoubleList p_i48187_2_,
                                    boolean p_i48187_3_)
    • Method Detail

      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<java.lang.Double>
        Specified by:
        size in interface java.util.List<java.lang.Double>
        Specified by:
        size in class java.util.AbstractCollection<java.lang.Double>
      • getDouble

        public double getDouble​(int p_getDouble_1_)
        Specified by:
        getDouble in interface it.unimi.dsi.fastutil.doubles.DoubleList
      • getList

        public it.unimi.dsi.fastutil.doubles.DoubleList getList()
        Specified by:
        getList in interface IDoubleListMerger