list.java

来自「用Java实现的23个常用设计模式源代码」· Java 代码 · 共 30 行

JAVA
30
字号
//$Id: List.java,v 1.7.2.2 2003/11/09 01:46:25 oneovthafew Exp $package net.sf.hibernate.mapping;import net.sf.hibernate.type.PersistentCollectionType;import net.sf.hibernate.type.TypeFactory;/** * A list mapping has a primary key consisting of * the key columns + index column. * @author Gavin King */public class List extends IndexedCollection {		public List(PersistentClass owner) {		super(owner);	}	public PersistentCollectionType getCollectionType() {		return TypeFactory.list( getRole() );	}	}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?