public static NodeSequence emptySequence ( final int width ) { assert width >= 0 ; return new NodeSequence ( ) { @ Override public int width ( ) { return width ; } @ Override public Batch nextBatch ( ) { return null ; } @ Override public long getRowCount ( ) { return 0 ; } @ Override public boolean isEmpty ( ) { return true ; } @ Override public void close ( ) { } @ Override public String toString ( ) { return "(empty-sequence width=" + width ( ) + ")" ; } } ; }
Get an empty node sequence .