Context { public static <G extends PartiallyOrdered<?>> Context antichain(final List<G> set) { return new Context(set, set, new Equal()); } 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 testAntichain() { Context antichain = Context.antichain(ABC); assertEquals(antichain.getObjects(), ABC); assertEquals(antichain.getAttributes(), ABC); assertTrue(antichain.getRelation() instanceof Equal); ConceptLattice lattice = antichain.asConceptLattice(new TinkerGraph()); assertEquals(lattice.size(), 5); assertEquals(lattice.top(), new Concept(bits(), bits(0, 1, 2))); assertEquals(lattice.bottom(), new Concept(bits(0, 1, 2), bits())); }