Context { public List decodeIntent(final Concept concept) { return decode(concept.intent(), attributes); } private  Context(final List<G> objects,
                    final List<M> attributes,
                    final BinaryRelation relation); static Builder builder(); CrossTable asCrossTable(); ConceptLattice asConceptLattice(final Graph graph); static Context down(final CompleteLattice lattice); static Context downset(final CompleteLattice lattice); static Context powerset(final List<G> set); static Context antichain(final List<G> set); static List<Long> indexes(final MutableBitSet bits); List<G> getObjects(); List<M> getAttributes(); BinaryRelation getRelation(); List decodeExtent(final Concept concept); List decodeIntent(final Concept concept); @Override String toString();  }
@Test public void testDecodeIntent() { MutableBitSet all = bits(0, 1, 2, 3, 4, 5, 6); assertEquals(context.decodeIntent(new Concept(all, bits())), list()); assertEquals(context.decodeIntent(new Concept(all, bits(0))), list("a")); assertEquals(context.decodeIntent(new Concept(all, bits(1, 2))), list("b", "c")); exception.expect(java.lang.IndexOutOfBoundsException.class); context.decodeIntent(new Concept(all, bits(7))); }