@Test public void testClearTempi() { final FrameBodySYTC body = new FrameBodySYTC(); body.addTempo(10, 0); body.addTempo(5, 0); body.addTempo(5, 1); body.addTempo(11, 400); body.clearTempi(); final Map<Long, Integer> timingCodes = body.getTempi(); Assert.assertTrue(timingCodes.isEmpty()); }
public void clearTempi() { ((List<EventTimingCode>)getObjectValue(DataTypes.OBJ_SYNCHRONISED_TEMPO_LIST)).clear(); }
FrameBodySYTC extends AbstractID3v2FrameBody implements ID3v24FrameBody, ID3v23FrameBody { public void clearTempi() { ((List<EventTimingCode>)getObjectValue(DataTypes.OBJ_SYNCHRONISED_TEMPO_LIST)).clear(); } }
FrameBodySYTC extends AbstractID3v2FrameBody implements ID3v24FrameBody, ID3v23FrameBody { public void clearTempi() { ((List<EventTimingCode>)getObjectValue(DataTypes.OBJ_SYNCHRONISED_TEMPO_LIST)).clear(); } FrameBodySYTC();  FrameBodySYTC(final int timestampFormat, final byte[] tempo);  FrameBodySYTC(final ByteBuffer byteBuffer, final int frameSize);  FrameBodySYTC(final Buffer byteBuffer, final int frameSize);  FrameBodySYTC(final FrameBodySYTC body); }
FrameBodySYTC extends AbstractID3v2FrameBody implements ID3v24FrameBody, ID3v23FrameBody { public void clearTempi() { ((List<EventTimingCode>)getObjectValue(DataTypes.OBJ_SYNCHRONISED_TEMPO_LIST)).clear(); } FrameBodySYTC();  FrameBodySYTC(final int timestampFormat, final byte[] tempo);  FrameBodySYTC(final ByteBuffer byteBuffer, final int frameSize);  FrameBodySYTC(final Buffer byteBuffer, final int frameSize);  FrameBodySYTC(final FrameBodySYTC body); int getTimestampFormat(); void setTimestampFormat(final int timestampFormat); Map<Long, Integer> getTempi(); List<Long> getTimestamps(); void addTempo(final long timestamp, final int tempo); boolean removeTempo(final long timestamp); void clearTempi(); @Override String getIdentifier(); @Override void read(final ByteBuffer byteBuffer); }
FrameBodySYTC extends AbstractID3v2FrameBody implements ID3v24FrameBody, ID3v23FrameBody { public void clearTempi() { ((List<EventTimingCode>)getObjectValue(DataTypes.OBJ_SYNCHRONISED_TEMPO_LIST)).clear(); } FrameBodySYTC();  FrameBodySYTC(final int timestampFormat, final byte[] tempo);  FrameBodySYTC(final ByteBuffer byteBuffer, final int frameSize);  FrameBodySYTC(final Buffer byteBuffer, final int frameSize);  FrameBodySYTC(final FrameBodySYTC body); int getTimestampFormat(); void setTimestampFormat(final int timestampFormat); Map<Long, Integer> getTempi(); List<Long> getTimestamps(); void addTempo(final long timestamp, final int tempo); boolean removeTempo(final long timestamp); void clearTempi(); @Override String getIdentifier(); @Override void read(final ByteBuffer byteBuffer); static final int MPEG_FRAMES; static final int MILLISECONDS; }