< prev index next > test/hotspot/jtreg/gc/stress/gcbasher/ByteCursor.java
Print this page
/*
! * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
/*
! * Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
package gc.stress.gcbasher;
class ByteCursor {
private int offset;
! private byte[] data;
! public ByteCursor(byte[] data) {
this.offset = 0;
this.data = data;
}
public int getOffset() {
package gc.stress.gcbasher;
class ByteCursor {
private int offset;
! private Byte[] data;
! public ByteCursor(Byte[] data) {
this.offset = 0;
this.data = data;
}
public int getOffset() {
< prev index next >