Class ObjectAssociations<A,​B,​C>

java.lang.Object
org.burningwave.core.extension.iterable.ObjectAssociations<A,​B,​C>
All Implemented Interfaces:
Serializable, AutoCloseable, org.burningwave.core.Cleanable, org.burningwave.core.Closeable, org.burningwave.core.Component, org.burningwave.core.Identifiable, org.burningwave.core.iterable.Properties.Listener, org.burningwave.core.Memorizer

public class ObjectAssociations<A,​B,​C>
extends Object
implements org.burningwave.core.Component, Serializable
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    ObjectAssociations()  
  • Method Summary

    Modifier and Type Method Description
    void addRightAssociation​(A a, B b, C c)  
    void clear()  
    C getRightAssociationFor​(A a, B b)  
    Map<B,​C> getRightAssociationsFor​(A a)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.burningwave.core.Cleanable

    clearInBackground

    Methods inherited from interface org.burningwave.core.Closeable

    close, closeResources, closeResources, createCloseResoucesTask, createCloseResoucesTask

    Methods inherited from interface org.burningwave.core.Identifiable

    getId, getOperationId

    Methods inherited from interface org.burningwave.core.Memorizer

    getOrCreateTemporaryFolder, getOrCreateTemporaryFolder, getTemporaryFolderPrefix

    Methods inherited from interface org.burningwave.core.iterable.Properties.Listener

    checkAndListenTo, checkAndUnregister, listenTo, processChangeNotification, unregister
  • Constructor Details

    • ObjectAssociations

      public ObjectAssociations()
  • Method Details

    • clear

      public void clear()
      Specified by:
      clear in interface org.burningwave.core.Cleanable
    • getRightAssociationFor

      public C getRightAssociationFor​(A a, B b)
    • getRightAssociationsFor

      public Map<B,​C> getRightAssociationsFor​(A a)
    • addRightAssociation

      public void addRightAssociation​(A a, B b, C c)