Class BaseObject

java.lang.Object
com.google.ortools.constraintsolver.BaseObject
Direct Known Subclasses:
Decision, DecisionBuilder, DecisionVisitor, Demon, IntVarIterator, LocalSearchFilter, LocalSearchFilterManager, LocalSearchOperator, ModelVisitor, PropagationBaseObject, RoutingModelVisitor, SearchMonitor, SolutionPool

public class BaseObject
extends java.lang.Object
A BaseObject is the root of all reversibly allocated objects.
A DebugString method and the associated << operator are implemented
as a convenience.
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected boolean swigCMemOwn  
  • Constructor Summary

    Constructors
    Modifier Constructor Description
      BaseObject()  
    protected BaseObject​(long cPtr, boolean cMemoryOwn)  
  • Method Summary

    Modifier and Type Method Description
    void delete()  
    protected void finalize()  
    protected static long getCPtr​(BaseObject obj)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • BaseObject

      protected BaseObject​(long cPtr, boolean cMemoryOwn)
    • BaseObject

      public BaseObject()
  • Method Details

    • getCPtr

      protected static long getCPtr​(BaseObject obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class java.lang.Object
    • delete

      public void delete()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object