Class SimpleInstancesImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(double[] values)  
      boolean add​(SimpleInstanceImpl instance)  
      void addAllFromJson​(com.fasterxml.jackson.databind.JsonNode jsonNode)  
      void addAllFromJson​(java.io.File jsonFile)  
      void addAllFromJson​(java.lang.String json)  
      java.lang.String toJson()  
      • Methods inherited from class java.util.ArrayList

        add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

        containsAll, toString
      • Methods inherited from class java.lang.Object

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

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
    • Constructor Detail

      • SimpleInstancesImpl

        public SimpleInstancesImpl()
      • SimpleInstancesImpl

        public SimpleInstancesImpl​(int initialCapacity)
      • SimpleInstancesImpl

        public SimpleInstancesImpl​(java.lang.String json)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • SimpleInstancesImpl

        public SimpleInstancesImpl​(com.fasterxml.jackson.databind.JsonNode jsonNode)
      • SimpleInstancesImpl

        public SimpleInstancesImpl​(java.io.File jsonFile)
                            throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • add

        public boolean add​(double[] values)
      • toJson

        public java.lang.String toJson()
                                throws com.fasterxml.jackson.core.JsonProcessingException
        Specified by:
        toJson in interface Instances<SimpleInstanceImpl>
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • addAllFromJson

        public void addAllFromJson​(com.fasterxml.jackson.databind.JsonNode jsonNode)