1 |
/* DynSequenceOperations.java -- |
/* DynSequenceOperations.java -- |
2 |
Copyright (C) 2005 Free Software Foundation, Inc. |
Copyright (C) 2005 Free Software Foundation, Inc. |
|
|
|
3 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
4 |
|
|
5 |
GNU Classpath is free software; you can redistribute it and/or modify |
GNU Classpath is free software; you can redistribute it and/or modify |
52 |
* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) |
* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) |
53 |
*/ |
*/ |
54 |
public interface DynSequenceOperations |
public interface DynSequenceOperations |
55 |
|
extends DynAnyOperations |
56 |
{ |
{ |
57 |
/** |
/** |
58 |
* Get the length of the sequence. |
* Get the length of the sequence. |
74 |
* @throws InvalidValue if this is a bounded sequence, and the size being set |
* @throws InvalidValue if this is a bounded sequence, and the size being set |
75 |
* exceeds the sequence bound. |
* exceeds the sequence bound. |
76 |
*/ |
*/ |
77 |
public void set_length(int length) throws InvalidValue; |
public void set_length(int length) |
78 |
|
throws InvalidValue; |
79 |
|
|
80 |
/** |
/** |
81 |
* Returns the array, containing the sequence elements. |
* Returns the array, containing the sequence elements. |
103 |
* @throws InvalidValue if this is a bounded sequence and the number of |
* @throws InvalidValue if this is a bounded sequence and the number of |
104 |
* elements in the passed array exceeds the sequence bound. |
* elements in the passed array exceeds the sequence bound. |
105 |
*/ |
*/ |
106 |
void set_elements_as_dyn_any(DynAny[] value) throws TypeMismatch, |
void set_elements_as_dyn_any(DynAny[] value) |
107 |
InvalidValue; |
throws TypeMismatch, InvalidValue; |
108 |
|
|
109 |
/** |
/** |
110 |
* Sets the sequence elements from the array. The length of the sequence is |
* Sets the sequence elements from the array. The length of the sequence is |
119 |
* @throws InvalidValue if this is a bounded sequence and the number of |
* @throws InvalidValue if this is a bounded sequence and the number of |
120 |
* elements in the passed array exceeds the sequence bound. |
* elements in the passed array exceeds the sequence bound. |
121 |
*/ |
*/ |
122 |
void set_elements(Any[] value) throws TypeMismatch, InvalidValue; |
void set_elements(Any[] value) |
123 |
|
throws TypeMismatch, InvalidValue; |
124 |
} |
} |