I hereby claim:
- I am erikhuizinga on github.
- I am erikhuizinga (https://keybase.io/erikhuizinga) on keybase.
- I have a public key ASAXnl_5gUu7v5WZzCpnYwSrQXJMMUnBxwXjUeyU5Ga8Jwo
To claim this, I am signing this object:
| package com.example; | |
| import com.google.common.collect.Lists; | |
| import java.util.List; | |
| import java.util.concurrent.atomic.AtomicBoolean; | |
| public class CopyOnWriteArrayListBehaviour { | |
| // Change this to a regular ArrayList to see what different behaviour the CopyOnWriteArrayList has |
| /* | |
| * Copyright (C) 2017 The Android Open Source Project & Erik Huizinga | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| % Demo of how to add data cursor labels to any point in a graph | |
| clear | |
| close all | |
| x = 1 : 10; | |
| y = randn(size(x)); | |
| f = figure; | |
| dcm = datacursormode(f); | |
| l = plot(x, y); |
I hereby claim:
To claim this, I am signing this object:
| %% Load data | |
| clear | |
| close all | |
| load fisheriris | |
| selection = 51:length(meas); | |
| length = meas(selection, 1); % sepal length |