Comments (2)
It's legal to add an element where index == size():
IndexOutOfBoundsException - if the index is out of range (index < 0 || index > size())
That's what we're doing if the child's depth indicates that it should be positioned last.
Are you seeing an OOB exception in real code?
from playn.
This is most probably my bad, you are right. I've seen this exception but
it's probably something to do with my code base, cause I can't reproduce
this anymore. This is really a false alarm.
On Wed, Dec 7, 2011 at 11:37 AM, Michael Bayne <
[email protected]
wrote:
It's legal to add an element where index == size():
IndexOutOfBoundsException - if the index is out of range (index < 0 ||
index > size())That's what we're doing if the child's depth indicates that it should be
positioned last.Are you seeing an OOB exception in real code?
Reply to this email directly or view it on GitHub:
#4 (comment)
from playn.
Related Issues (20)
- Raspberry Pi support (and others ARM devices too) HOT 6
- Layer.setScale(0) blows up in hit testing HOT 1
- JavaStorage is volatile HOT 2
- Automatically publish snapshots HOT 1
- GroupLayer.addListener not working? HOT 2
- Resizable window on java version? HOT 3
- gamepad support? HOT 12
- Error: uniform variables in vertex shader do not fit
- Initialize platform components lazily HOT 2
- Getting started still points at Google code site HOT 3
- Vivante GPU rendering problem
- Shutdown GLView completely HOT 1
- foreground color not working anymore using Canvas.fillText HOT 2
- NullPointerException using PlayN.net().get(url,callback) API HOT 5
- addBarrier behaves different in Java and HTML
- No documentation provided HOT 2
- Support for GIF Animations HOT 2
- Detecting keyboard modifiers (Shift, Alt, Ctrl, etc) HOT 1
- Can no longer build using Maven HOT 1
- [bug] invokes toString on an array HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playn.