@@ -0,0 +1,1509 @@
+// Copyright 2019 Google LLC%0A//%0A// Licensed under the Apache License, Version 2.0 (the %22License%22);%0A// you may not use this file except in compliance with the License.%0A// You may obtain a copy of the License at%0A//%0A//     https://www.apache.org/licenses/LICENSE-2.0%0A//%0A// Unless required by applicable law or agreed to in writing, software%0A// distributed under the License is distributed on an %22AS IS%22 BASIS,%0A// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A// See the License for the specific language governing permissions and%0A// limitations under the License.%0A%0Apackage com.google.sps.data;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Apublic final class InternalTags %7B%0A  private final List%3CString%3E INTERNAL_TAGS = new ArrayList%3CString%3E();%0A  private final String DEFAULT_TAG = %22#general%22;%0A  private final void setTags() %7B%0A    INTERNAL_TAGS.add(DEFAULT_TAG);%0A    INTERNAL_TAGS.add(%22#business%22);%0A    INTERNAL_TAGS.add(%22#education%22);%0A    INTERNAL_TAGS.add(%22#games%22);%0A    INTERNAL_TAGS.add(%22#music%22);%0A    INTERNAL_TAGS.add(%22#wellbeing%22);%0A  %7D%0A%0A  public final boolean tagIsSupported(BlogMessage message) %7B%0A    for (String internalTag : INTERNAL_TAGS) %7B%0A      if (message.getTag().equals(internalTag))%7B%0A        return true;%0A      %7D%0A    %7D%0A    return false;%0A  %7D%0A%0A  // For check in DataServlet%0A  public String defaultTag()%7B%0A    return DEFAULT_TAG;%0A  %7D%0A  %0A  public InternalTags() %7B%0A    setTags();%0A  %7D%0A%0A  // TODO:%0A  //    Create hashMap for Internal tags for search in constant time.%0A%0A%7D

add internal tag class to build internalTag system