src/main/java/org/thegalactic/context/Context.java
public boolean addExtentIntent(Comparable obs, Comparable att) {
        if (this.containsObservation(obs) && this.containsAttribute(att)) {
            boolean ok = this.intent.get(obs).add(att) && this.extent.get(att).add(obs);
            this.setBitSets();
            return ok;
        } else {
            return false;
        }
    }
/**
     * Adds the second specified element as intent of the first one,
     * and the first one as extent of the second one.
     * The first one has to belong to the observations set
     * and the second one to the attribute set.
     *
     * @param obs an observation
     * @param att an attribute
     *
     * @return true if both were added
     */
Adds the second specified element as intent of the first one,
and the first one as extent of the second one.
The first one has to belong to the observations set
and the second one to the attribute set.

@param obs an observation
@param att an attribute

@return true if both were added
Adds the second specified element as intent of the first one and the first one as extent of the second one . The first one has to belong to the observations set and the second one to the attribute set . @param obs an observation @param att an attribute @return true if both were added
public boolean addExtentIntent(Comparable obs, Comparable att) {
        if (this.containsObservation(obs) && this.containsAttribute(att)) {
            boolean ok = this.intent.get(obs).add(att) && this.extent.get(att).add(obs);
            this.setBitSets();
            return ok;
        } else {
            return false;
        }
    }
public boolean addExtentIntent ( Comparable obs , Comparable att ) { if ( this . containsObservation ( obs ) && this . containsAttribute ( att ) ) { boolean ok = this . intent . get ( obs ) . add ( att ) && this . extent . get ( att ) . add ( obs ) ; this . setBitSets ( ) ; return ok ; } else { return false ; } }
Adds the second specified element as intent of the first one,
 and the first one as extent of the second one.
Adds the second specified element as intent of the first one and the first one as extent of the second one .