ai.libs.jaicore.ml.core

Class SimpleLabeledInstanceImpl

  • java.lang.Object
    • java.util.AbstractCollection<E>
      • java.util.AbstractList<E>
        • java.util.ArrayList<java.lang.Double>
          • ai.libs.jaicore.ml.core.SimpleLabeledInstanceImpl
  • All Implemented Interfaces:
    Instance, LabeledInstance<java.lang.String>, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.lang.Double>, java.util.Collection<java.lang.Double>, java.util.List<java.lang.Double>, java.util.RandomAccess


    public class SimpleLabeledInstanceImplextends java.util.ArrayList<java.lang.Double>implements LabeledInstance<java.lang.String>
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      booleanequals(java.lang.Object obj) 
      java.lang.StringgetLabel() 
      intgetNumberOfColumns() 
      inthashCode() 
      voidsetLabel(java.lang.String label) 
      java.lang.StringtoJson() 
      java.lang.StringtoString() 
      • Methods inherited from class java.util.ArrayList

        add, 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
      • Methods inherited from class java.lang.Object

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

        add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
      • Methods inherited from interface java.util.Collection

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

        forEach
    • Constructor Detail

      • SimpleLabeledInstanceImpl

        public SimpleLabeledInstanceImpl()
      • SimpleLabeledInstanceImpl

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

        public SimpleLabeledInstanceImpl(com.fasterxml.jackson.databind.JsonNode jsonNode)
    • Method Detail

      • toJson

        public java.lang.String toJson()
        Specified by:
        toJson in interface Instance
      • setLabel

        public void setLabel(java.lang.String label)
        Specified by:
        setLabel in interface LabeledInstance<java.lang.String>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.util.AbstractCollection<java.lang.Double>
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.util.Collection<java.lang.Double>
        Specified by:
        hashCode in interface java.util.List<java.lang.Double>
        Overrides:
        hashCode in class java.util.AbstractList<java.lang.Double>
      • equals

        public boolean equals(java.lang.Object obj)
        Specified by:
        equals in interface java.util.Collection<java.lang.Double>
        Specified by:
        equals in interface java.util.List<java.lang.Double>
        Overrides:
        equals in class java.util.AbstractList<java.lang.Double>


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14