blob: f4e73bbf890537148649770065274aef109e3289 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/*
* Copyright (c) 2003, Mishkin Berteig and Christian Gruber
*
* $Id: Dimension.java 260 2005-05-15 13:08:53Z cgruber $
*/
package net.israfil.foundation.collections.nspace;
import java.util.Collection;
import java.util.Set;
/**
* A named set of positions within an nspace
*
* @author <a href="mailto:mishkin@berteig.com">Mishkin Berteig</a>
* @author <a href="mailto:cgruber@israfil.net">Christian Gruber</a>
* @version $Revision: 260 $
*/
public interface Dimension extends Set<String> {
/**
* Returns the name of the position
* @return String
*/
public String getName();
void getWithNSpace(NSpace space);
void abandonNSpace(NSpace space);
void getWithNSpaces(Collection<NSpace> spaces);
void abandonNSpaces(Collection<NSpace> spaces);
public Dimension addPosition(String s);
public Dimension deletePosition(String s);
}
|