public List<String> extractCashtags(final String text){
  if (text == null || text.length() == 0)   return Collections.emptyList();
  final ArrayList<String> extracted=new ArrayList<String>();
  for (  final Entity entity : extractCashtagsWithIndices(text)) {
    extracted.add(entity.value);
  }
  return extracted;
}

public List < String > extractCashtags ( final String text ) { if ( text == null || text . length ( ) == 0 ) return Collections . emptyList ( ) ; final ArrayList < String > extracted = new ArrayList < String > ( ) ; for ( final Entity entity : extractCashtagsWithIndices ( text ) ) { extracted . add ( entity . value ) ; } return extracted ; }
extract $ cashtag references from tweet text .
