Class Link

  • All Implemented Interfaces:
    java.lang.Comparable

    public class Link
    extends java.lang.Object
    implements java.lang.Comparable
    • Field Detail

      • i

        public int i
    • Constructor Detail

      • Link

        public Link()
      • Link

        public Link​(Vertex nt,
                    int ni)
    • Method Detail

      • compareTo

        public final int compareTo​(java.lang.Object o)
        Specified by:
        compareTo in interface java.lang.Comparable
      • lessThan

        public final boolean lessThan​(Link l)
      • lessThan

        public final boolean lessThan​(java.lang.Object r,
                                      java.lang.Object l)
      • lessEqualThan

        public final boolean lessEqualThan​(Link l)
      • greaterThan

        public final boolean greaterThan​(Link l)
      • greaterEqualThan

        public final boolean greaterEqualThan​(Link l)
      • equals

        public final boolean equals​(Link l)
      • notequals

        public final boolean notequals​(Link l)
      • elem

        public final Vertex elem()
      • get

        public final Vertex get()
      • index

        public final int index()
      • assign

        public final void assign​(Link in)