src/main/java/org/thegalactic/context/Context.java
public boolean addToObservations(Comparable obs) {
        if (!this.containsObservation(obs)) {
            this.intent.put(obs, new TreeSet<Comparable>());
        }
        boolean ok = this.observations.add(obs);
        this.setBitSets();
        return ok;
    }
/**
     * Adds the specified element to the set of observations of this component.
     *
     * @param obs an observation
     *
     * @return true if the observation was successfully added
     */
Adds the specified element to the set of observations of this component.
@param obs an observation

@return true if the observation was successfully added
Adds the specified element to the set of observations of this component . @param obs an observation @return true if the observation was successfully added
public boolean addToObservations(Comparable obs) {
        if (!this.containsObservation(obs)) {
            this.intent.put(obs, new TreeSet<Comparable>());
        }
        boolean ok = this.observations.add(obs);
        this.setBitSets();
        return ok;
    }
public boolean addToObservations ( Comparable obs ) { if ( ! this . containsObservation ( obs ) ) { this . intent . put ( obs , new TreeSet < Comparable > ( ) ) ; } boolean ok = this . observations . add ( obs ) ; this . setBitSets ( ) ; return ok ; }
Adds the specified element to the set of observations of this component.
Adds the specified element to the set of observations of this component .