Class QuadPattern

  • All Implemented Interfaces:
    java.lang.Iterable<Quad>

    public class QuadPattern
    extends java.lang.Object
    implements java.lang.Iterable<Quad>
    A class whose purpose is to give a name to a collection of quads
    • Constructor Detail

      • QuadPattern

        public QuadPattern()
      • QuadPattern

        public QuadPattern​(QuadPattern other)
    • Method Detail

      • add

        public void add​(Quad q)
      • add

        public void add​(int i,
                        Quad q)
      • get

        public Quad get​(int i)
      • iterator

        public java.util.ListIterator<Quad> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<Quad>
      • size

        public int size()
      • isEmpty

        public boolean isEmpty()
      • getList

        public java.util.List<Quad> getList()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object