public void addEnding(int endingId) {
		int count = 1;
		if (endingFrequency.get(endingId) != null)
			count = endingFrequency.get(endingId) + 1;
		endingFrequency.put(endingId, count);
	}
public void addEnding(int endingId) {
		int count = 1;
		if (endingFrequency.get(endingId) != null)
			count = endingFrequency.get(endingId) + 1;
		endingFrequency.put(endingId, count);
	}
public void addEnding ( int endingId ) { int count = 1 ; if ( endingFrequency . get ( endingId ) != null ) count = endingFrequency . get ( endingId ) + 1 ; endingFrequency . put ( endingId , count ) ; }
Add one occurrence of one ending.
@param endingId	ending identifier.
Add one occurrence of one ending .