1 /* 2 * Copyright (C) 2009 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package data; 18 19 import org.w3c.dom.css.Rect; 20 21 import java.io.InputStream; 22 import java.util.ArrayList; 23 import java.util.List; 24 import java.util.Map; 25 import java.util.Set; 26 27 /** 28 * 29 */ 30 public class TestTemplateClass<T extends InputStream, U> { 31 32 private final Map<T, U> mMap_T_U = null; 33 34 public Map<ArrayList<T>, Map<String, ArrayList<U>>> mMap_T_S_U = null; 35 TestTemplateClass()36 public TestTemplateClass() { 37 } 38 getMap_T_U()39 public Map<T, U> getMap_T_U() { 40 return mMap_T_U; 41 } 42 getMap_T_S_U()43 public Map<ArrayList<T>, Map<String, ArrayList<U>>> getMap_T_S_U() { 44 return mMap_T_S_U; 45 } 46 draw(List<? extends Rect> shape)47 public void draw(List<? extends Rect> shape) { 48 } 49 sort(List<T> list)50 public static <T extends Comparable<? super T>> void sort(List<T> list) { 51 } 52 getMap(List<T> list, Map<T, U> tu, Map<X, Set<? super Y>> xy)53 public <X extends T, Y> void getMap(List<T> list, Map<T, U> tu, Map<X, Set<? super Y>> xy) { 54 } 55 } 56