public void add( short[] vals ) { synchronized( mutex ) { list.add( vals ); } } public void add( short[] vals, int offset, int length ) {
public void add( short[] vals, int offset, int length ) { synchronized( mutex ) { list.add( vals, offset, length ); } }
/** {@inheritDoc} */ public TShortList grep(TShortProcedure condition) { TShortList ret = new TShortLinkedList(); for (TShortLink l = head; got(l); l = l.getNext()) { if (condition.execute(l.getValue())) ret.add(l.getValue()); } return ret; }
/** {@inheritDoc} */ public TShortList inverseGrep(TShortProcedure condition) { TShortList ret = new TShortLinkedList(); for (TShortLink l = head; got(l); l = l.getNext()) { if (!condition.execute(l.getValue())) ret.add(l.getValue()); } return ret; }
@Override public void add( short[] vals ) { synchronized( mutex ) { list.add( vals ); } } @Override
@Override public void append(int value) { data.add((short) value); }
public void add( short[] vals ) { synchronized( mutex ) { list.add( vals ); } } public void add( short[] vals, int offset, int length ) {
@Override public void add( short[] vals, int offset, int length ) { synchronized( mutex ) { list.add( vals, offset, length ); } }
public void add( short[] vals ) { synchronized( mutex ) { list.add( vals ); } } public void add( short[] vals, int offset, int length ) {
public void add( short[] vals, int offset, int length ) { synchronized( mutex ) { list.add( vals, offset, length ); } }
public void add( short[] vals ) { synchronized( mutex ) { list.add( vals ); } } public void add( short[] vals, int offset, int length ) {
public void add( short[] vals, int offset, int length ) { synchronized( mutex ) { list.add( vals, offset, length ); } }
public void add( short[] vals, int offset, int length ) { synchronized( mutex ) { list.add( vals, offset, length ); } }
@Override public void read(Kryo kryo, Input input) { int columnSize = input.readInt(); int offset = input.readInt(); init(offset); for (int i = 0; i < columnSize; i++) this.data.add(input.readShort()); }
/** {@inheritDoc} */ @Override public TShortList inverseGrep(TShortProcedure condition) { TShortList ret = new TShortLinkedList(); for (TShortLink l = head; got(l); l = l.getNext()) { if (!condition.execute(l.getValue())) ret.add(l.getValue()); } return ret; }
/** {@inheritDoc} */ public TShortList grep(TShortProcedure condition) { TShortList ret = new TShortLinkedList(); for (TShortLink l = head; got(l); l = l.getNext()) { if (condition.execute(l.getValue())) ret.add(l.getValue()); } return ret; }
/** {@inheritDoc} */ public TShortList inverseGrep(TShortProcedure condition) { TShortList ret = new TShortLinkedList(); for (TShortLink l = head; got(l); l = l.getNext()) { if (!condition.execute(l.getValue())) ret.add(l.getValue()); } return ret; }
/** {@inheritDoc} */ @Override public TShortList grep(TShortProcedure condition) { TShortList ret = new TShortLinkedList(); for (TShortLink l = head; got(l); l = l.getNext()) { if (condition.execute(l.getValue())) ret.add(l.getValue()); } return ret; }